/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
html {
  scroll-behavior: smooth;
}

:root {
  /* ── Cool / Blue palette ── */
  --clr-navy:         #0E2F52;
  --clr-blue-dark:    #1E5C96;
  --clr-blue:         #3A8FD4;
  --clr-blue-light:   #87CEEB;
  --clr-blue-pale:    #EAF4FB;

  /* ── Warm / Gold palette ── */
  --clr-brown:        #3D3530;
  --clr-gold:         #C8A45A;
  --clr-warm-gray:    #B8A898;
  --clr-warm-light:   #E8E0D4;
  --clr-warm-pale:    #F5F2ED;

  /* ── Gray ── */
  --clr-gray:         #D9D9D9;

  /* ── Base ── */
  --clr-white:        #FFFFFF;
  --clr-black:        #000000;
}





.scrolled .page_top_btn{
	display:none!important;
}




/*フッターまでスクロールしたら消す*/
.is-hidden {
  visibility: hidden;
  opacity: 0;
}







/*******************************
上記に加えて、画面サイドにpaddingをなくす
********************************/
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl{
	padding-right:0!important;
	padding-left:0!important;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  width: 100% !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}








/**********************************************************************************************************
 共通CSS　（common）  ここから
***********************************************************************************************************/
/* ========================================
   共通アニメーション
   ======================================== */

/* --- 下からふわっとフェードイン --- */
.fade_up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade_up.is_visible {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延バリエーション（タイトル＋サブタイトルのずらし用） */
.fade_up_d1 {
  transition-delay: 0.15s;
}
.fade_up_d2 {
  transition-delay: 0.3s;
}








/**********************************************************************************************************
 共通CSS　（common）  ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 m_fixedbar  ここから
***********************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@400;700&display=swap');

/* ========================================
   m_fixedbar — 固定下部バー
   ======================================== */

.m_fixedbar_wrap *,
.m_fixedbar_wrap *::before,
.m_fixedbar_wrap *::after {
  box-sizing: border-box;
}

/* ----------------------------------------
   Wrap
   ---------------------------------------- */
.m_fixedbar_wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 250;
  height: 80px;
  background: var(--clr-blue);
  display: none;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.m_fixedbar_wrap.is_visible {
  transform: translateY(0);
}
@media (max-width: 767px) {
  .m_fixedbar_wrap {
    height: 64px;
  }
}

/* ========================================
   PC レイアウト（768px以上）
   ======================================== */

.m_fixedbar_pc {
  display: block;
  height: 100%;
}
@media (max-width: 767px) {
  .m_fixedbar_pc {
    display: none;
  }
}

.m_fixedbar_inner {
  display: flex;
  align-items: center;
  justify-content:space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 40px;
}
@media (max-width: 1199px) {
  .m_fixedbar_inner {
    padding: 0 24px;
    gap: 24px;
  }
}

/* ---- 左：ブランド ---- */

.m_fixedbar_brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
@media (max-width: 1199px) {
  .m_fixedbar_brand {
    display: none;
  }
}

.m_fixedbar_logo {
  width: 51px;
  height: 51px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.m_fixedbar_company {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.m_fixedbar_company_name {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.2em;
  margin: 0;
  white-space: nowrap;
  line-height: 1.3;
}

.m_fixedbar_tagline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--clr-white);
  margin: 0;
  white-space: nowrap;
  line-height: 1.3;
  opacity: 0.8;
}

/* ---- 中央：電話 ---- */

.m_fixedbar_tel_section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
}

.m_fixedbar_tel_top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m_fixedbar_tel_label {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-white);
  white-space: nowrap;
  line-height: 1.3;
}
@media (max-width: 1199px) {
  .m_fixedbar_tel_label {
    font-size: 15px;
  }
}

.m_fixedbar_tel_badge {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #ffff00;
  border: 1px solid #ffff00;
  border-radius: 5px;
  padding: 2px 8px;
  white-space: nowrap;
  line-height: 1.4;
}
@media (max-width: 1199px) {
  .m_fixedbar_tel_badge {
    font-size: 11px;
    padding: 2px 6px;
  }
}

.m_fixedbar_tel_bottom {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m_fixedbar_tel_icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
@media (max-width: 1199px) {
  .m_fixedbar_tel_icon {
    width: 28px;
    height: 28px;
  }
}

.m_fixedbar_tel_number {
  font-family: 'Noto Serif JP', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--clr-white);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
@media (max-width: 1199px) {
  .m_fixedbar_tel_number {
    font-size: 30px;
  }
}
.m_fixedbar_tel_number:hover {
  opacity: 0.8;
}

/* ---- 右：CTAボタン ---- */

.m_fixedbar_cta {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 70px;
  padding: 0 28px;
/*   margin-left: auto; */
  border: 1px solid var(--clr-white);
  border-radius: 5px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s;
}
@media (max-width: 1199px) {
  .m_fixedbar_cta {
    height: 60px;
    padding: 0 20px;
  }
}
.m_fixedbar_cta:hover {
  background: rgba(255, 255, 255, 0.12);
}

.m_fixedbar_cta_main {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-white);
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 1199px) {
  .m_fixedbar_cta_main {
    font-size: 22px;
  }
}

.m_fixedbar_cta_sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--clr-white);
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 1199px) {
  .m_fixedbar_cta_sub {
    font-size: 15px;
  }
}

/* ========================================
   SP レイアウト（767px以下）
   ======================================== */

.m_fixedbar_sp {
  display: none;
  height: 100%;
}
@media (max-width: 767px) {
  .m_fixedbar_sp {
    display: flex;
  }
}

/* ---- 左：電話ボタン ---- */

.m_fixedbar_sp_tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
  height: 100%;
  background: var(--clr-gold);
  text-decoration: none;
  padding: 0 12px;
  transition: opacity 0.2s;
}
.m_fixedbar_sp_tel:hover {
  opacity: 0.9;
}

.m_fixedbar_sp_tel_icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  transform: translateY(5px);
}

.m_fixedbar_sp_tel_text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m_fixedbar_sp_tel_label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.m_fixedbar_sp_contact_label__br {
	display:none;
}

.m_fixedbar_sp_tel_number {
  font-family: 'Noto Serif JP', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.05em;
  line-height: 1.1;
  white-space: nowrap;
}

/* ---- 右：相談ボタン ---- */

.m_fixedbar_sp_contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  background: var(--clr-navy);
  text-decoration: none;
  padding: 0 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transition: opacity 0.2s;
}
.m_fixedbar_sp_contact:hover {
  opacity: 0.9;
}

.m_fixedbar_sp_contact_label {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.5;
}


/**********************************************************************************************************
 m_fixedbar  ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 m_header  ここから
***********************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');

/* ========================================
   Header
   ======================================== */

.m_header_wrap *,
.m_header_wrap *::before,
.m_header_wrap *::after {
  box-sizing: border-box;
}



/* ----------------------------------------
   Wrapper
   ---------------------------------------- */
.m_header_wrap {
  width: 100%;
  background: var(--clr-white);
  position: relative;
  z-index: 100;
}
@media (max-width: 767px) {
  .m_header_wrap {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
  }
}

/* ----------------------------------------
   Upper section
   ---------------------------------------- */
.m_header_upper {
  width: 100%;
}
@media (max-width: 780px) {
.m_header_upper {
  margin-top:0;
}
}


.m_header_inner {
  display: flex;
  align-items: center;
  padding: 0 40px 0 30px;
}
@media (max-width: 1199px) {
  .m_header_inner {
    padding: 0 16px;
    height: 72px;
    justify-content: space-between;
  }
}


@media (max-width: 1199px) {
  .m_header_inner__op{
    padding: 0 16px;
    height: 72px;
	background-color:#fff;
  }
}
/* --- Logo + Company Info --- */
.m_header_logo_area {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 1199px) {
  .m_header_logo_area {
    gap: 10px;
  }
}

.m_header_logo_img {
  width: 99px;
  height: 99px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 1199px) {
  .m_header_logo_img {
    width: 52px;
    height: 52px;
  }
}

.m_header_company_info {
  display: flex;
  flex-direction: column;
}

.m_header_company_name {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-black);
  margin: 0;
  white-space: nowrap;
  line-height: 1.2;
}
@media (max-width: 1199px) {
  .m_header_company_name {
    font-size: 14px;
    white-space: normal;
    line-height: 1.4;
    max-width: 210px;
  }
}
@media (max-width: 480px) {
  .m_header_company_name {
    font-size: 14px;
    max-width: 300px;
  }
}

.m_header_tagline {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-black);
  margin: 22px 0 0;
  white-space: nowrap;
  line-height: 1.2;
}
@media (max-width: 1199px) {
  .m_header_tagline {
    font-size: 11px;
    margin-top: 4px;
  }
}
@media (max-width: 480px) {
  .m_header_tagline {
    font-size: 10px;
  }
}

/* --- Right: Phone + CTA --- */
.m_header_right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
@media (max-width: 1199px) {
  .m_header_right {
    display: none;
  }
}

.m_header_tel_group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.m_header_tel_note {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-black);
  white-space: nowrap;
  margin-bottom: 6px;
  display: block;
}

.m_header_tel_row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m_header_tel_icon {
  width: 51px;
  height: 51px;
  object-fit: contain;
}

.m_header_tel_number {
  font-family: 'Noto Serif JP', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--clr-blue);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.m_header_tel_number:hover {
  opacity: 0.8;
}

.m_header_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 297px;
  height: 62px;
  background: var(--clr-blue);
  color: var(--clr-white);
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.m_header_cta:hover {
  opacity: 0.85;
  color:#fff;
}

/* --- PC Navigation --- */
.m_header_nav {
  width: 100%;
  background: var(--clr-white);
  box-shadow: 1px 1px rgba(0, 0, 0, 0.10);
}
@media (max-width: 1199px) {
  .m_header_nav {
    display: none;
  }
}

.m_header_nav.is_sticky {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  animation: m_header_slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes m_header_slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.m_header_nav_list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  height: 54px;
}

.m_header_nav_item {
  display: flex;
  align-items: center;
  height: 46px;
}

.m_header_nav_item + .m_header_nav_item::before {
  content: '';
  display: block;
  width: 1px;
  height: 46px;
  background: var(--clr-black);
  flex-shrink: 0;
}

.m_header_nav_link {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-black);
  text-decoration: none;
  white-space: nowrap;
  padding: 0 18px;
  transition: color 0.2s;
}
.m_header_nav_link:hover {
  color: var(--clr-blue);
}

/* --- Hamburger button --- */
.m_header_hamburger {
  display: none;
}
@media (max-width: 1199px) {
  .m_header_hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
  }
}
@media (max-width: 767px) {
  .m_header_hamburger {
    position: fixed;
    top: 15px;
    right: 16px;
    z-index: 200;
   
    border-radius: 6px;
    backdrop-filter: blur(4px);
  }
}

.m_header_hamburger_bar {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--clr-brown);
  border-radius: 1px;
  transition: opacity 0.2s;
}
@media (max-width: 1199px) {
  .m_header_hamburger:hover .m_header_hamburger_bar {
    opacity: 0.6;
  }
}

/* ========================================
   Overlay
   ======================================== */
.m_header_overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
  opacity: 0;
  transition: opacity 0.3s;
}
.m_header_overlay.is_open {
  display: block;
  opacity: 1;
}

/* ========================================
   Drawer
   ======================================== */
.m_header_drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: var(--clr-white);
  z-index: 400;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
@media (max-width: 480px) {
  .m_header_drawer {
    width: 100%;
  }
}

.m_header_drawer.is_open {
  transform: translateX(0);
}

.m_header_drawer_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--clr-warm-light);
}

.m_header_drawer_logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.m_header_drawer_logo_img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.m_header_drawer_company {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-black);
  line-height: 1.4;
}

.m_header_close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-shrink: 0;
  position: relative;
}

.m_header_close_bar {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--clr-brown);
  border-radius: 1px;
  position: absolute;
  transition: transform 0.2s;
}
.m_header_close_bar:nth-child(1) {
  transform: rotate(45deg);
}
.m_header_close_bar:nth-child(2) {
  transform: rotate(-45deg);
}

.m_header_drawer_nav {
  padding: 8px 0;
  border-bottom: 1px solid var(--clr-warm-light);
}

.m_header_drawer_nav_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.m_header_drawer_nav_item {
  border-bottom: 1px solid var(--clr-warm-pale);
}

.m_header_drawer_nav_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-brown);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.m_header_drawer_nav_link::after {
  content: '＞';
  font-size: 13px;
  color: var(--clr-blue);
}
.m_header_drawer_nav_link:hover {
  background: var(--clr-blue-pale);
  color: var(--clr-blue);
}

.m_header_drawer_contact {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.m_header_drawer_tel_note {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-warm-gray);
  text-align: center;
  display: block;
  margin-bottom: 4px;
}

.m_header_drawer_tel_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.m_header_drawer_tel_icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.m_header_drawer_tel_number {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-blue);
  line-height: 1;
  white-space: nowrap;
}
.m_header_drawer_tel_row:hover .m_header_drawer_tel_number {
  opacity: 0.8;
}

.m_header_drawer_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: var(--clr-blue);
  color: var(--clr-white);
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.m_header_drawer_cta:hover {
  opacity: 0.85;
}

/**********************************************************************************************************
 m_header  ここまで
***********************************************************************************************************/
/**********************************************************************************************************
 m_footer  ここから
***********************************************************************************************************/
/* ========================================
   m_footer — フッター
   ======================================== */

.m_footer_wrap {
  background: var(--clr-blue-pale);
  padding: 50px 20px 20px;
  margin-bottom:70px;
}

/* ---- 内側コンテナ ---- */

.m_footer_inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
@media (max-width: 1150px) {
  .m_footer_inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
}

/* ---- 左：会社情報 ---- */

.m_footer_col_l {
  flex: 0 0 auto;
}

.m_footer_logo_row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 48px;
}
@media (max-width: 767px) {
  .m_footer_logo_row {
    margin-bottom: 24px;
  }
}

.m_footer_logo_img {
  flex-shrink: 0;
  width: 51px;
  height: 51px;
  object-fit: contain;
}

.m_footer_company {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m_footer_company_name {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-black);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .m_footer_company_name {
    font-size: 18px;
    white-space: normal;
  }
}

.m_footer_company_tagline {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-black);
  margin: 0;
}
@media (max-width: 767px) {
  .m_footer_company_tagline {
    font-size: 14px;
  }
}

.m_footer_address {
  font-style: normal;
  padding-left: 62px;
}
@media (max-width: 767px) {
  .m_footer_address {
    padding-left: 0;
  }
}

.m_footer_address p {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-black);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 767px) {
  .m_footer_address p {
    font-size: 14px;
  }
}

/* ---- 中：ナビゲーション ---- */

.m_footer_nav {
  flex: 1;
  display: flex;
  gap: 40px;
  justify-content: center;
}
@media (max-width: 767px) {
  .m_footer_nav {
    gap: 32px;
    justify-content: flex-start;
  }
}

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

.m_footer_nav_link {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-black);
  text-decoration: none;
  transition: color 0.2s;
}
.m_footer_nav_link:hover {
  color: var(--clr-blue);
}
@media (max-width: 767px) {
  .m_footer_nav_link {
    font-size: 14px;
  }
}

/* ---- 右：電話・CTA ---- */

.m_footer_col_r {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 1150px) and (max-width: 1348px) {
.m_footer_col_r {
  transform:translateX(-10px)!important;
}
}
@media (min-width: 1150px) and (max-width: 1320px) {
.m_footer_col_r {
  transform:translateX(-45px)!important;
}
}



.m_footer_tel_sub {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-black);
  text-align: center;
  margin: 0 0 6px;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .m_footer_tel_sub {
    font-size: 13px;
    white-space: normal;
  }
}

.m_footer_tel_row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.m_footer_tel_icon {
  flex-shrink: 0;
  width: 51px;
  height: 51px;
  object-fit: contain;
  filter: brightness(0) invert(50%) sepia(1) saturate(430%) hue-rotate(168deg) brightness(0.92);
}
@media (max-width: 767px) {
  .m_footer_tel_icon {
    width: 40px;
    height: 40px;
  }
}

.m_footer_tel_num {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--clr-blue);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.m_footer_tel_num:hover {
  opacity: 0.8;
}
@media (max-width: 767px) {
  .m_footer_tel_num {
    font-size: 32px;
  }
}

.m_footer_cta_btn {
  display: block;
  width: 297px;
  height: 62px;
  line-height: 62px;
  background: var(--clr-blue);
  border-radius: 5px;
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-white);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}
.m_footer_cta_btn:hover {
  background: var(--clr-blue-dark);
}
@media (max-width: 767px) {
  .m_footer_cta_btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ---- コピーライト ---- */

.m_footer_copy {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-navy);
  text-align: center;
  margin: 24px 0 0;
}
@media (max-width: 767px) {
  .m_footer_copy {
    font-size: 13px;
    margin-top: 20px;
  }
}

/**********************************************************************************************************
 m_footer  ここまで
***********************************************************************************************************/





/**********************************************************************************************************
 top_kv  ここから
***********************************************************************************************************/

  .top_kv_char {
    display: inline-block;
    opacity: 0;
    animation: top_kv_char_in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

  @keyframes top_kv_char_in {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }






/* ========================================
   top_kv — Key Visual
   ======================================== */

.top_kv_wrap *,
.top_kv_wrap *::before,
.top_kv_wrap *::after {
  box-sizing: border-box;
}

/* ----------------------------------------
   Wrapper
   ---------------------------------------- */
.top_kv_wrap {
  position: relative;
  width: 100%;
  height: calc(100vh - 154px);
  overflow: hidden;
}
@media (max-width: 1199px) {
  .top_kv_wrap {
    height: 560px;
  }
}
@media (max-width: 767px) {
  .top_kv_wrap {
    height: 100vh;
  }
}

/* ----------------------------------------
   Background image
   ---------------------------------------- */
.top_kv_bg_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ----------------------------------------
   Headline content
   ---------------------------------------- */
.top_kv_content {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  pointer-events: none;
}
@media (max-width: 767px) {
  .top_kv_content {
    top: 20%;
    left: 4.3%;
    transform: none;
    width: 91.5%;
    max-width: none;
    background: none;
    pointer-events: auto;
  }
}

.top_kv_headline {
  padding-top: 144px;
}

@media (min-width: 780px )and (max-height: 700px) {
  .top_kv_headline {
    padding-top: 80px;
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 780px )and (max-height: 620px) {
  .top_kv_headline {
    padding-top: 40px;
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 780px )and (max-height: 580px) {
  .top_kv_headline {
    padding-top: 10px;
    padding-left: 32px;
    padding-right: 32px;
  }
}



/* @media (max-width: 1199px) {
  .top_kv_headline {
    padding-top: 80px;
    padding-left: 32px;
    padding-right: 32px;
  }
} */
@media (max-width: 767px) {
  .top_kv_headline {
    padding: 0;
    text-align: left;
  }
}

.top_kv_main_text {
  font-family: 'Noto Serif JP', serif;
  font-size: 50px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
  text-shadow:1px 1px 5px #fff;
}
@media (max-width: 1199px) {
  .top_kv_main_text {
    font-size: 36px;
  }
}
@media (max-width: 767px) {
  .top_kv_main_text {
    font-size: 24px;
    line-height: 50px;
    letter-spacing: 0.1em;
  }
}

.top_kv_sub_line {
  display: block;
}

.top_kv_sub_text {
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  font-weight: 700;
  color: var(--clr-black);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin: 46px 0 0;
}
@media (max-width: 1199px) {
  .top_kv_sub_text {
    font-size: 18px;
    margin-top: 28px;
  }
}
@media (max-width: 767px) {
  .top_kv_sub_text {
    font-size: 14px;
    color: var(--clr-navy);
    letter-spacing: 0.1em;
    line-height: 25px;
    margin-top: 17px;
  }
}

/* SP専用 改行 */
.top_kv_br_sp {
  display: none;
}
@media (max-width: 767px) {
  .top_kv_br_sp {
    display: inline;
  }
}

/* ----------------------------------------
   Tel CTA（SP only）
   ---------------------------------------- */
.top_kv_tel_box {
  display: none;
}
@media (max-width: 767px) {
  .top_kv_tel_box {
    display: none;

  }
}

.top_kv_tel_circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 37% 31%, var(--clr-gold) 0%, rgba(98, 80, 44, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top_kv_tel_circle_text {
  font-family: 'Noto Serif JP', serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--clr-white);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.top_kv_tel_info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.top_kv_tel_note_sp {
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--clr-navy);
  letter-spacing: 0.06em;
  display: block;
}

.top_kv_tel_row_sp {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

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

.top_kv_tel_number_sp {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--clr-blue);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.05em;
}

/* ----------------------------------------
   Features bar
   ---------------------------------------- */
.top_kv_features {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100%);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 5px;
}

@media (max-width: 767px) {
  .top_kv_features {
    bottom: 50px;
    left: 0;
    top: auto;
    transform: none;
    width: 100%;
    background: transparent;
    overflow: hidden;
    padding-bottom: 32px;
    border-radius: 0;
  }
}
@media (min-width: 780px )and (max-height: 800px) {
  .top_kv_features {
    bottom: 10px;
 
  }
}




.top_kv_features_inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 120px;
  padding: 0 20px;
}
@media (max-width: 1199px) {
  .top_kv_features_inner {
    height: 110px;
  }
}
@media (max-width: 767px) {
  .top_kv_features_inner {
    flex-direction: row;
    width: 300%;
    height: 80px;
    padding: 0;
    gap: 0;
    justify-content: flex-start;
    align-items: stretch;
  }
}




/* @media screen and (max-height: 800px) {
.top_kv_features_inner {
  display: none;
}
} */


.top_kv_feature_item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}
@media (max-width: 767px) {
  .top_kv_feature_item {
    width: calc(100% / 3);
    flex: 0 0 calc(100% / 3);
    height: 80px;
    gap: 16px;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.93);
    justify-content: flex-start;
    align-items: center;
    border-left: none;
  }
}

.top_kv_feature_item + .top_kv_feature_item {
  border-left: 1px solid var(--clr-warm-light);
}
@media (max-width: 767px) {
  .top_kv_feature_item + .top_kv_feature_item {
    border-left: none;
  }
}

.top_kv_feature_icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 1199px) {
  .top_kv_feature_icon {
    width: 48px;
    height: 48px;
  }
}
@media (max-width: 767px) {
  .top_kv_feature_icon {
    width: 44px;
    height: 44px;
  }
}

.top_kv_feature_body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 767px) {
  .top_kv_feature_body {
    gap: 4px;
  }
}

.top_kv_feature_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--clr-black);
  letter-spacing: 0.2em;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 1199px) {
  .top_kv_feature_title {
    font-size: 22px;
  }
}
@media (max-width: 767px) {
  .top_kv_feature_title {
    font-size: 18px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
}

.top_kv_feature_title--sm {
  font-size: 24px;
  letter-spacing: 0.2em;
}
@media (max-width: 1199px) {
  .top_kv_feature_title--sm {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  .top_kv_feature_title--sm {
    font-size: 15px;
    letter-spacing: 0.05em;
  }
}

.top_kv_feature_desc {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--clr-black);
  letter-spacing: 0.1em;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 1199px) {
  .top_kv_feature_desc {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .top_kv_feature_desc {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
}

/* ---- スライダーラベル（SP only） ---- */

.top_kv_features_label {
  display: none;
}
@media (max-width: 767px) {
  .top_kv_features_label {
    display: block;
    width: fit-content;
    margin: 0 auto 6px;
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--clr-navy);
    letter-spacing: 0.2em;
    background: rgba(255, 255, 255, 0.88);
    padding: 5px 24px;
    border-radius: 20px;
  }
}

/* ---- スライダードット（JSで生成） ---- */

.top_kv_feature_dots {
  display: none;
}
@media (max-width: 767px) {
  .top_kv_feature_dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
  }
}

.top_kv_feature_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.top_kv_feature_dot.is_active {
  background: var(--clr-white);
  transform: scale(1.3);
}
/**********************************************************************************************************
 top_kv  ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 top_plan  ここから
***********************************************************************************************************/

/* ========================================
   top_plan — プランセクション
   ======================================== */

.top_plan_wrap *,
.top_plan_wrap *::before,
.top_plan_wrap *::after {
  box-sizing: border-box;
}

/* ----------------------------------------
   Section wrapper
   ---------------------------------------- */
.top_plan_wrap {
  width: 100%;
  background: var(--clr-white);
  padding: 80px 0 100px;
}

@media (max-width: 767px) {
  .top_plan_wrap {
    padding: 51px 16px 50px;
  }
}

.top_plan_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 767px) {
  .top_plan_inner {
    padding: 0;
  }
}

/* ----------------------------------------
   Section title
   ---------------------------------------- */
.top_plan_head {
  text-align: center;
  margin-bottom: 66px;
}

@media (max-width: 767px) {
  .top_plan_head {
    margin-bottom: 34px;
    
  }
}

.top_plan_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}

@media (max-width: 767px) {
  .top_plan_title {
    font-size: 24px;
    margin-bottom: 10px;
  }
}

.top_plan_subtitle {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.1em;
  margin: 0;
}

@media (max-width: 767px) {
  .top_plan_subtitle {
    font-size: 14px;
  }
}

/* ----------------------------------------
   Cards container
   ---------------------------------------- */
.top_plan_cards {
  display: flex;
  gap: 17px;
  align-items: stretch;
}

@media (max-width: 767px) {
  .top_plan_cards {
    flex-direction: column;
    gap: 30px;
    padding: 0;
  }
}

/* ----------------------------------------
   Card
   ---------------------------------------- */
.top_plan_card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--clr-blue-pale);
  padding-bottom: 40px;
  border-radius: 5px;
  box-shadow: 1px 1px 5px #ccc;
}

@media (max-width: 767px) {
  .top_plan_card {
    padding-bottom: 20px;
  }
}

/* ---- Card head (title + desc) ---- */
.top_plan_card_head {
  padding: 46px 18px 0;
  text-align: center;
}

@media (max-width: 767px) {
  .top_plan_card_head {
    padding: 20px 11px 0;
    text-align: left;
  }
}

.top_plan_card_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  margin: 0 0 28px;
}

@media (max-width: 767px) {
  .top_plan_card_title {
    font-size: 20px;
    margin-bottom: 11px;
  }
}

.top_plan_card_desc {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.05em;
  line-height: 1.44;
  margin: 0;
  text-align: left;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .top_plan_card_desc {
    font-size: 14px;
    line-height: 1.2;
  }
}

.top_plan_card_desc_wrap {
  display: flex;
  justify-content: center;
}

/* ---- Card body (image + content) ---- */
.top_plan_card_body {
  flex: 1;
  margin-top: 29px;
}

@media (max-width: 767px) {
  .top_plan_card_body {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 0 11px;
	flex-direction:column;
  }
}

/* ---- Image ---- */
.top_plan_card_img_wrap {
  padding: 0 18px;

}

@media (max-width: 767px) {
  .top_plan_card_img_wrap {
    flex: 0 0 125px;
    padding: 0;
  }
}

.top_plan_card_img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
  border-radius: 5px;
}

@media (max-width: 767px) {
  .top_plan_card_img {
    width: 100%;
    height: 250px;
    
  }
}

/* ---- Content (price + features) ---- */
.top_plan_card_content {
  padding: 0 18px;
}

@media (max-width: 767px) {
  .top_plan_card_content {
    flex: 1;
    padding: 0;
  }
}

/* ---- Price group ---- */
.top_plan_card_price_group {
  margin-top: 20px;
  text-align: center;
}

@media (max-width: 767px) {
  .top_plan_card_price_group {
    margin-top: 0;
    text-align: left;
  }
}

.top_plan_card_price_row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

@media (max-width: 767px) {
  .top_plan_card_price_row {
    justify-content: flex-start;
  }
}

.top_plan_card_price_num {
  font-family: 'Noto Serif JP', serif;
  font-size: 50px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.05em;
  line-height: 1;
}

@media (max-width: 767px) {
  .top_plan_card_price_num {
    font-size: 30px;
  }
}

.top_plan_card_price_suffix {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 6px;
}

@media (max-width: 767px) {
  .top_plan_card_price_suffix {
    padding-bottom: 0;
	flex-direction:row-reverse;
	align-items:flex-end;
  }
}

.top_plan_card_price_tax {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  line-height: 1.44;
}

@media (max-width: 767px) {
  .top_plan_card_price_tax {
    font-size: 12px;
  }
}

.top_plan_card_price_yen {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  line-height: 1.44;
}

@media (max-width: 767px) {
  .top_plan_card_price_yen {
    font-size: 16px;
  }
}

.top_plan_card_note {
  display: block;
  text-align: left;
  margin: 20px 0 0;
}
.top_plan_card_note span {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.05em;
  line-height: 1.44;
  display: inline;
  background: linear-gradient(rgba(200, 164, 90, 0.45), rgba(200, 164, 90, 0.45)) no-repeat left bottom;
  background-size: 0% 45%;
}
@media (max-width: 767px) {
  .top_plan_card_note span {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .top_plan_card_note {
    font-size: 10px;
    text-align: left;
    margin-top: 4px;
  }
}

/* ---- Features list ---- */
.top_plan_card_features {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  align-items: start;
  justify-content: center;
  width: 100%;
}

.top_plan_card_feature__sub{
	position:relative;
	margin-bottom:20px;
}
.top_plan_card_feature__sub::after{
	content:"(※ 宗派をお選びいただけません)";
	position:absolute;
	top:23px;
	left:20px;
	font-size:16px;
	width:300px;
}
@media screen and (max-width: 780px) {
.top_plan_card_feature__sub::after{
	content:"(※ 宗派をお選びいただけません)";
	position:absolute;
	top:18px;
	font-size:12px;
}
}

@media (max-width: 767px) {
  .top_plan_card_features {
    align-items: flex-start;
    margin-top: 10px;
    gap: 3px;
  }
}

.top_plan_card_feature {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top_plan_card_feature::before {
  content: '✓';
  color: var(--clr-blue);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .top_plan_card_feature {
    font-size: 14px;
    gap: 6px;
  }
}

/* ---- Button ---- */
.top_plan_card_btn {
  display: block;
  width: 279px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: var(--clr-white);
  color: var(--clr-navy);
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  margin: 28px auto 0;
  transition: opacity 0.2s;
  border-radius: 5px;
}

.top_plan_card_btn:hover {
  opacity: 0.8;
}

.top_plan_card_btn_arrow {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.top_plan_card_btn:hover .top_plan_card_btn_arrow {
  transform: translateX(6px);
}

@media (max-width: 767px) {
  .top_plan_card_btn {
    margin-top: 16px;
  }
}

/**********************************************************************************************************
 top_plan  ここまで
***********************************************************************************************************/


/**********************************************************************************************************
 top_バナー  ここから
***********************************************************************************************************/
/* ============================================================
   top_appeal — アピールバナーセクション
   PC: 見出し + 本文(左) + ボタン(右) / 背景画像全幅
   ============================================================ */

.top_appeal {
  position: relative;
  padding: 36px 0 28px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .top_appeal {
    padding: 32px 20px;
  }
}

/* ---- 背景画像 ---- */
.top_appeal_bg {
  position: absolute;
  inset: 0;
  background: url(https://rise1-hp2.heteml.net/client20/sora/wp-content/uploads/2026/06/top_appeal_bg.webp) center / cover no-repeat;
}
.top_appeal_bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.50);
}

/* ---- 内側コンテナ ---- */
.top_appeal_inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .top_appeal_inner {
    padding: 0;
  }
}

/* ---- コンテンツ全体 ---- */
.top_appeal_content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---- 見出し ---- */
.top_appeal_heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 0;
  text-shadow: 1px 1px 5px #ccc; 
  text-align:center;
}
@media (max-width: 767px) {
  .top_appeal_heading {
    font-size: 18px;
  }
}

.top_appeal_bottom__wrapper{
	display:flex;
	gap:10px;
	justify-content:space-between;
	align-items:center;
}
@media screen and (max-width: 780px) {
.top_appeal_bottom__wrapper{
	flex-direction:column;
}
}


/* ---- 下段（本文＋ボタン）---- */
.top_appeal_bottom {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 767px) {
  .top_appeal_bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ---- 本文 ---- */
.top_appeal_desc {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  text-shadow: 1px 1px 1px #fff;

}
@media (max-width: 767px) {
  .top_appeal_desc {
    font-size: 14px;
  }
}

/* ---- ボタン ---- */
.top_appeal_btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 279px;
  height: 50px;
  border: 1px solid var(--clr-blue);
  border-radius: 3px;
  background: var(--clr-white);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.top_appeal_btn:hover {
  background: var(--clr-blue);
  color: var(--clr-white);
}

.top_appeal_btn_arrow {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.top_appeal_btn:hover .top_appeal_btn_arrow {
  transform: translateX(6px);
}
@media (max-width: 767px) {
  .top_appeal_btn {
    width: 100%;
    height: 44px;
    font-size: 14px;
  }
}

/**********************************************************************************************************
 top_バナー  ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 top_about  ここから
***********************************************************************************************************/


/* ========================================
   top_about — 僧侶が送るお葬式をあの人に
   ======================================== */

.top_about_wrap {
  background: var(--clr-white);
  padding: 109px 0 60px;
}
@media (max-width: 767px) {
  .top_about_wrap {
    padding: 50px 0 60px;
  }
}

.top_about_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .top_about_inner {
    padding: 0;
  }
}

/* ---- Section Title ---- */

.top_about_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.44;
  margin: 0 0 42px!important;
}
@media (max-width: 767px) {
  .top_about_title {
    font-size: 22px;
    margin: 0 0 28px;
    padding: 0 16px;
  }
}

/* ---- Main Content ---- */

.top_about_main {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  .top_about_main {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }
}

.top_about_main_img_wrap {
  flex-shrink: 0;
  width: 462px;
}
@media (max-width: 767px) {
  .top_about_main_img_wrap {
    width: 100%;
  }
}

.top_about_main_img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}
@media (max-width: 767px) {
  .top_about_main_img {
    border-radius: 0;
  }
}

.top_about_main_body {
  flex: 1;
  padding-top: 42px;
}
@media (max-width: 767px) {
  .top_about_main_body {
    padding: 24px 16px 0;
  }
}

.top_about_main_text {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.1em;
  line-height: 1.44;
  margin: 0 0 18px;
}
@media (max-width: 767px) {
  .top_about_main_text {
    font-family: 'Noto Serif JP', sans-serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.6;
  }
}

.top_about_main_rep {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.1em;
  line-height: 1.44;
  text-align: right;
  margin: 0;
}
@media (max-width: 767px) {
  .top_about_main_rep {
    font-family: 'Noto Serif JP', sans-serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.2;
  }
}

/* ---- Feature Cards ---- */

.top_about_features {
  display: flex;
  border: 1px solid color-mix(in srgb, var(--clr-blue) 50%, transparent);
  border-radius: 5px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .top_about_features {
    flex-direction: column;
    border: none;
    border-radius: 0;
    margin-top: 40px;
  }
}

.top_about_feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 20px;
}
@media (max-width: 767px) {
  .top_about_feature {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--clr-blue) 50%, transparent);
  }
}

.top_about_feature + .top_about_feature {
  border-left: 1px solid color-mix(in srgb, var(--clr-blue) 50%, transparent);
}
@media (max-width: 767px) {
  .top_about_feature + .top_about_feature {
    border-left: none;
  }
}

.top_about_feature_icon_wrap {
  width: 100%;
  height: 134px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .top_about_feature_icon_wrap {
    width: 89px;
    height: 89px;
    flex-shrink: 0;
  }
}

.top_about_feature_icon {
  display: block;
  max-width: 100%;
  max-height: 134px;
  width: auto;
  height: auto;
  filter: brightness(0) invert(50%) sepia(1) saturate(430%) hue-rotate(168deg) brightness(0.92);
}
@media (max-width: 767px) {
  .top_about_feature_icon {
    max-height: 89px;
    max-width: 89px;
    filter: brightness(0) invert(50%) sepia(1) saturate(430%) hue-rotate(168deg) brightness(0.92);
  }
}

.top_about_feature_body {
  flex: 1;
  text-align: center;
}
@media (max-width: 767px) {
  .top_about_feature_body {
    text-align: left;
  }
}

/* カード全体: Noto Serif JP */
.top_about_feature_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.1em;
  line-height: 1.44;
  margin: 0 0 8px;
}
@media (max-width: 767px) {
  .top_about_feature_title {
    font-size: 16px;
    margin: 0 0 6px;
  }
}

.top_about_feature_desc {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-navy);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin: 0;
  text-align: start;
}
@media (max-width: 767px) {
  .top_about_feature_desc {
    font-size: 14px;
  }
}

/**********************************************************************************************************
 top_about  ここまで
***********************************************************************************************************/
/**********************************************************************************************************
 top_about 02 ここから
***********************************************************************************************************/
/* ============================================================
   service.css — ベントーギャラリーセクション
   ============================================================ */

/* ── セクション ── */

.service {
  background: var(--clr-white);
  overflow: hidden;
}

/* ── ヘッダー ── */

.service_header {
  text-align: center;
  padding: 72px 0 40px;
}
@media (max-width: 767px) {
  .service_header {
    padding: 48px 0 28px;
  }
}

.service_label {
  font-size: 13px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue);
  letter-spacing: 0.25em;
  margin: 0 0 12px;
  line-height: 1;
}
@media (max-width: 767px) {
  .service_label {
    font-size: 11px;
    margin-bottom: 8px;
  }
}

.service_heading {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue);
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.1em;
}
@media (max-width: 767px) {
  .service_heading {
    font-size: 24px;
  }
}

/* ── ギャラリーラッパー（スクロールピン対象） ── */

.service_wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 767px) {
  .service_wrap {
    height: auto;
    padding: 0 12px 48px;
  }
}

/* ── ベントーグリッド（初期状態：コンパクト） ── */

.service_gallery {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, 30vw);
  grid-template-rows: repeat(4, 21vh);
  justify-content: center;
  align-content: center;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  .service_gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 40vw);
    height: auto;
  }
}

/* ── ベントーグリッド（展開後状態） ── */

.service_gallery--final {
  grid-template-columns: repeat(3, 60vw);
  grid-template-rows: repeat(4, 30vh);
  gap: 6px;
}

/* ── 各アイテム ── */

.service_item {
  overflow: hidden;
  background: var(--clr-blue-dark);
}

.service_item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .service_item:hover img {
    transform: scale(1.04);
  }
}

/* ── グリッドエリア（PC のみ適用） ── */

@media (min-width: 768px) {
  .service_item:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
  .service_item:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
  .service_item:nth-child(3) { grid-area: 2 / 2 / 4 / 3; }
  .service_item:nth-child(4) { grid-area: 1 / 3 / 3 / 4; }
  .service_item:nth-child(5) { grid-area: 3 / 1 / 4 / 2; }
  .service_item:nth-child(6) { grid-area: 3 / 3 / 5 / 4; }
  .service_item:nth-child(7) { grid-area: 4 / 1 / 5 / 2; }
  .service_item:nth-child(8) { grid-area: 4 / 2 / 5 / 3; }
}

/* ── SP：通常グリッド（grid-area リセット） ── */

@media (max-width: 767px) {
  .service_item:nth-child(1),
  .service_item:nth-child(2),
  .service_item:nth-child(3),
  .service_item:nth-child(4),
  .service_item:nth-child(5),
  .service_item:nth-child(6),
  .service_item:nth-child(7),
  .service_item:nth-child(8) {
    grid-area: auto;
  }
}

/* ============================================================
   代表ご挨拶セクション
   ============================================================ */

.service_message {
  background: var(--clr-white);
  padding: 100px 0;
}
@media (max-width: 767px) {
  .service_message {
    padding: 64px 0;
  }
}

.service_message_inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  gap: 72px;
}
@media (max-width: 767px) {
  .service_message_inner {
    flex-direction: column-reverse;
    gap: 32px;
    padding: 0 20px;
  }
}

.service_message_text {
  flex: 1;
  min-width: 0;
}

.service_message_label {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue);
  letter-spacing: 0.25em;
  margin: 0 0 12px;
  line-height: 1;
}

.service_message_heading {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  margin: 0 0 32px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--clr-blue-pale);
}
@media (max-width: 767px) {
  .service_message_heading {
    font-size: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
  }
}

.service_message_body {
  font-size: 16px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  line-height: 2.2;
  margin: 0 0 20px;
}
@media (max-width: 767px) {
  .service_message_body {
    font-size: 14px;
    margin-bottom: 16px;
  }
}

.service_message_sign {
  font-size: 15px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  line-height: 1.8;
  margin: 36px 0 0;
  text-align: right;
}
@media (max-width: 767px) {
  .service_message_sign {
    font-size: 13px;
    margin-top: 24px;
  }
}

.service_message_sign_name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
@media (max-width: 767px) {
  .service_message_sign_name {
    font-size: 17px;
  }
}

.service_message_photo {
  flex: 0 0 420px;
  transform: translateY(40%);
}
@media (max-width: 767px) {
  .service_message_photo {
    flex: none;
    width: 100%;
  }
}

.service_message_img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  background: var(--clr-blue-pale);
  border-radius: 5px;
}

/* ============================================================
   会社概要セクション
   ============================================================ */

.service_info {
  background: var(--clr-blue-pale);
  padding: 100px 0;
}
@media (max-width: 767px) {
  .service_info {
    padding: 64px 0;
  }
}

.service_info_inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 767px) {
  .service_info_inner {
    padding: 0 20px;
  }
}

.service_info_label {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue);
  letter-spacing: 0.25em;
  margin: 0 0 12px;
  line-height: 1;
  text-align: center;
}

.service_info_heading {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  margin: 0 0 48px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
}
@media (max-width: 767px) {
  .service_info_heading {
    font-size: 24px;
    margin-bottom: 32px;
  }
}

.service_info_table {
  width: 100%;
  border-collapse: collapse;
}

.service_info_tr {
  border-bottom: 1px solid var(--clr-blue-pale);
}

.service_info_th {
  width: 160px;
  padding: 20px 24px 20px 0;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  vertical-align: top;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .service_info_th {
    display: block;
    width: 100%;
    padding: 16px 0 4px;
    font-size: 13px;
  }
}

.service_info_td {
  padding: 20px 0;
  font-size: 15px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  line-height: 1.8;
  vertical-align: top;
}
@media (max-width: 767px) {
  .service_info_td {
    display: block;
    padding: 0 0 16px;
    font-size: 14px;
  }
}

.service_info_tel {
  color: var(--clr-blue-dark);
  font-weight: 700;
  text-decoration: none;
}
.service_info_tel:hover {
  text-decoration: underline;
}


/**********************************************************************************************************
 top_about 02 ここまで
***********************************************************************************************************/



/**********************************************************************************************************
 top_cta  ここから
***********************************************************************************************************/
/* ========================================
   top_cta — まずはお気軽にご相談ください
   ======================================== */

.top_cta_wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 315px;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}
@media (max-width: 767px) {
  .top_cta_wrap {
    min-height: auto;
    padding: 50px 20px;
  }
}

/* ---- 背景画像 ---- */

.top_cta_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ---- 白半透明オーバーレイ ---- */

.top_cta_overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--clr-white) 50%, transparent);
  z-index: 1;
}

/* ---- コンテンツ ---- */

.top_cta_inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
}

/* ---- タイトル ---- */

.top_cta_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue-dark);
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin: 0 0 16px;
}
@media (max-width: 767px) {
  .top_cta_title {
    font-size: 20px;
    margin: 0 0 12px;
  }
}

/* ---- サブテキスト ---- */

.top_cta_sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin: 20px 0 20px;
}

.top_cta_sub_hl {
  display: inline;
  background: linear-gradient(
    color-mix(in srgb, var(--clr-gold) 45%, transparent),
    color-mix(in srgb, var(--clr-gold) 45%, transparent)
  ) no-repeat left bottom;
  background-size: 0% 45%;
}
@media (max-width: 767px) {
  .top_cta_sub {
    font-size: 13px;
    margin: 0 0 16px;
  }
}

/* ---- 電話番号エリア ---- */

.top_cta_tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.top_cta_tel_row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.top_cta_tel_icon {
  display: block;
  width: 51px;
  height: 51px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .top_cta_tel_icon {
    width: 36px;
    height: 36px;
  }
}

.top_cta_tel_num {
  font-family: 'Noto Serif JP', serif;
  font-size: 50px;
  font-weight: 700;
  color: var(--clr-blue-dark);
  letter-spacing: 0.05em;
  line-height: 1.44;
}
@media (max-width: 767px) {
  .top_cta_tel_num {
    font-size: 32px;
  }
}

.top_cta_tel_hours {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-black);
  letter-spacing: 0.05em;
  margin: 0;
}
@media (max-width: 767px) {
  .top_cta_tel_hours {
    font-size: 14px;
  }
}

/**********************************************************************************************************
 top_cta  ここまで
***********************************************************************************************************/
/* ========================================
   top_flow — ご葬儀の流れ
   ======================================== */

.top_flow_wrap {
  background: var(--clr-white);
  padding: 109px 0 80px;
}
@media (max-width: 767px) {
  .top_flow_wrap {
    padding: 60px 0 60px;
  }
}

.top_flow_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .top_flow_inner {
    padding: 0 16px;
  }
}

/* ---- Section Title ---- */

.top_flow_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.44;
  margin: 0 0 20px;
}
@media (max-width: 767px) {
  .top_flow_title {
    font-size: 22px;
    margin: 0 0 16px;
  }
}

/* ---- Sub Text ---- */

.top_flow_sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-black);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.75;
  margin: 0 0 60px;
}
@media (max-width: 767px) {
  .top_flow_sub {
    font-size: 14px;
    text-align: left;
    margin: 0 0 40px;
  }
}

/* ---- Steps Container ---- */

.top_flow_steps {
  position: relative;
  /* 7ステップ: 6 * 420 + 609 = 3129px */
  height: 3129px;
}
@media (max-width: 767px) {
  .top_flow_steps {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
}

/* ---- Step Item ---- */

.top_flow_step {
  position: absolute;
  width: calc(700 / 1200 * 100%); /* 58.33% */
  z-index: 1; /* JS で中央カードが z-index:10 になる */
  transition: z-index 0s; /* 即時切替 */
}
@media (max-width: 767px) {
  .top_flow_step {
    position: static;
    width: 100%;
  }
}

.top_flow_step--right {
  right: 0;
}
@media (max-width: 767px) {
  .top_flow_step--right {
    right: auto;
  }
}

.top_flow_step--left {
  left: 0;
}

/* 各ステップの縦位置（420px おきにジグザグ） */
.top_flow_step:nth-child(1) { top: 0; }
.top_flow_step:nth-child(2) { top: 420px; }
.top_flow_step:nth-child(3) { top: 840px; }
.top_flow_step:nth-child(4) { top: 1260px; }
.top_flow_step:nth-child(5) { top: 1680px; }
.top_flow_step:nth-child(6) { top: 2100px; }
.top_flow_step:nth-child(7) { top: 2520px; }
@media (max-width: 767px) {
  .top_flow_step:nth-child(n) { top: auto; }
}

/* ---- Card ---- */

.top_flow_card {
  position: relative;
  background: var(--clr-blue-pale);
  border: 1px solid var(--clr-blue);
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 700 / 609;
}

@media (min-width: 780px) and (max-height: 800px) {
.top_flow_card {
  height:80vh;
}
}



/* ---- Card Image ---- */

.top_flow_card_img {
  position: absolute;
  inset: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* ---- Gradient Overlay (白→透明: Figmaマスク handle[0]y=16%〜handle[1]y=61%) ---- */

.top_flow_card_gradient {
  position: absolute;
  inset: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 16%,
    rgba(255, 255, 255, 0) 61%
  );
  pointer-events: none;
  z-index: 2;
}

/* ---- Card Title ---- */

.top_flow_card_title {
  position: absolute;
  top: 7.4%; /* ≈ 45px / 609px */
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  line-height: 1.44;
  z-index: 3;
}
@media (max-width: 767px) {
  .top_flow_card_title {
    font-size: 20px;
    top: 6%;
  }
}

/* ---- Card Description Box ---- */

.top_flow_card_desc {
  position: absolute;
  bottom: 6.4%; /* ≈ 39px / 609px */
  left: 2.3%; /* ≈ 16px / 700px */
  right: 2.3%;
  background: var(--clr-white);
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  z-index: 3;
  border-radius: 10px;
}
@media (max-width: 767px) {
  .top_flow_card_desc {
    bottom: 5%;
    left: 16px;
    right: 16px;
    min-height: 72px;
    padding: 12px 14px;
  }
}

.top_flow_card_desc_text {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 767px) {
  .top_flow_card_desc_text {
    font-size: 13px;
  }
}

/* ---- Scroll Indicator (PC only) ---- */

.top_flow_indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--clr-blue);
  color: var(--clr-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 20;
  pointer-events: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 3px var(--clr-white);
  will-change: transform;
  opacity: 0; /* JS で位置確定後に表示 */
}
@media (max-width: 767px) {
  .top_flow_indicator {
    display: none;
  }
}

.top_flow_indicator_label {
  font-family: 'Noto Serif JP', serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.top_flow_indicator_num {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

/**********************************************************************************************************
 top_flow  ここから
***********************************************************************************************************/



/**********************************************************************************************************
 top_flow  ここまで
***********************************************************************************************************/





/**********************************************************************************************************
 top_voice  ここから
***********************************************************************************************************/
/* ========================================
   top_voice — お客様の声
   ======================================== */

.top_voice_wrap {
  background: var(--clr-blue-pale);
  padding: 110px 0 60px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .top_voice_wrap {
    padding: 50px 0 50px;
  }
}

.top_voice_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .top_voice_inner {
    padding: 0 16px;
  }
}

/* ---- セクションタイトル ---- */

.top_voice_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  text-align: center;
  letter-spacing: 0.1em;
  margin: 0 0 42px!important;
}
@media (max-width: 767px) {
  .top_voice_title {
    font-size: 22px;
    margin: 0 0 28px;
  }
}

/* ---- スライダー ---- */

.top_voice_slider {
  overflow: visible;
  width: 100%;
  margin-bottom: 60px;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.top_voice_slider:active {
  cursor: grabbing;
}
@media (max-width: 767px) {
  .top_voice_slider {
    margin-bottom: 40px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  }
}

.top_voice_track {
  display: flex;
  flex-wrap: nowrap;
  gap: 48px;
  width: max-content;
  will-change: transform;
  padding: 24px 0 28px; /* スケールアップ分の上下余白 */
}
@media (max-width: 767px) {
  .top_voice_track {
    gap: 16px;
  }
}

/* ---- 各カード ---- */

.top_voice_card {
  width: 368px;
  flex-shrink: 0;
  background: var(--clr-white);
  border: 1px solid var(--clr-blue);
  border-radius: 5px;
  padding: 22px 23px 22px 27px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
@media (max-width: 767px) {
  .top_voice_card {
    width: 85vw;
    padding: 16px;
    gap: 12px;
  }
}

/* ---- カードヘッダー ---- */

.top_voice_card_head {
  display: flex;
  align-items: center;
  gap: 21px;
}

.top_voice_card_avatar {
  display: block;
  width: 63px;
  height: 63px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
@media (max-width: 767px) {
  .top_voice_card_avatar {
    width: 50px;
    height: 50px;
  }
}

.top_voice_card_meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.top_voice_card_name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin: 0;
}
@media (max-width: 767px) {
  .top_voice_card_name {
    font-size: 14px;
  }
}

.top_voice_card_stars {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-gold);
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin: 0;
}
@media (max-width: 767px) {
  .top_voice_card_stars {
    font-size: 14px;
  }
}

/* ---- カード本文 ---- */

.top_voice_card_text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 767px) {
  .top_voice_card_text {
    font-size: 14px;
  }
}

/* ---- もっと見るボタン ---- */

.top_voice_btn_wrap {
  text-align: center;
}

.top_voice_btn {
  display: inline-block;
  width: 279px;
  height: 50px;
  line-height: 50px;
  background: var(--clr-white);
  border: 1px solid var(--clr-blue);
  border-radius: 3px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.top_voice_btn:hover {
  background: var(--clr-blue);
  color: var(--clr-white);
}
@media (max-width: 767px) {
  .top_voice_btn {
    width: 100%;
    max-width: 279px;
    font-size: 14px;
  }
}


/**********************************************************************************************************
 top_voice  ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 top_fqa  ここから
***********************************************************************************************************/
/* ========================================
   top_faq — よくある質問
   ======================================== */

.top_faq_wrap {
  background: var(--clr-white);
  padding: 110px 0 90px;
}
@media (max-width: 767px) {
  .top_faq_wrap {
    padding: 50px 0 60px;
  }
}

.top_faq_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .top_faq_inner {
    padding: 0 16px;
  }
}

/* ---- セクションタイトル ---- */

.top_faq_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  text-align: center;
  letter-spacing: 0.1em;
  margin: 0 0 52px!important;
}
@media (max-width: 767px) {
  .top_faq_title {
    font-size: 22px;
    margin: 0 0 32px;
  }
}

/* ---- FAQリスト ---- */

.top_faq_list {
  margin: 0 0 60px;
  padding: 0;
}
@media (max-width: 767px) {
  .top_faq_list {
    margin: 0 0 40px;
  }
}

/* ---- 各アイテム ---- */

.top_faq_item {
  border-top: 1px solid var(--clr-blue);
}
.top_faq_item:last-child {
  border-bottom: 1px solid var(--clr-blue);
}

/* ---- Q行 ---- */

.top_faq_q {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.top_faq_q::-webkit-details-marker {
  display: none;
}
@media (max-width: 767px) {
  .top_faq_q {
    gap: 12px;
    padding: 14px 0;
  }
}

.top_faq_q_mark {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
@media (max-width: 767px) {
  .top_faq_q_mark {
    font-size: 22px;
    width: 22px;
  }
}

.top_faq_q_text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.1em;
  line-height: 1.6;
  flex: 1;
}
@media (max-width: 767px) {
  .top_faq_q_text {
    font-size: 14px;
  }
}

/* ---- シェブロン（▼） ---- */

.top_faq_chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--clr-blue);
  border-bottom: 2px solid var(--clr-blue);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-right: 4px;
  margin-top: -4px;
}
.top_faq_item.is_open .top_faq_chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

/* ---- A行（アコーディオン） ---- */

.top_faq_a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.top_faq_a[hidden] {
  display: block;
  max-height: 0;
}
.top_faq_item.is_open .top_faq_a {
  max-height: 300px;
}

.top_faq_a_inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 4px 0 20px;
  border-top: 1px solid var(--clr-warm-light);
}
@media (max-width: 767px) {
  .top_faq_a_inner {
    gap: 12px;
    padding: 4px 0 16px;
  }
}

.top_faq_a_mark {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-gold);
  letter-spacing: 0.1em;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  padding-top: 2px;
}
@media (max-width: 767px) {
  .top_faq_a_mark {
    font-size: 22px;
    width: 22px;
  }
}

.top_faq_a_text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--clr-navy);
  letter-spacing: 0.05em;
  line-height: 1.9;
  margin: 0;
  flex: 1;
}
@media (max-width: 767px) {
  .top_faq_a_text {
    font-size: 13px;
  }
}

/* ---- もっと見るボタン ---- */

.top_faq_btn_wrap {
     display: flex;
	 justify-content:center;
	 align-items:center;
}

.top_faq_btn {
  display: inline-block;
  width: 279px;
  height: 50px;
  line-height: 50px;
  background: var(--clr-white);
  border: 1px solid var(--clr-blue);
  border-radius: 3px;
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.top_faq_btn:hover {
  background: var(--clr-blue);
  color: var(--clr-white);
}
@media (max-width: 767px) {
  .top_faq_btn {
    width: 100%;
    max-width: 279px;
    font-size: 14px;
  }
}


/**********************************************************************************************************
 top_fqa  ここまで
***********************************************************************************************************/
/**********************************************************************************************************
 top_おもかげ  ここから
***********************************************************************************************************/
/* ========================================
   top_omokage — ペットセレモニー おもかげ
   ======================================== */

.top_omokage_wrap {
  position: relative;
  height: clamp(260px, calc(13vw + 160px), 315px);
  overflow: hidden;
}

@media (max-width: 767px) {
  .top_omokage_wrap {
    height: 647px;
  }
}
.top_omokage_wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.4); /* 数値を調整して濃さを変更 */
  pointer-events: none;
}



/* ---- 背景画像 ---- */

.top_omokage_bg_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ---- 3カラムレイアウト ---- */

.top_omokage_layout {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  z-index: 1;
}
@media (max-width: 767px) {
  .top_omokage_layout {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 52px 20px 0;
  }
}

/* ---- 左カラム：ペット写真 ---- */

.top_omokage_col_l {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(215px, calc(56vw - 215px), 550px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
@media (max-width: 767px) {
  .top_omokage_col_l {
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 146px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 55%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 55%);
  }
}
@media (max-width: 480px) {
  .top_omokage_col_l {
    width: 450px;
  }
}


.top_omokage_pet_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ---- 中カラム：テキスト ---- */

.top_omokage_col_c {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px;
}
@media (max-width: 767px) {
  .top_omokage_col_c {
    position: static;
    order: 1;
    width: 100%;
    padding: 0;
    gap: 16px;
    justify-content: flex-start;
  }
}

.top_omokage_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 45px;
  font-weight: 700;
  color: var(--clr-blue-dark);
  letter-spacing: 0.1em;
  line-height: 1.45;
  margin: 0;
  text-align: center;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.7);
}
@media (max-width: 767px) {
  .top_omokage_title {
    font-size: 30px;
  }
}

.top_omokage_sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.08em;
  line-height: 1.7;
  margin: 0;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.95);
}
@media (max-width: 767px) {
  .top_omokage_sub {
    font-size: 16px;
  }
}
@media  (max-width: 1420px) or (max-height: 800px) {
.top_omokage_sub {
  background-color:rgb(255,255,255,0.5);
  border-radius:50px;
  padding:8px 20px;
}
}




.top_omokage_btn {
  display: inline-block;
  width: 279px;
  height: 48px;
  line-height: 48px;
  background: var(--clr-white);
  border: 1px solid var(--clr-blue);
  border-radius: 3px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.top_omokage_btn:hover {
  background: var(--clr-blue);
  color: var(--clr-white);
}
@media (max-width: 767px) {
  .top_omokage_col_c .top_omokage_btn {
    display: none;
  }
}

/* ---- 右カラム：サービスフロー ---- */

.top_omokage_col_r {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 40px;
  transform: translateY(70px);
  z-index: 3;
  pointer-events: none;
}

.top_omokage_flow {
  pointer-events: auto;
}

@media screen and (min-width: 1400px) {
.top_omokage_col_r {
  transform: translate(-50px, 70px);

}
}
@media screen and (max-width: 1480px) {
.top_omokage_col_r {
  transform: translate(-25px, 103px);

}
}
@media (max-width: 767px) {
  .top_omokage_col_r {
    flex: 0 0 auto;
    order: 2;
    padding: 0;
    margin-top: 37px;
    align-items: center;
    justify-content: center;
    transform: none;
    z-index: auto;
  }
}

/* ---- 1325px以下でペット画像とフローを非表示（PC限定） ---- */

@media (min-width: 768px) and (max-width: 1325px) {
  .top_omokage_col_l,
  .top_omokage_col_r {
    display: none;
  }
}

.top_omokage_flow {
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  cursor: default;
}

/* ステップボックス */

.top_omokage_step {
  flex-shrink: 0;
  width: 39px;
  height: 110px;
  background: var(--clr-white);
  border: 1px dotted var(--clr-blue);
  border-radius: 50px;
  color: var(--clr-blue);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .top_omokage_step {
    width: 40px;
    height: 110px;
    border-radius: 50px;
    font-size: 16px;
  }
}

/* 矢印 */

.top_omokage_arrow {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 30px solid var(--clr-blue);
  margin: 0 5px 0 0;
}
@media (max-width: 767px) {
  .top_omokage_arrow {
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 31px solid var(--clr-blue);
    margin: 0 5px 0 0;
  }
}
@media (max-width: 480px) {
  .top_omokage_arrow {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid var(--clr-blue);
  }
}

/* または */

.top_omokage_or {
  flex-shrink: 0;
  width: 29px;
  height: 55px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .top_omokage_or {
    font-size: 16px;
    width: 30px;
    height: 55px;
  }
}

/* ---- SP専用：改行・ボタン ---- */

.top_omokage_sub_br {
  display: none;
}
@media (max-width: 767px) {
  .top_omokage_sub_br {
    display: inline;
  }
}

.top_omokage_btn_sp {
  display: none;
}
@media (max-width: 767px) {
  .top_omokage_btn_sp {
    display: inline-block;
    order: 3;
    margin-top: 34px;
  }
}



/**********************************************************************************************************
 top_おもかげ  ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 plan_プランコンテンツ　ここから
***********************************************************************************************************/
/* ============================================================
   plan.css — プランページ
   ============================================================ */

/* ── Wrap ── */
.plan_wrap {
  background: var(--clr-white);
}

/* ============================================================
   タブナビゲーション
   ============================================================ */

/* PC: 画面右固定の縦タブバー */
.plan_tabs_bar {
  background: var(--clr-white);
  position: fixed;
  top: 57%;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 500px;
  border-left: 1px solid var(--clr-blue-pale);
  z-index: 100;
  transform: translateY(-50%);
}
/* SP: 画面下固定の横タブバー */
@media (max-width: 767px) {
  .plan_tabs_bar {
    top: auto;
    left: 0;
    width: 100%;
    height: auto;        /* PC の height: 600px をリセット */
    transform: none;     /* PC の translateY(-50%) をリセット */
    bottom: 0;           /* 初期値：画面最下部 */
    border-left: none;
    border-top: 1px solid var(--clr-blue-pale);
    transition: bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }
}
/* m_fixedbar が出現したらタブバーを押し上げる */
@media (max-width: 767px) {
  body:has(.m_fixedbar_wrap.is_visible) .plan_tabs_bar {
    bottom: 64px;
  }
}

.plan_tabs_inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (max-width: 767px) {
  .plan_tabs_inner {
    flex-direction: row;
    height: auto;
  }
}

/* PC: 縦書きタブ */
.plan_tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  background: var(--clr-blue-pale);
  border: none;
  border-bottom: 1px solid var(--clr-white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
/* SP: 横書きタブ */
@media (max-width: 767px) {
  .plan_tab {
    writing-mode: horizontal-tb;
    height: 50px;
    font-size: 13px;
    padding: 0 8px;
    border-bottom: none;
    border-right: 1px solid var(--clr-white);
  }
}

/* PC: 最後のタブ下線なし */
.plan_tab:last-child {
  border-bottom: none;
}
/* SP: 最後のタブ右線なし */
@media (max-width: 767px) {
  .plan_tab:last-child {
    border-right: none;
  }
}

/* PC: アクティブ = 左ライン */
.plan_tab--active {
  background: var(--clr-white);
  color: var(--clr-blue-dark);
  box-shadow: inset 4px 0 0 var(--clr-blue);
}
/* SP: アクティブ = 上ライン */
@media (max-width: 767px) {
  .plan_tab--active {
    box-shadow: inset 0 4px 0 var(--clr-blue);
  }
}

@media (hover: hover) {
  .plan_tab:not(.plan_tab--active):hover {
    background: var(--clr-white);
    opacity: 0.8;
  }
}

/* ============================================================
   パネルコンテナ
   ============================================================ */

.plan_panels_wrap {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .plan_panels_wrap {
    max-width: 100%;
  }
}

/* パネル: ビューポート高さで固定表示（ScrollTrigger pin の対象） */
.plan_panel {
  display: block;
  height: 100vh; /* PC: 右タブバーは高さに影響しないので全高 */
  overflow: hidden;
}
@media (max-width: 767px) {
  .plan_panel {
    /* SP: plan_tabs_bar 51px + m_fixedbar 64px = 115px */
    height: calc(100vh - 115px);
  }
}

/* フェイクスクロール対象の内側ラッパー（高さ: auto = 全コンテンツ） */
.plan_panel_inner {
  /* 明示的な height 指定なし — JS が offsetHeight で計測 */
}

/* ============================================================
   パネル上部（白背景）
   ============================================================ */
.plan_panel_top {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 36px 40px 32px;
  background: var(--clr-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  border-top: solid 1px #ccc;
  margin-top: 60px;
}
.plan_panel_top__border-none{
  box-shadow: none;
}
/* ナビ固定バー（54px）分、コンテンツを下げる */
@media (min-width: 1200px) {
  .plan_panel_top {
    padding-top: 62px;
  }
}
@media (max-width: 767px) {
  .plan_panel_top {
    flex-direction: column;
    gap: 24px;
    padding: 65px 16px;
  }
}

/* 左側テキストエリア */
.plan_panel_left {
  flex: 1;
  min-width: 0;
}

.plan_panel_subtitle {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  margin: 0 0 8px;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .plan_panel_subtitle {
    font-size: 14px;
  }
}

.plan_panel_name {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  margin: 0 0 16px;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .plan_panel_name {
    font-size: 20px;
    margin-bottom: 12px;
  }
}

/* ── 価格ブロック ── */

.plan_price_block {
  margin-bottom: 28px;
}
@media (max-width: 767px) {
  .plan_price_block {
    margin-bottom: 20px;
  }
}

.plan_price_row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  line-height: 1;
}

.plan_price_num {
  font-size: 50px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue);
  line-height: 1;
}
@media (max-width: 767px) {
  .plan_price_num {
    font-size: 36px;
  }
}

.plan_price_suffix {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 4px;
  gap: 0;
}

.plan_price_tax {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue);
  line-height: 1.4;
}
@media (max-width: 767px) {
  .plan_price_tax {
    font-size: 13px;
  }
}

.plan_price_yen {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue);
  line-height: 1.3;
}
@media (max-width: 767px) {
  .plan_price_yen {
    font-size: 18px;
  }
}

.plan_price_note {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  margin: 8px 0 0;
}
@media (max-width: 767px) {
  .plan_price_note {
    font-size: 13px;
  }
}

/* ── 式の流れ ── */

.plan_flow {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 767px) {
  .plan_flow {
    padding: 0 0 0 8px;
  }
}

.plan_flow_inner {
  display: flex;
  gap: 5px;
  position: relative;
  z-index: 0;
  min-width: 360px;
}
@media (max-width: 767px) {
  .plan_flow_inner {
    min-width: 0;
    width: 100%;
  }
}

.plan_flow_inner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% / 18);
  right: calc(100% / 18);
  height: 8px;
  background: var(--clr-blue);
  transform: translateY(-50%);
  z-index: 0;
}
@media (max-width: 767px) {
  .plan_flow_inner::before {
    height: 6px;
  }
}

.plan_flow_step {
  flex: 1;
  min-width: 36px;
  min-height: 140px;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  border: 1px solid var(--clr-blue-pale);
  border-radius: 50px;
}
@media (max-width: 767px) {
  .plan_flow_step {
    min-height: 80px;
    min-width: 32px;
  }
}

.plan_flow_step span {
  writing-mode: vertical-rl;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  white-space: nowrap;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .plan_flow_step span {
    font-size: 12px;
  }
}

.plan_flow_step--off {
  z-index: -1;
  opacity: 1.0;
}

.plan_flow_step--off span {
  color: var(--clr-blue-pale);
}

/* 右側: 画像 */
.plan_panel_right {
  flex: 0 0 38%;
  max-width: 440px;
}
@media (max-width: 767px) {
  .plan_panel_right {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
}

.plan_panel_img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 436 / 241;
}

.plan_panel_img_note {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  margin: 6px 0 0;
  text-align: right;
}
@media (max-width: 767px) {
  .plan_panel_img_note {
    font-size: 12px;
  }
}

.plan_panel:first-child .plan_panel_top {
  border-top: none;
  
}

/* ============================================================
   パネル下部（青背景）
   ============================================================ */

.plan_panel_body {
  background: var(--clr-blue-pale);
  padding: 40px 40px 80px;
}
@media (max-width: 767px) {
  .plan_panel_body {
    padding: 28px 16px 64px;
  }
}

/* 説明テキスト */
.plan_desc_lead {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .plan_desc_lead {
    font-size: 16px;
  }
}

.plan_desc_sub {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  text-align: center;
  margin: 0 0 36px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .plan_desc_sub {
    font-size: 16px;
    margin-bottom: 24px;
  }
}

/* セクションタイトル */
.plan_section_ttl {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  margin: 0 0 20px;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .plan_section_ttl {
    font-size: 18px;
    margin-bottom: 14px;
  }
}

/* ============================================================
   アイテムグリッド（含まれるもの / オプション共通）
   ============================================================ */

.plan_items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 36px;
}
@media (max-width: 1199px) {
  .plan_items {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .plan_items {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 24px;
  }
}

.plan_item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--clr-white);
  padding: 12px 14px;
  min-height: 100px;
  border-radius: 5px;
}
@media (max-width: 767px) {
  .plan_item {
    padding: 10px 10px;
    gap: 8px;
    min-height: 80px;
  }
}

.plan_item_icon {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: contain;
}
@media (max-width: 767px) {
  .plan_item_icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
  }
}

.plan_item_info {
  flex: 1;
  min-width: 0;
}

.plan_item_name {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  margin: 0 0 4px;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .plan_item_name {
    font-size: 12px;
    margin-bottom: 2px;
  }
}

.plan_item_detail {
  font-size: 14px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  margin: 0;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .plan_item_detail {
    font-size: 11px;
  }
}

/* ============================================================
   オプションエリア（グレー背景）
   ============================================================ */

.plan_options_area {
  background: var(--clr-gray, #D9D9D9);
  margin: 0 -40px;
  padding: 28px 40px 40px;
}
@media (max-width: 767px) {
  .plan_options_area {
    margin: 0 -20px;
    padding: 20px 20px 28px;
  }
}



/**********************************************************************************************************
 plan_プランコンテンツ　ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 plan_プランコンテンツ_ 価格見積もり表例　ここから
***********************************************************************************************************/
/* ============================================================
   plan_detail.css — プラン費用明細例セクション
   ============================================================ */

.plan_detail {
  padding: 80px 0 100px;
  background: var(--clr-white);
}
@media (max-width: 767px) {
  .plan_detail {
    padding: 56px 0 72px;
  }
}

.plan_detail_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 767px) {
  .plan_detail_inner {
    padding: 0 16px;
  }
}

/* ── ヘッダー ── */

.plan_detail_header {
  text-align: center;
  margin-bottom: 56px;
}
@media (max-width: 767px) {
  .plan_detail_header {
    margin-bottom: 40px;
  }
}

.plan_detail_heading {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue);
  margin: 0 0 16px;
  line-height: 1.4;
  letter-spacing: 0.1em;
}
@media (max-width: 767px) {
  .plan_detail_heading {
    font-size: 24px;
    margin-bottom: 12px;
  }
}

.plan_detail_intro {
  font-size: 16px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  line-height: 2;
  margin: 0;
}
@media (max-width: 767px) {
  .plan_detail_intro {
    font-size: 13px;
  }
}

/* ── カードグリッド ── */

.plan_detail_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 767px) {
  .plan_detail_grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── カード ── */

.plan_detail_card {
  background: var(--clr-white);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 1px 1px 5px #ccc;
  display: flex;
  flex-direction: column;
}

/* ── カードヘッド ── */

.plan_detail_card_head {
  background: var(--clr-blue-dark);
  padding: 20px 24px;
}
@media (max-width: 767px) {
  .plan_detail_card_head {
    padding: 16px 20px;
  }
}

.plan_detail_card_name {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-white);
  display: block;
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin: 0 0 6px;
}
@media (max-width: 767px) {
  .plan_detail_card_name {
    font-size: 18px;
  }
}

.plan_detail_card_sub {
  font-size: 13px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-light);
  margin: 0;
  line-height: 1.4;
}

/* ── アコーディオン（プランに含まれるもの） ── */

.plan_detail_accordion {
  border-bottom: 1px solid var(--clr-blue-pale);
}

.plan_detail_accordion_toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  background: var(--clr-blue-pale);
  list-style: none;
  user-select: none;
  transition: background 0.2s;
}
.plan_detail_accordion_toggle::-webkit-details-marker {
  display: none;
}
.plan_detail_accordion_toggle:hover {
  background: color-mix(in srgb, var(--clr-blue-pale) 60%, var(--clr-blue-light));
}
@media (max-width: 767px) {
  .plan_detail_accordion_toggle {
    padding: 11px 16px;
  }
}

.plan_detail_accordion_icon {
  font-size: 11px;
  color: var(--clr-blue);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.plan_detail_accordion[open] .plan_detail_accordion_icon {
  transform: rotate(180deg);
}

.plan_detail_accordion_list {
  list-style: none;
  margin: 0;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-blue-pale);
}
@media (max-width: 767px) {
  .plan_detail_accordion_list {
    padding: 12px 16px;
    grid-template-columns: 1fr;
  }
}

.plan_detail_accordion_item {
  font-size: 13px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
}

.plan_detail_accordion_item::before {
  content: '✓';
  color: var(--clr-blue);
  font-size: 12px;
  flex-shrink: 0;
}

/* ── テーブル ── */

.plan_detail_table {
  width: 100%;
  border-collapse: collapse;
  flex: 1;
}

.plan_detail_table--notail {
  flex: none;
}

.plan_detail_tr {
  border-bottom: 1px solid var(--clr-blue-pale);
}

.plan_detail_tr--section {
  background: var(--clr-blue-pale);
}

.plan_detail_th {
  text-align: left;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  .plan_detail_th {
    padding: 9px 16px;
    font-size: 12px;
  }
}

.plan_detail_td {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  line-height: 1.6;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .plan_detail_td {
    padding: 10px 16px;
    font-size: 13px;
  }
}

.plan_detail_td--amount {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: var(--clr-blue-dark);
  width: 40%;
}

.plan_detail_td--free {
  color: var(--clr-blue);
  font-weight: 700;
}

.plan_detail_td--consult {
  color: var(--clr-blue);
  font-weight: 400;
}

/* ── 小計行 ── */

.plan_detail_tr--subtotal {
  background: color-mix(in srgb, var(--clr-blue-light) 30%, var(--clr-white));
}

.plan_detail_tr--subtotal .plan_detail_td {
  font-weight: 700;
  color: var(--clr-blue-dark);
}

/* ── 合計行 ── */

.plan_detail_total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--clr-navy);
  padding: 18px 20px;
  gap: 12px;
}
@media (max-width: 767px) {
  .plan_detail_total {
    padding: 14px 16px;
  }
}

.plan_detail_total_label {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-white);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .plan_detail_total_label {
    font-size: 14px;
  }
}

.plan_detail_total_amount {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-gold);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .plan_detail_total_amount {
    font-size: 17px;
  }
}

/* ── キャプション ── */

.plan_detail_caption {
  font-size: 12px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  padding: 12px 20px;
  margin: 0;
  line-height: 1.8;
  background: var(--clr-blue-pale);
  border-top: 1px solid var(--clr-blue-light);
}
@media (max-width: 767px) {
  .plan_detail_caption {
    padding: 10px 16px;
  }
}

/* ── フッターメモ ── */

.plan_detail_footer {
  margin-top: 56px;
  text-align: center;
  padding: 32px 40px;
  background: var(--clr-blue-pale);
  border-radius: 5px;
}
@media (max-width: 767px) {
  .plan_detail_footer {
    margin-top: 36px;
    padding: 24px 20px;
    text-align: left;
  }
}

.plan_detail_footer_note {
  font-size: 16px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  line-height: 2.2;
  margin: 10px 0 0 0 ;
}
@media (max-width: 767px) {
  .plan_detail_footer_note {
    font-size: 12px;
  }
}



.plan_detail_cta_heading {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
}
@media (max-width: 767px) {
  .plan_detail_cta_heading {
    font-size: 18px;
    margin-bottom: 14px;
  }
}

.plan_detail_cta_body {
  font-size: 16px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-blue-dark);
  line-height: 2;
  margin: 0;
}
@media (max-width: 767px) {
  .plan_detail_cta_body {
    font-size: 14px;
  }
}

/**********************************************************************************************************
 plan_プランコンテンツ_ 価格見積もり表例　ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 plan_プランコンテンツ_ プランシミュレーター　ここから
***********************************************************************************************************/
/* ========================================
   plan_price_estimator — 料金プランシミュレーター
   ======================================== */

/* ---- 印刷専用ヘッダー（通常非表示） ---- */
.plan_price_estimator__print_hd { display: none; }

/* ---- Wrap ---- */
.plan_price_estimator__wrap {
  background: var(--clr-white);
  padding: 80px 0 100px;
}
@media (max-width: 767px) {
  .plan_price_estimator__wrap { padding: 52px 0 72px; }
}

.plan_price_estimator__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 767px) {
  .plan_price_estimator__inner { padding: 0 14px; }
}

/* ---- 画面タイトル ---- */
.plan_price_estimator__hd {
  text-align: center;
  margin-bottom: 48px;
}
@media (max-width: 767px) {
  .plan_price_estimator__hd { margin-bottom: 32px; }
}

.plan_price_estimator__hd_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}
@media (max-width: 767px) {
  .plan_price_estimator__hd_title { font-size: 22px; }
}

.plan_price_estimator__hd_line {
  width: 48px;
  height: 2px;
  background: var(--clr-blue);
  margin: 0 auto 14px;
  display: none;
}

.plan_price_estimator__hd_sub {
  font-size: 14px;
  color: var(--clr-navy);
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   見積フォーム
   ================================================================ */

.plan_price_estimator__form {
  background: var(--clr-white);
  border: 1px solid var(--clr-warm-light);
  border-radius: 5px;
  box-shadow: 1px 1px 5px #ccc;
  overflow: hidden;
}

/* プラン未選択時：②以降のラッパーを非表示 */
.plan_price_estimator__form.is_before_plan .plan_price_estimator__reveal_wrap {
  display: none;
}

/* ふわっと表示アニメーション */
@keyframes plan_price_estimator__reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plan_price_estimator__reveal_wrap.is_revealed {
  animation: plan_price_estimator__reveal 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ---- 列ヘッダー ---- */
.plan_price_estimator__col_hd {
  display: grid;
  grid-template-columns: 1fr 72px 112px;
  gap: 0 8px;
  background: var(--clr-blue);
  color: var(--clr-white);
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 8px 20px 8px 52px;
}
@media (max-width: 767px) {
  .plan_price_estimator__col_hd {
    grid-template-columns: 1fr 88px;
    padding: 7px 14px 7px 42px;
    font-size: 11px;
  }
}

.plan_price_estimator__col_hd_qty {
  text-align: center;
}
@media (max-width: 767px) {
  .plan_price_estimator__col_hd_qty { display: none; }
}

.plan_price_estimator__col_hd_amount {
  text-align: right;
}

/* ---- セクションブロック ---- */
.plan_price_estimator__block {
  border-top: 1px solid var(--clr-warm-light);
}

.plan_price_estimator__block_hd {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-blue-pale);
  border-bottom: 1px solid color-mix(in srgb, var(--clr-blue) 25%, transparent);
  padding: 9px 20px;
}
@media (max-width: 767px) {
  .plan_price_estimator__block_hd { padding: 8px 14px; }
}

.plan_price_estimator__block_num {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(---clr-blue);
  /* background: var(--clr-blue); */
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.plan_price_estimator__block_name {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.06em;
  flex: 1;
}
@media (max-width: 767px) {
  .plan_price_estimator__block_name { font-size: 14px; }
}

.plan_price_estimator__block_sub {
  font-size: 12px;
  color: var(--clr-blue-dark);
  font-weight: 400;
  white-space: nowrap;
}

.plan_price_estimator__block_sub strong {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-blue);
}

/* ================================================================
   行（共通）
   ================================================================ */

.plan_price_estimator__row {
  display: grid;
  grid-template-columns: 28px 1fr 72px 112px;
  gap: 0 8px;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--clr-warm-light);
  cursor: default;
  transition: background 0.15s;
  position: relative;
}
@media (max-width: 767px) {
  .plan_price_estimator__row {
    grid-template-columns: 28px 1fr 88px;
    padding: 10px 14px;
  }
}

.plan_price_estimator__row:last-child {
  border-bottom: none;
}

/* ---- プラン行 / オプション行 (クリッカブル) ---- */
.plan_price_estimator__row--plan,
.plan_price_estimator__row--opt {
  cursor: pointer;
}

.plan_price_estimator__row--plan:hover,
.plan_price_estimator__row--opt:hover {
  background: color-mix(in srgb, var(--clr-blue-pale) 60%, white);
}

/* 選択・チェック済みの行 */
.plan_price_estimator__row--plan.is_selected,
.plan_price_estimator__row--opt.is_checked {
  background: var(--clr-blue-pale);
}

/* 非選択のプラン行は薄く */
.plan_price_estimator__row--plan:not(.is_selected) .plan_price_estimator__row__name,
.plan_price_estimator__row--plan:not(.is_selected) .plan_price_estimator__row__qty {
  color: var(--clr-warm-gray);
}

.plan_price_estimator__row--plan:not(.is_selected) .plan_price_estimator__row__amount {
  color: var(--clr-warm-gray);
}

/* 除外（プランに含まれる）行 */
.plan_price_estimator__row--opt.is_excluded {
  display: none;
}

/* ---- チェック/ラジオ アイコン列 ---- */
.plan_price_estimator__row__check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--clr-warm-light);
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.18s, background 0.18s;
}

/* プラン行はラジオ（丸） */
.plan_price_estimator__row--plan .plan_price_estimator__row__check {
  border-radius: 50%;
}

/* オプション行はチェックボックス（角丸四角） */
.plan_price_estimator__row--opt .plan_price_estimator__row__check {
  border-radius: 3px;
}

/* 選択済みのチェック表示 */
.plan_price_estimator__row--plan.is_selected .plan_price_estimator__row__check,
.plan_price_estimator__row--opt.is_checked .plan_price_estimator__row__check {
  border-color: var(--clr-blue);
  background: var(--clr-blue);
}

.plan_price_estimator__row--plan.is_selected .plan_price_estimator__row__check::after,
.plan_price_estimator__row--opt.is_checked .plan_price_estimator__row__check::after {
  content: '';
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--clr-white);
  border-bottom: 2px solid var(--clr-white);
  margin-top: -1px;
}

/* フリー行（火葬料など）のチェック列 */
.plan_price_estimator__row--free .plan_price_estimator__row__check,
.plan_price_estimator__row--days .plan_price_estimator__row__check {
  border: none;
}

/* プランに応じて非表示になる行 */
.plan_price_estimator__row.is_plan_hidden {
  display: none;
}

/* ---- 項目名列 ---- */
.plan_price_estimator__row__name {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.45;
}
@media (max-width: 767px) {
  .plan_price_estimator__row__name { font-size: 14px; }
}

.plan_price_estimator__row__name_sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--clr-warm-gray);
  margin-top: 2px;
  letter-spacing: 0;
  line-height: 1.5;
}

/* ---- 数量列 ---- */
.plan_price_estimator__row__qty {
  font-size: 13px;
  color: var(--clr-warm-gray);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
@media (max-width: 767px) {
  .plan_price_estimator__row__qty { display: none; }
}

/* 数量入力可能な行：モバイルでも数量列を表示 */
.plan_price_estimator__row--qty {
  grid-template-columns: 28px 1fr 72px 112px;
}
@media (max-width: 767px) {
  .plan_price_estimator__row--qty {
    grid-template-columns: 28px 1fr 56px 76px;
  }
  .plan_price_estimator__row--qty .plan_price_estimator__row__qty {
    display: flex !important;
    flex-direction: column;
    gap: 1px;
  }
}

/* ---- 数量入力フィールド ---- */
.plan_price_estimator__qty_input {
  width: 38px;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 3px 4px;
  font-size: 13px;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  text-align: center;
  background: var(--clr-white);
  outline: none;
  transition: border-color 0.18s;
  -moz-appearance: textfield;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .plan_price_estimator__qty_input { width: 34px; font-size: 12px; }
}

.plan_price_estimator__qty_input::-webkit-inner-spin-button,
.plan_price_estimator__qty_input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.plan_price_estimator__qty_input:focus {
  border-color: var(--clr-blue);
}

.plan_price_estimator__qty_unit {
  font-size: 11px;
  color: var(--clr-warm-gray);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .plan_price_estimator__qty_unit { font-size: 10px; }
}

/* ---- 金額列 ---- */
.plan_price_estimator__row__amount {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-blue-dark);
  text-align: right;
  letter-spacing: 0.03em;
}
@media (max-width: 767px) {
  .plan_price_estimator__row__amount { font-size: 14px; }
}

.plan_price_estimator__row__amount--free {
  color: var(--clr-warm-gray);
  font-weight: 400;
}

/* ---- 安置日数行 ---- */
.plan_price_estimator__row--days {
  cursor: default;
  background: color-mix(in srgb, var(--clr-warm-pale) 60%, white);
}

.plan_price_estimator__row--days:hover {
  background: color-mix(in srgb, var(--clr-warm-pale) 60%, white);
}

.plan_price_estimator__days_input {
  width: 44px;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 14px;
  font-family: 'Noto Serif JP', serif;
  color: var(--clr-navy);
  text-align: center;
  background: var(--clr-white);
  outline: none;
  transition: border-color 0.18s;
  -moz-appearance: textfield;
}

.plan_price_estimator__days_input::-webkit-inner-spin-button,
.plan_price_estimator__days_input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.plan_price_estimator__days_input:focus {
  border-color: var(--clr-blue);
}

.plan_price_estimator__days_label {
  font-size: 13px;
  color: var(--clr-warm-gray);
  margin-left: 3px;
}

/* hidden radio/checkbox */
.plan_price_estimator__plan_radio,
.plan_price_estimator__opt_chk {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* ================================================================
   サマリー + 合計
   ================================================================ */

.plan_price_estimator__summary {
  border-top: 1px solid color-mix(in srgb, var(--clr-blue) 25%, transparent);
  background: var(--clr-blue-pale);
  padding: 24px 28px 0;
}
@media (max-width: 767px) {
  .plan_price_estimator__summary { padding: 18px 14px 0; }
}

.plan_price_estimator__summary_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.plan_price_estimator__summary_table tr {
  border-bottom: 1px solid var(--clr-warm-light);
}

.plan_price_estimator__summary_label {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: var(--clr-navy);
  padding: 7px 8px 7px 0;
  letter-spacing: 0.04em;
}
@media (max-width: 767px) {
  .plan_price_estimator__summary_label { font-size: 13px; }
}

.plan_price_estimator__summary_amount {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-blue-dark);
  text-align: right;
  padding: 7px 0 7px 8px;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .plan_price_estimator__summary_amount { font-size: 14px; }
}

/* 合計行 */
.plan_price_estimator__grand_total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 2px solid var(--clr-blue);
  margin-top: 2px;
  padding: 14px 0 20px;
}
@media (max-width: 767px) {
  .plan_price_estimator__grand_total {
    flex-direction: column;
    gap: 4px;
    padding: 12px 0 16px;
  }
}

.plan_price_estimator__grand_label {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.06em;
}

.plan_price_estimator__grand_amount {
  font-family: 'Noto Serif JP', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.03em;
  line-height: 1;
}
@media (max-width: 767px) {
  .plan_price_estimator__grand_amount { font-size: 32px; }
}

.plan_price_estimator__grand_note {
  font-size: 11px;
  color: var(--clr-warm-gray);
  margin: 0 0 24px;
  line-height: 1.6;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--clr-warm-light);
}
@media (max-width: 767px) {
  .plan_price_estimator__grand_note { margin-bottom: 18px; padding-bottom: 18px; }
}

/* ================================================================
   アクションボタン
   ================================================================ */

.plan_price_estimator__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px 28px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 767px) {
  .plan_price_estimator__actions {
    flex-direction: column;
    padding: 0 14px 20px;
    gap: 10px;
  }
}

.plan_price_estimator__cta_btn {
  display: inline-block;
  background: var(--clr-gold);
  color: var(--clr-white);
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: opacity 0.2s, transform 0.2s;
}
@media (max-width: 767px) {
  .plan_price_estimator__cta_btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 20px;
  }
}

.plan_price_estimator__cta_btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.plan_price_estimator__print_btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  color: var(--clr-blue-dark);
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1.5px solid var(--clr-blue);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
@media (max-width: 767px) {
  .plan_price_estimator__print_btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}

.plan_price_estimator__print_btn:hover {
  background: var(--clr-blue-pale);
}

/* ================================================================
   @media print — 印刷スタイル
   ================================================================ */

@media print {

  @page { margin: 12mm 16mm; }

  body { visibility: hidden; }

  .plan_price_estimator__wrap,
  .plan_price_estimator__wrap * { visibility: visible; }

  .plan_price_estimator__wrap {
    position: absolute;
    inset: 0;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .plan_price_estimator__inner {
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* ─── 印刷ヘッダー ─── */
  .plan_price_estimator__print_hd {
    display: block !important;
    border-bottom: 2px solid #0e2f52;
    padding-bottom: 10px;
    margin-bottom: 16px;
  }

  .plan_price_estimator__print_hd_top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .plan_price_estimator__print_company {
    font-family: 'Noto Serif JP', serif;
    font-size: 13px;
    font-weight: 700;
    color: #0e2f52;
    margin: 0;
  }

  .plan_price_estimator__print_tel {
    font-size: 11px;
    color: #444;
    margin: 0;
  }

  .plan_price_estimator__print_title {
    font-family: 'Noto Serif JP', serif;
    font-size: 22px;
    font-weight: 700;
    color: #0e2f52;
    letter-spacing: 0.3em;
    margin: 0 0 4px;
    text-align: center;
  }

  .plan_price_estimator__print_sub {
    font-size: 11px;
    color: #555;
    margin: 0 0 4px;
  }

  .plan_price_estimator__print_date {
    font-size: 11px;
    color: #555;
    margin: 0;
    text-align: right;
  }

  /* ─── 画面専用を非表示 ─── */
  .plan_price_estimator__hd,
  .plan_price_estimator__actions { display: none !important; }

  /* ─── フォーム枠 ─── */
  .plan_price_estimator__form {
    border: 1px solid #1e5c96 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* ─── 列ヘッダー ─── */
  .plan_price_estimator__col_hd {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background: #1e5c96 !important;
    grid-template-columns: 1fr 72px 112px !important;
    padding-left: 52px !important;
  }

  .plan_price_estimator__col_hd_qty { display: block !important; }

  /* ─── ブロックヘッダー ─── */
  .plan_price_estimator__block_hd {
    background: #eaf4fb !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .plan_price_estimator__block_num {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background: #3a8fd4 !important;
    color: #fff !important;
  }

  /* ─── 行レイアウトをPC表示に ─── */
  .plan_price_estimator__row {
    grid-template-columns: 28px 1fr 72px 112px !important;
    padding: 7px 20px !important;
  }

  .plan_price_estimator__row__qty { display: block !important; }

  /* ─── 非選択プラン行をグレーアウト ─── */
  .plan_price_estimator__row--plan:not(.is_selected) {
    opacity: 0.4;
  }

  /* ─── 非チェックオプション行をグレーアウト ─── */
  .plan_price_estimator__row--opt:not(.is_checked):not(.is_excluded) {
    opacity: 0.35;
  }

  /* ─── チェックアイコンの色印刷対応 ─── */
  .plan_price_estimator__row--plan.is_selected .plan_price_estimator__row__check,
  .plan_price_estimator__row--opt.is_checked .plan_price_estimator__row__check {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background: #3a8fd4 !important;
    border-color: #3a8fd4 !important;
  }

  /* ─── サマリー ─── */
  .plan_price_estimator__summary {
    page-break-inside: avoid;
    background: #eaf4fb !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .plan_price_estimator__grand_total {
    flex-direction: row !important;
    align-items: baseline !important;
  }

  .plan_price_estimator__grand_amount {
    font-size: 32px !important;
    color: #1e5c96 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* ─── 安置費用数量列を表示 ─── */
  .plan_price_estimator__row--days .plan_price_estimator__row__qty {
    display: flex !important;
  }

  /* ─── 数量入力可能行のqty列を表示 ─── */
  .plan_price_estimator__row--qty .plan_price_estimator__row__qty {
    display: flex !important;
  }

  /* ─── 数量inputを印刷向けにシンプル化 ─── */
  .plan_price_estimator__qty_input {
    border: none !important;
    background: transparent !important;
    width: auto !important;
    padding: 0 !important;
    font-size: 13px !important;
  }
}

/* ========================================
   内訳ボタン
   ======================================== */
.plan_price_estimator__detail_btn {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-blue-dark);
  background: var(--clr-white);
  border: 1px solid var(--clr-blue-light);
  border-radius: 20px;
  cursor: pointer;
  line-height: 1.6;
  transition: background 0.15s, color 0.15s;
}
.plan_price_estimator__detail_btn:hover {
  background: var(--clr-blue-pale);
}

/* ========================================
   内訳モーダル
   ======================================== */
.plan_price_estimator__modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.plan_price_estimator__modal.is_open {
  display: block;
}

.plan_price_estimator__modal_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  animation: ppeModalFadeIn 0.2s ease;
}

.plan_price_estimator__modal_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 32px));
  max-height: 80vh;
  overflow-y: auto;
  background: var(--clr-white);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  animation: ppeModalSlideIn 0.22s ease;
}
@media (max-width: 767px) {
  .plan_price_estimator__modal_box { max-height: 85vh; }
}

@keyframes ppeModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ppeModalSlideIn {
  from { opacity: 0; transform: translate(-50%, -48%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

.plan_price_estimator__modal_hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--clr-warm-light);
  position: sticky;
  top: 0;
  background: var(--clr-white);
  z-index: 1;
}

.plan_price_estimator__modal_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-navy);
  margin: 0;
}
@media (max-width: 767px) {
  .plan_price_estimator__modal_title { font-size: 14px; }
}

.plan_price_estimator__modal_close {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--clr-warm-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  color: var(--clr-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.plan_price_estimator__modal_close:hover { background: var(--clr-warm-gray); color: var(--clr-white); }

.plan_price_estimator__modal_body {
  padding: 12px 20px 20px;
}

.plan_price_estimator__modal_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--clr-warm-light);
  font-size: 13px;
  color: var(--clr-brown);
}
@media (max-width: 767px) {
  .plan_price_estimator__modal_row { font-size: 12px; }
}

.plan_price_estimator__modal_row--total {
  border-bottom: none;
  border-top: 2px solid var(--clr-blue-light);
  margin-top: 4px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--clr-navy);
}
@media (max-width: 767px) {
  .plan_price_estimator__modal_row--total { font-size: 14px; }
}

.plan_price_estimator__modal_amount {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-left: 16px;
}

/* ========================================
   別途項目 グループ見出し
   ======================================== */
.plan_price_estimator__opt_group_hd {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-blue-dark);
  background: var(--clr-blue-pale);
  border-left: 3px solid var(--clr-blue-light);
  margin-top: 4px;
}
.plan_price_estimator__opt_group_hd.is_plan_hidden { display: none; }




/**********************************************************************************************************
 plan_プランコンテンツ_ プランシミュレーター　ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 サービスメニューのページ  ここから
***********************************************************************************************************/
/* ========================================
   top_service — サービス・メニュー
   ======================================== */

/* PC では改行しない / SP では改行する */
.sp_only { display: none; }
@media (max-width: 767px) {
  .sp_only { display: inline; }
}

/* ---- Wrap ---- */

.service_menu_wrap {
  background: var(--clr-white);
}

/* ---- Head ---- */

.service_menu_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service_menu_head {
  padding: 80px 0 60px;
  text-align: center;
}
@media (max-width: 767px) {
  .service_menu_head {
    padding: 52px 0 40px;
  }
}

.service_menu_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin: 0 0 20px;
}
@media (max-width: 767px) {
  .service_menu_title {
    font-size: 26px;
    margin: 0 0 14px;
  }
}

.service_menu_title_line {
  width: 48px;
  height: 2px;
  background: var(--clr-blue);
  margin: 0 auto 20px;
  display: none;
}

.service_menu_sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 767px) {
  .service_menu_sub {
    font-size: 14px;
  }
}

/* ======================================
   3D サイコロステージ
   ====================================== */

.service_menu_stage {
  width: 100%;
  height: 100vh;
  min-height: 540px;
  background: var(--clr-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 767px) {
  .service_menu_stage {
    gap: 18px;
    min-height: 480px;
  }
}

/* ---- Counter ---- */

.service_menu_counter {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-blue-dark);
  letter-spacing: 0.12em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
@media (max-width: 767px) {
  .service_menu_counter {
    font-size: 13px;
  }
}

.service_menu_counter_cur {
  font-size: 26px;
  color: var(--clr-blue);
}
@media (max-width: 767px) {
  .service_menu_counter_cur {
    font-size: 20px;
  }
}

.service_menu_counter_sep {
  opacity: 0.4;
  padding: 0 2px;
}

/* ---- 3D Scene ---- */

.service_menu_scene {
  width: min(860px, 92vw);
  height: min(520px, 54vh);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1500px; /* JS で上書き */
}
@media (max-width: 767px) {
  .service_menu_scene {
    width: 92vw;
    height: min(400px, 58vh);
  }
}

/* ---- Cube ---- */

.service_menu_cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  /* rotateY は GSAP が制御 */
}

/* ======================================
   Face — Figmaレイアウト再現
   画像: 全面 (position:absolute, inset:0)
   オーバーレイ: 右側・上端を --clr-blue-pale でフェード
   テキスト: absolute 配置（Figma座標比に準拠）
   ====================================== */

.service_menu_face {
  position: absolute;
  inset: 0;
  background: var(--clr-blue-pale);
  border-radius: 6px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* 3D変換中の文字ぼやけ防止 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* rotateY + translateZ は JS で設定 */
 
}
@media screen and (max-width: 780px) {
.service_menu_face {
 top:-30px;
}
}

/* ---- 全面画像（最背面 z=1） ---- */

.service_menu_face_img_wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

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

/* ---- グラデーションオーバーレイ（z=2）
   Figmaの2重マスクを再現:
   - 横方向: 左=透明(画像見える) → 右=blue-pale(画像隠れる)  ←Rect7(内マスク)
   - 縦方向: 上端=blue-pale → 徐々に透明               ←Rect8(外マスク)
   ---- */

.service_menu_face_overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* 横グラデ: 左が透明(画像露出)、右がblue-pale(テキスト読みやすく) */
    linear-gradient(
      to right,
      transparent                0%,
      transparent               27%,
      rgba(234, 244, 251, 0.35) 40%,
      rgba(234, 244, 251, 0.72) 55%,
      rgba(234, 244, 251, 0.94) 66%,
      rgb(234, 244, 251)        74%
    ),
    /* 縦グラデ: 上端はblue-pale(フェードイン)、38%で透明 */
    linear-gradient(
      to bottom,
      rgb(234, 244, 251)        0%,
      rgba(234, 244, 251, 0.7) 14%,
      rgba(234, 244, 251, 0.3) 26%,
      transparent               38%
    );
}

/* ---- タイトル（z=3）
   Figma座標: x=346/1200=28.8%, y=66/892=7.4%
   ---- */

.service_menu_face_title {
  position: absolute;
  left: 0;
  right: 0;
  top: 8%;
  z-index: 3;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(15px, 2.3vw, 22px);
  font-weight: 700;
  color: var(--clr-blue);
  line-height: 1.55;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  will-change: contents;
}
@media (max-width: 767px) {
  .service_menu_face_title {
    top: 38%;
    padding: 0 70px;
    font-size: 13px;
    line-height: 1.5;
  }
}

/* ---- 説明文 + 価格エリア（z=3）
   Figma座標: x=575/1200=47.9%, y=474/892=53.1%
   ---- */

.service_menu_face_body {
  position: absolute;
  left: 48%;
  top: 40%;
  right: 4%;
  bottom: 5%;
  z-index: 3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .service_menu_face_body {
    left: 4%;
    top: 50%;
    right: 4%;
    bottom: 3%;
  }
}
@media (min-width: 767px) and (max-height: 800px) {
.service_menu_face_body {
 top:25%;
}
}



.service_menu_face_desc {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: clamp(11px, 1.4vw, 12px);
  font-weight: 600;
  color: var(--clr-black);
  line-height: 1.9;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
}
@media (max-width: 767px) {
  .service_menu_face_desc {
    font-size: 8px;
    line-height: 1.7;
    display: block;
    -webkit-line-clamp: unset;
    padding: 0 60px;
  }
}


/* 価格（面2のみ） */

.service_menu_face_price {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(13px, 1.55vw, 15px);
  font-weight: 700;
  color: var(--clr-black);
  text-align: right;
  letter-spacing: 0.06em;
  margin: 0;
  padding-top: 6px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .service_menu_face_price {
    font-size: 13px;
    padding-top: 0;
    padding-right: 60px;
    margin: 0;
  }
}

/* ======================================
   SP: 上半分=画像、下半分=テキスト
   面のオーバーレイを上下グラデに変更
   ====================================== */

@media (max-width: 767px) {
  .service_menu_face_overlay {
    background:
      /* 縦グラデ: 上(画像エリア)は透明、下(テキストエリア)はblue-pale */
      linear-gradient(
        to bottom,
        transparent               0%,
        transparent              30%,
        rgba(234, 244, 251, 0.6) 37%,
        rgba(234, 244, 251, 0.9) 43%,
        rgb(234, 244, 251)       50%
      ),
      /* 上端フェードイン */
      linear-gradient(
        to bottom,
        rgb(234, 244, 251)        0%,
        rgba(234, 244, 251, 0.3)  8%,
        transparent               16%
      );
  }
}

/* ---- Dot Navigation ---- */

.service_menu_dots {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  align-items: center;
}
@media (max-width: 767px) {
  .service_menu_dots {
    bottom: 72px;
  }
}

/* ドット本体: 外枠にconic-gradientリング、中央に丸 */
.service_menu_dot {
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  --dot-prog: 0;
  outline: none;
}
@media (max-width: 767px) {
  .service_menu_dot {
    width: 16px;
    height: 16px;
  }
}

/* スクロール進捗リング（conic-gradient） */
.service_menu_dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--clr-blue) calc(var(--dot-prog) * 360deg),
    rgba(58, 143, 212, 0.2) 0deg
  );
}

/* 中央の丸 */
.service_menu_dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(58, 143, 212, 0.25);
  transition: background 0.25s;
}
@media (max-width: 767px) {
  .service_menu_dot::after {
    inset: 3px;
  }
}

/* 現在面・通過済み面は中央を塗り潰す */
.service_menu_dot.is_active::after,
.service_menu_dot.is_done::after {
  background: var(--clr-blue);
}

.service_menu_dot:hover:not(.is_active):not(.is_done)::after {
  background: rgba(58, 143, 212, 0.5);
}

/* ---- スクロール促進インジケーター ---- */

.service_menu_scroll_hint {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 10;
  transition: opacity 0.6s;
}

.service_menu_scroll_hint.is_ending,
.service_menu_scroll_hint.is_after_first {
  opacity: 0;
  pointer-events: none;
}

/* マウスアイコン（外枠） */
.service_menu_scroll_mouse {
  width: 20px;
  height: 32px;
  border: 2px solid var(--clr-blue);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

/* スクロールホイール（内側の点が下へ流れる） */
.service_menu_scroll_wheel {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--clr-blue);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  animation: service_menu_scroll_wheel 1.8s ease-in-out infinite;
}

@keyframes service_menu_scroll_wheel {
  0%   { top: 5px;  opacity: 1; }
  70%  { top: 17px; opacity: 0.2; }
  100% { top: 5px;  opacity: 1; }
}

.service_menu_scroll_label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--clr-blue);
  margin: 0;
}

/**********************************************************************************************************
 サービスメニューのページ  ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 お問い合わせフォーム　ここから
***********************************************************************************************************/
/* ========================================
   top_contact — お問い合わせ
   ======================================== */

/* ---- Wrap ---- */
.contact__wrap {
  background: var(--clr-white);
  padding: 80px 0 100px;
}
@media (max-width: 767px) {
  .contact__wrap { padding: 52px 0 72px; }
}

.contact__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .contact__inner { padding: 0 16px; }
}

/* ---- セクションタイトル ---- */
.contact__head {
  text-align: center;
  margin-bottom: 52px;
}
@media (max-width: 767px) {
  .contact__head { margin-bottom: 36px; }
}

.contact__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  line-height: 1.44;
  margin: 0 0 20px;
}
@media (max-width: 767px) {
  .contact__title { font-size: 22px; margin: 0 0 14px; }
}

.contact__sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-black);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 767px) {
  .contact__sub { font-size: 14px; }
}

/* ================================================================
   フォームカード（innerの中で860pxに収める）
   ================================================================ */
.wpcf7 {
  max-width: 860px;
  margin: 0 auto;
}

.contact__form {
  background: var(--clr-white);
  border: 1px solid var(--clr-warm-light);
  border-radius: 5px;
  box-shadow: 0 2px 12px rgba(14, 47, 82, 0.07);
  padding: 48px 52px;
  margin: 0;
}
@media (max-width: 767px) {
  .contact__form { padding: 28px 20px; }
}

/* CF7 コントロールラップを block に */
.wpcf7-form-control-wrap {
  display: block;
}

/* ---- 2カラムグリッド ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
@media (max-width: 767px) {
  .contact__grid { grid-template-columns: 1fr; gap: 0; }
}

/* ---- 行 ---- */
.contact__row {
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .contact__row { margin-bottom: 20px; }
}

/* ---- ラベル ---- */
.contact__label {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  line-height: 1.5;
}

/* ---- 必須・任意バッジ ---- */
.contact__req {
  font-size: 11px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.04em;
  background: var(--clr-blue);
  color: var(--clr-white);
  padding: 2px 7px;
  border-radius: 2px;
  flex-shrink: 0;
  line-height: 1.6;
}

.contact__req--any {
  background: var(--clr-warm-gray);
}

/* ---- テキスト / 電話 / メール 入力 ---- */
.contact__input {
  display: block;
  width: 100%;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
  background: var(--clr-white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
}

.contact__input::placeholder {
  color: var(--clr-warm-gray);
  font-size: 14px;
}

.contact__input:focus {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-blue) 15%, transparent);
}

.contact__input.wpcf7-not-valid {
  border-color: #c0392b;
}

/* ---- セレクト ---- */
.contact__select {
  display: block;
  width: 100%;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 12px 40px 12px 14px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
  background-color: var(--clr-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5.5L11 1' stroke='%23B8A898' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  cursor: pointer;
}
@media (max-width: 767px) {
  .contact__select { padding: 11px 36px 11px 12px; }
}

.contact__select:focus {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-blue) 15%, transparent);
}

.contact__select.wpcf7-not-valid {
  border-color: #c0392b;
}

/* ---- テキストエリア ---- */
.contact__textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
  background: var(--clr-white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .contact__textarea { min-height: 120px; padding: 11px 12px; }
}

.contact__textarea::placeholder {
  color: var(--clr-warm-gray);
  font-size: 14px;
}

.contact__textarea:focus {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-blue) 15%, transparent);
}

.contact__textarea.wpcf7-not-valid {
  border-color: #c0392b;
}

/* ---- 送信ボタン ---- */
.contact__submit_wrap {
  text-align: center;
  margin-top: 8px;
}

.contact__submit {
  display: inline-block;
  background: var(--clr-blue);
  color: var(--clr-white);
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 72px;
  border-radius: 4px;
  border: none;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
@media (max-width: 767px) {
  .contact__submit {
    display: block;
    width: 100%;
    padding: 16px 20px;
  }
}

.contact__submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.contact__submit:active {
  transform: translateY(0);
}

/* ---- CF7 フィールドエラーメッセージ ---- */
.wpcf7-not-valid-tip {
  display: block;
  font-size: 12px;
  color: #c0392b;
  margin-top: 5px;
  line-height: 1.5;
}

/* ---- CF7 レスポンス出力 ---- */
.wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 18px;
  border-radius: 3px;
  font-size: 16px;
  line-height: 1.7;
  border: none;
}

.wpcf7-form.sent .wpcf7-response-output {
  background: var(--clr-blue-pale);
  border: 1px solid color-mix(in srgb, var(--clr-blue) 40%, transparent);
  color: var(--clr-blue-dark);
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  background: #fdf2f0;
  border: 1px solid #e8b4ae;
  color: #c0392b;
}

.wpcf7-form.spam .wpcf7-response-output {
  background: var(--clr-warm-pale);
  border: 1px solid var(--clr-warm-light);
  color: var(--clr-warm-gray);
}


/**********************************************************************************************************
 お問い合わせフォーム　ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 よくある質問ページ　ここから
***********************************************************************************************************/
/* ========================================
   faq — よくある質問ページ
   ======================================== */

.faq__wrap {
  background: var(--clr-white);
  padding: 80px 0 100px;
}
@media (max-width: 767px) {
  .faq__wrap { padding: 52px 0 72px; }
}

.faq__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .faq__inner { padding: 0 16px; }
}

/* ---- ヘッド ---- */

.faq__head {
  text-align: center;
  margin-bottom: 56px;
}
@media (max-width: 767px) {
  .faq__head { margin-bottom: 36px; }
}

.faq__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin: 0 0 20px;
}
@media (max-width: 767px) {
  .faq__title { font-size: 26px; margin: 0 0 14px; }
}

.faq__sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-black);
  margin: 0 0 28px;
  letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  .faq__sub { font-size: 14px; margin: 0 0 20px; }
}

/* ---- 検索ボックス ---- */

.faq__search_wrap {
  max-width: 480px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .faq__search_wrap { max-width: 100%; }
}

.faq__search_box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--clr-warm-light);
  border-radius: 4px;
  padding: 0 16px;
  background: var(--clr-white);
  cursor: text;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.faq__search_box:focus-within {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-blue) 15%, transparent);
}

.faq__search_icon {
  color: var(--clr-warm-gray);
  flex-shrink: 0;
  pointer-events: none;
}

.faq__search_input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 0;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
  background: transparent;
  -webkit-appearance: none;
}
@media (max-width: 767px) {
  .faq__search_input { font-size: 15px; padding: 12px 0; }
}

.faq__search_input::placeholder {
  color: var(--clr-warm-gray);
  font-size: 14px;
}

.faq__search_input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* ---- ボディ（カテゴリコンテナ） ---- */

.faq__body {
  max-width: 860px;
  margin: 0 auto;
}

/* ---- カテゴリ ---- */

.faq__category {
  margin-bottom: 52px;
}
@media (max-width: 767px) {
  .faq__category { margin-bottom: 40px; }
}

.faq__category:last-of-type {
  margin-bottom: 0;
}

.faq__cat_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-navy);
  border-left: 4px solid var(--clr-blue);
  padding-left: 16px;
  margin: 0 0 4px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .faq__cat_title { font-size: 17px; padding-left: 12px; }
}

/* ---- リスト ---- */

.faq__list {
  margin: 0;
  padding: 0;
}

/* ---- アイテム ---- */

.faq__item {
  border-top: 1px solid var(--clr-warm-light);
}
.faq__item:last-child {
  border-bottom: 1px solid var(--clr-warm-light);
}

.faq__item > dt {
  margin: 0;
  padding: 0;
}

/* ---- Q ボタン ---- */

.faq__q {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.18s;
}
@media (max-width: 767px) {
  .faq__q { gap: 12px; padding: 14px 0; }
}

.faq__q:hover { opacity: 0.72; }

/* ---- Q マーク ---- */

.faq__q_mark {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-blue);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
@media (max-width: 767px) {
  .faq__q_mark { font-size: 22px; width: 22px; }
}

/* ---- 質問テキスト ---- */

.faq__q_text {
  flex: 1;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.65;
  letter-spacing: 0.04em;
}
@media (max-width: 767px) {
  .faq__q_text { font-size: 14px; }
}

/* ---- シェブロン ---- */

.faq__chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--clr-blue);
  border-bottom: 2px solid var(--clr-blue);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-right: 6px;
  margin-top: -4px;
}

.faq__item.is_open .faq__chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

/* ---- A パネル（GSAP で height 制御） ---- */

.faq__a {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.faq__a_inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 6px 0 22px;
  border-top: 1px solid var(--clr-warm-light);
}
@media (max-width: 767px) {
  .faq__a_inner { gap: 12px; padding: 6px 0 18px; }
}

/* ---- A マーク ---- */

.faq__a_mark {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  padding-top: 2px;
}
@media (max-width: 767px) {
  .faq__a_mark { font-size: 22px; width: 22px; }
}

/* ---- 回答テキスト ---- */

.faq__a_text {
  flex: 1;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-navy);
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin: 0;
  padding-top: 4px;
}
@media (max-width: 767px) {
  .faq__a_text { font-size: 14px; padding-top: 2px; }
}

/* ---- 検索キーワードハイライト ---- */

mark.faq__highlight {
  background: color-mix(in srgb, var(--clr-gold) 32%, transparent);
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}

/* ---- 検索ヒットなし ---- */

.faq__empty {
  text-align: center;
  padding: 40px 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: var(--clr-warm-gray);
  display: none;
}
.faq__empty.is_visible { display: block; }

/* ---- 検索フィルター（非表示） ---- */

.is_search_hidden { display: none !important; }

/**********************************************************************************************************
 よくある質問ページ　ここまで
***********************************************************************************************************/


/**********************************************************************************************************
 お客様の声・実績　ここから
***********************************************************************************************************/
/* ========================================
   voice-achievements — お客様の声・実績
   ======================================== */

.voice-achievements__wrap {
  background: var(--clr-white);
}

#voice_list {
  /* ページネーションで #voice_list へジャンプした際、固定ヘッダーに隠れないよう余白を確保 */
  scroll-margin-top: 100px;
}
@media (max-width: 767px) {
  #voice_list { scroll-margin-top: 72px; }
}

/* ---- ページヘッド ---- */

.voice-achievements__head {
  background: var(--clr-blue-pale);
  padding: 80px 0 64px;
  text-align: center;
}
@media (max-width: 767px) {
  .voice-achievements__head { padding: 52px 0 44px; }
}

.voice-achievements__head_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.voice-achievements__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin: 0 0 20px;
}
@media (max-width: 767px) {
  .voice-achievements__title { font-size: 26px; margin: 0 0 14px; }
}

.voice-achievements__title_line {
  width: 48px;
  height: 2px;
  /* background: var(--clr-blue); */
  margin: 0 auto 20px;
}

.voice-achievements__sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-black);
  margin: 0;
  letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  .voice-achievements__sub { font-size: 14px; }
}

/* ---- 共通セクションタイトル ---- */

.voice-achievements__section_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  text-align: center;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}
@media (max-width: 767px) {
  .voice-achievements__section_title { font-size: 22px; margin: 0 0 12px; }
}

.voice-achievements__section_line {
  width: 48px;
  height: 2px;
  background: var(--clr-blue);
  margin: 0 auto 40px;
}

/* voice-koteipage（voice-list.php）だけ、線を非表示にして余白を詰める */
#voice_list .voice-achievements__section_line {
  background: none;
  margin: 0 auto 20px;
}
@media (max-width: 767px) {
  .voice-achievements__section_line { margin: 0 auto 28px; }
}

/* ---- 濃色背景（実績数字セクション等）用の白文字バリエーション ---- */
.voice-achievements__section_title--light {
  color: var(--clr-white);
}

.voice-achievements__section_line--light {
  background: var(--clr-white);
}

/* ========================================
   実績数字セクション
   ======================================== */

.voice-achievements__stats_section {
  background: var(--clr-navy);
  padding: 64px 0;
}
@media (max-width: 767px) {
  .voice-achievements__stats_section { padding: 44px 0; }
}

.voice-achievements__stats_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.voice-achievements__stats_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 767px) {
  .voice-achievements__stats_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: color-mix(in srgb, var(--clr-white) 12%, transparent);
  }
}

.voice-achievements__stats_item {
  text-align: center;
  padding: 20px 12px;
  border-right: 1px solid color-mix(in srgb, var(--clr-white) 15%, transparent);
}
.voice-achievements__stats_item:last-child { border-right: none; }
@media (max-width: 767px) {
  .voice-achievements__stats_item {
    border-right: none;
    background: var(--clr-navy);
    padding: 24px 12px;
  }
}

.voice-achievements__stats_num {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.voice-achievements__stats_count {
  font-size: 48px;
  color: var(--clr-gold);
  letter-spacing: -0.01em;
  font-weight: 700;
}
@media (max-width: 767px) {
  .voice-achievements__stats_count { font-size: 36px; }
}

.voice-achievements__stats_em {
  font-family: 'Noto Serif JP', serif;
  font-style: normal;
  font-size: 48px;
  font-weight: 700;
  color: var(--clr-gold);
}
@media (max-width: 767px) {
  .voice-achievements__stats_em { font-size: 36px; }
}

.voice-achievements__stats_label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: color-mix(in srgb, var(--clr-white) 70%, transparent);
  letter-spacing: 0.08em;
}
@media (max-width: 767px) {
  .voice-achievements__stats_label { font-size: 12px; }
}

/* ========================================
   総合評価セクション
   ======================================== */

.voice-achievements__rating_section {
  background: var(--clr-white);
  padding: 80px 0;
}
@media (max-width: 767px) {
  .voice-achievements__rating_section { padding: 52px 0; }
}

.voice-achievements__rating_inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.voice-achievements__rating_body {
  display: flex;
  gap: 56px;
  align-items: center;
}
@media (max-width: 767px) {
  .voice-achievements__rating_body {
    flex-direction: column;
    gap: 32px;
  }
}

/* スコアエリア */

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

.voice-achievements__rating_score_wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.voice-achievements__rating_score {
  font-family: 'Noto Serif JP', serif;
  font-size: 72px;
  font-weight: 700;
  color: var(--clr-blue);
  line-height: 1;
  letter-spacing: -0.02em;
}
@media (max-width: 767px) {
  .voice-achievements__rating_score { font-size: 56px; }
}

.voice-achievements__rating_max {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-warm-gray);
}

.voice-achievements__rating_count {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--clr-warm-gray);
  margin: 8px 0 0;
}

/* ---- カテゴリ別バー ---- */

.voice-achievements__rating_cats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 767px) {
  .voice-achievements__rating_cats { width: 100%; gap: 14px; }
}

.voice-achievements__rating_cat {
  display: grid;
  grid-template-columns: 112px 1fr 36px;
  align-items: center;
  gap: 12px;
}
@media (max-width: 767px) {
  .voice-achievements__rating_cat { grid-template-columns: 100px 1fr 32px; gap: 10px; }
}

.voice-achievements__rating_cat_label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-navy);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .voice-achievements__rating_cat_label { font-size: 12px; }
}

.voice-achievements__rating_bar_wrap {
  height: 8px;
  background: var(--clr-blue-pale);
  border-radius: 4px;
  overflow: hidden;
}

.voice-achievements__rating_bar_fill {
  height: 100%;
  background: var(--clr-blue);
  border-radius: 4px;
  width: 0;
}

.voice-achievements__rating_cat_score {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-blue);
  text-align: right;
}

/* ========================================
   星評価（共通）
   ======================================== */

.voice-achievements__stars {
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--clr-gold);
  display: inline-block;
}

.voice-achievements__stars--lg {
  font-size: 28px;
  letter-spacing: 4px;
}
@media (max-width: 767px) {
  .voice-achievements__stars--lg { font-size: 22px; }
}

/* ========================================
   お客様の声セクション
   ======================================== */

.voice-achievements__voices_section {
  background: var(--clr-blue-pale);
  padding: 80px 0 96px;
}
@media (max-width: 767px) {
  .voice-achievements__voices_section { padding: 52px 0 68px; }
}

.voice-achievements__voices_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.voice-achievements__privacy_note {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--clr-warm-gray);
  margin: -24px 0 40px;
  letter-spacing: 0.04em;
}
@media (max-width: 767px) {
  .voice-achievements__privacy_note { margin: -16px 0 28px; font-size: 12px; }
}

/* ---- プラン絞り込みボタン ---- */

.voice-achievements__plan_filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 40px;
}
@media (max-width: 767px) {
  .voice-achievements__plan_filter { gap: 8px; margin: 0 0 28px; }
}

.voice-achievements__plan_filter_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--clr-white);
  border: 1px solid var(--clr-warm-light);
  border-radius: 999px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-navy);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
@media (max-width: 767px) {
  .voice-achievements__plan_filter_btn { padding: 8px 16px; font-size: 13px; }
}

.voice-achievements__plan_filter_btn:hover {
  border-color: var(--clr-blue);
  color: var(--clr-blue);
}

.voice-achievements__plan_filter_btn.is_active {
  background: var(--clr-blue);
  border-color: var(--clr-blue);
  color: var(--clr-white);
}

/* ---- カードグリッド ---- */

.voice-achievements__cards_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .voice-achievements__cards_grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
  .voice-achievements__cards_grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---- カード ---- */

.voice-achievements__card {
  background: var(--clr-white);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px color-mix(in srgb, var(--clr-navy) 6%, transparent);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
@media (max-width: 767px) {
  .voice-achievements__card { padding: 20px; gap: 10px; }
}

.voice-achievements__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--clr-navy) 10%, transparent);
}

/* ---- カードヘッド ---- */

.voice-achievements__card_head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.voice-achievements__card_avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-blue-pale);
  color: var(--clr-blue);
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--clr-blue) 20%, transparent);
}
@media (max-width: 767px) {
  .voice-achievements__card_avatar { width: 38px; height: 38px; font-size: 15px; }
}

.voice-achievements__card_avatar--img {
  object-fit: cover;
  background: var(--clr-blue-pale);
}

.voice-achievements__card_meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.voice-achievements__card_author {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-navy);
}

.voice-achievements__card_role {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--clr-warm-gray);
}

/* ---- プランバッジ ---- */

.voice-achievements__card_plan {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.06em;
}

.voice-achievements__card_plan--kasou {
  background: var(--clr-blue-pale);
  color: var(--clr-blue);
}

.voice-achievements__card_plan--kazoku {
  background: var(--clr-blue);
  color: var(--clr-white);
}

.voice-achievements__card_plan--ippan {
  background: var(--clr-navy);
  color: var(--clr-white);
}

/* ---- コメント ---- */

.voice-achievements__card_comment {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--clr-navy);
  line-height: 1.85;
  margin: 0;
  padding: 0;
  flex: 1;
  quotes: none;
  border: none;
}

/* ---- フッター ---- */

.voice-achievements__card_foot {
  border-top: 1px solid var(--clr-warm-light);
  padding-top: 10px;
}

.voice-achievements__card_date {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--clr-warm-gray);
}

/* ========================================
   ページネーション（the_posts_pagination）
   ======================================== */

.voice-achievements__pagination {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
@media (max-width: 767px) {
  .voice-achievements__pagination { margin-top: 36px; }
}

.voice-achievements__pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voice-achievements__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--clr-white);
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-navy);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.voice-achievements__pagination .page-numbers:hover {
  background: var(--clr-blue);
  border-color: var(--clr-blue);
  color: var(--clr-white);
}

.voice-achievements__pagination .page-numbers.current {
  background: var(--clr-blue);
  border-color: var(--clr-blue);
  color: var(--clr-white);
}

.voice-achievements__pagination .page-numbers.dots {
  border: none;
  background: none;
}


/**********************************************************************************************************
 お客様の声・実績　ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 お客様の声 投稿フォーム　ここから
***********************************************************************************************************/
/* ========================================
   voice_form — お客様の声 投稿フォーム
   ======================================== */

/* ---- Wrap ---- */
.voice_form__wrap {
  background: var(--clr-warm-pale);
  padding: 80px 0 100px;
}
@media (max-width: 767px) {
  .voice_form__wrap { padding: 52px 0 72px; }
}

.voice_form__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .voice_form__inner { padding: 0 16px; }
}

/* ---- セクションタイトル ---- */
.voice_form__head {
  text-align: center;
  margin-bottom: 52px;
}
@media (max-width: 767px) {
  .voice_form__head { margin-bottom: 36px; }
}

.voice_form__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  line-height: 1.44;
  margin: 0 0 20px;
}
@media (max-width: 767px) {
  .voice_form__title { font-size: 22px; margin: 0 0 14px; }
}

.voice_form__sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-black);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 767px) {
  .voice_form__sub { font-size: 14px; }
}

.voice_form__privacy_note {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--clr-warm-gray);
  margin: 16px 0 0;
  letter-spacing: 0.04em;
}

/* ================================================================
   フォームカード
   ================================================================ */
.wpcf7 {
  max-width: 720px;
  margin: 0 auto;
}

.voice_form__form {
  background: var(--clr-white);
  border: 1px solid var(--clr-warm-light);
  border-radius: 5px;
  box-shadow: 0 2px 12px rgba(14, 47, 82, 0.07);
  padding: 48px 52px;
  margin: 0;
}
@media (max-width: 767px) {
  .voice_form__form { padding: 28px 20px; }
}

/* CF7 コントロールラップを block に */
.wpcf7-form-control-wrap {
  display: block;
}

/* ---- 行 ---- */
.voice_form__row {
  margin-bottom: 26px;
}
@media (max-width: 767px) {
  .voice_form__row { margin-bottom: 22px; }
}
.voice_form__row:last-of-type {
  margin-bottom: 0;
}

/* ---- ラベル ---- */
.voice_form__label {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  line-height: 1.5;
}

/* ---- 必須・任意バッジ ---- */
.voice_form__req {
  font-size: 11px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.04em;
  background: var(--clr-blue);
  color: var(--clr-white);
  padding: 2px 7px;
  border-radius: 2px;
  flex-shrink: 0;
  line-height: 1.6;
}

.voice_form__req--any {
  background: var(--clr-warm-gray);
}

/* ---- 補足説明文 ---- */
.voice_form__note {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--clr-warm-gray);
  line-height: 1.6;
  margin: 0 0 10px;
}
@media (max-width: 767px) {
  .voice_form__note { font-size: 12px; }
}

/* ---- テキスト入力 ---- */
.voice_form__input {
  display: block;
  width: 100%;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
  background: var(--clr-white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
}

.voice_form__input::placeholder {
  color: var(--clr-warm-gray);
  font-size: 14px;
}

.voice_form__input:focus {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-blue) 15%, transparent);
}

.voice_form__input.wpcf7-not-valid {
  border-color: #c0392b;
}

/* ---- セレクト ---- */
.voice_form__select {
  display: block;
  width: 100%;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 12px 40px 12px 14px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
  background-color: var(--clr-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5.5L11 1' stroke='%23B8A898' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  cursor: pointer;
}
@media (max-width: 767px) {
  .voice_form__select { padding: 11px 36px 11px 12px; }
}

.voice_form__select:focus {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-blue) 15%, transparent);
}

.voice_form__select.wpcf7-not-valid {
  border-color: #c0392b;
}

/* プレースホルダー（first_as_label）を選択中はグレー表示 */
.voice_form__select option[value=""],
.voice_form__select option:disabled {
  color: var(--clr-warm-gray);
}

/* ---- テキストエリア ---- */
.voice_form__textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
  background: var(--clr-white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .voice_form__textarea { min-height: 120px; padding: 11px 12px; }
}

.voice_form__textarea::placeholder {
  color: var(--clr-warm-gray);
  font-size: 14px;
}

.voice_form__textarea:focus {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-blue) 15%, transparent);
}

.voice_form__textarea.wpcf7-not-valid {
  border-color: #c0392b;
}

/* ---- ファイル添付 ---- */
.voice_form__file_wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px dashed var(--clr-warm-light);
  border-radius: 3px;
  padding: 14px;
  background: var(--clr-warm-pale);
}

.voice_form__file {
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
}

.voice_form__file::file-selector-button {
  background: var(--clr-blue);
  color: var(--clr-white);
  border: none;
  border-radius: 3px;
  padding: 8px 16px;
  font-size: 13px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  margin-right: 12px;
  cursor: pointer;
  transition: opacity 0.18s;
}

.voice_form__file::file-selector-button:hover {
  opacity: 0.85;
}

/* ---- 星評価セレクト（--rating--） ---- */
.voice_form__rating_hint {
  font-size: 13px;
  color: var(--clr-gold);
  font-weight: 700;
  margin-left: 4px;
}

/* ---- 送信ボタン ---- */
.voice_form__submit_wrap {
  text-align: center;
  margin-top: 32px;
}
@media (max-width: 767px) {
  .voice_form__submit_wrap { margin-top: 24px; }
}

.voice_form__submit {
  display: inline-block;
  background: var(--clr-blue);
  color: var(--clr-white);
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 72px;
  border-radius: 4px;
  border: none;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
@media (max-width: 767px) {
  .voice_form__submit {
    display: block;
    width: 100%;
    padding: 16px 20px;
  }
}

.voice_form__submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.voice_form__submit:active {
  transform: translateY(0);
}

/* ---- CF7 フィールドエラーメッセージ ---- */
.wpcf7-not-valid-tip {
  display: block;
  font-size: 12px;
  color: #c0392b;
  margin-top: 5px;
  line-height: 1.5;
}

/* ---- CF7 レスポンス出力 ---- */
.wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 18px;
  border-radius: 3px;
  font-size: 16px;
  line-height: 1.7;
  border: none;
}

.wpcf7-form.sent .wpcf7-response-output {
  background: var(--clr-blue-pale);
  border: 1px solid color-mix(in srgb, var(--clr-blue) 40%, transparent);
  color: var(--clr-blue-dark);
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  background: #fdf2f0;
  border: 1px solid #e8b4ae;
  color: #c0392b;
}

.wpcf7-form.spam .wpcf7-response-output {
  background: var(--clr-warm-pale);
  border: 1px solid var(--clr-warm-light);
  color: var(--clr-warm-gray);
}

/**********************************************************************************************************
 お客様の声 投稿フォーム　ここまで
***********************************************************************************************************/


/**********************************************************************************************************
 実績投稿フォーム　ここから
***********************************************************************************************************/
/* ========================================
   achievement_form — 施行実績 投稿フォーム
   ======================================== */

/* ---- Wrap ---- */
.achievement_form__wrap {
  background: var(--clr-warm-pale);
  padding: 80px 0 100px;
}
@media (max-width: 767px) {
  .achievement_form__wrap { padding: 52px 0 72px; }
}

.achievement_form__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .achievement_form__inner { padding: 0 16px; }
}

/* ---- セクションタイトル ---- */
.achievement_form__head {
  text-align: center;
  margin-bottom: 52px;
}
@media (max-width: 767px) {
  .achievement_form__head { margin-bottom: 36px; }
}

.achievement_form__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  letter-spacing: 0.1em;
  line-height: 1.44;
  margin: 0 0 20px;
}
@media (max-width: 767px) {
  .achievement_form__title { font-size: 22px; margin: 0 0 14px; }
}

.achievement_form__sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-black);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 767px) {
  .achievement_form__sub { font-size: 14px; }
}

/* ================================================================
   フォームカード
   ================================================================ */
.wpcf7 {
  max-width: 720px;
  margin: 0 auto;
}

.achievement_form__form {
  background: var(--clr-white);
  border: 1px solid var(--clr-warm-light);
  border-radius: 5px;
  box-shadow: 0 2px 12px rgba(14, 47, 82, 0.07);
  padding: 48px 52px;
  margin: 0;
}
@media (max-width: 767px) {
  .achievement_form__form { padding: 28px 20px; }
}

/* CF7 コントロールラップを block に */
.wpcf7-form-control-wrap {
  display: block;
}

/* ---- 行 ---- */
.achievement_form__row {
  margin-bottom: 26px;
}
@media (max-width: 767px) {
  .achievement_form__row { margin-bottom: 22px; }
}
.achievement_form__row:last-of-type {
  margin-bottom: 0;
}

/* ---- ラベル ---- */
.achievement_form__label {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  line-height: 1.5;
}

/* ---- 必須・任意バッジ ---- */
.achievement_form__req {
  font-size: 11px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.04em;
  background: var(--clr-blue);
  color: var(--clr-white);
  padding: 2px 7px;
  border-radius: 2px;
  flex-shrink: 0;
  line-height: 1.6;
}

.achievement_form__req--any {
  background: var(--clr-warm-gray);
}

/* ---- 補足説明文 ---- */
.achievement_form__note {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--clr-warm-gray);
  line-height: 1.6;
  margin: 0 0 10px;
}
@media (max-width: 767px) {
  .achievement_form__note { font-size: 12px; }
}

/* ---- テキスト / 数値入力 ---- */
.achievement_form__input {
  display: block;
  width: 100%;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
  background: var(--clr-white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
}

.achievement_form__input::placeholder {
  color: var(--clr-warm-gray);
  font-size: 14px;
}

.achievement_form__input:focus {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-blue) 15%, transparent);
}

.achievement_form__input.wpcf7-not-valid {
  border-color: #c0392b;
}

/* ---- 総額入力（円サフィックス付き） ---- */
.achievement_form__input_suffix_wrap {
  position: relative;
}

.achievement_form__input_suffix_wrap .achievement_form__input {
  padding-right: 44px;
}

.achievement_form__input_suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--clr-warm-gray);
  pointer-events: none;
}

/* ---- セレクト ---- */
.achievement_form__select {
  display: block;
  width: 100%;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 12px 40px 12px 14px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
  background-color: var(--clr-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5.5L11 1' stroke='%23B8A898' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  cursor: pointer;
}
@media (max-width: 767px) {
  .achievement_form__select { padding: 11px 36px 11px 12px; }
}

.achievement_form__select:focus {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-blue) 15%, transparent);
}

.achievement_form__select.wpcf7-not-valid {
  border-color: #c0392b;
}

.achievement_form__select option[value=""],
.achievement_form__select option:disabled {
  color: var(--clr-warm-gray);
}

/* ---- テキストエリア ---- */
.achievement_form__textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
  background: var(--clr-white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .achievement_form__textarea { min-height: 120px; padding: 11px 12px; }
}

.achievement_form__textarea::placeholder {
  color: var(--clr-warm-gray);
  font-size: 14px;
}

.achievement_form__textarea:focus {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-blue) 15%, transparent);
}

.achievement_form__textarea.wpcf7-not-valid {
  border-color: #c0392b;
}

/* ---- ファイル添付（KV画像） ---- */
.achievement_form__file_wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px dashed var(--clr-warm-light);
  border-radius: 3px;
  padding: 14px;
  background: var(--clr-warm-pale);
}

.achievement_form__file {
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--clr-navy);
}

.achievement_form__file::file-selector-button {
  background: var(--clr-blue);
  color: var(--clr-white);
  border: none;
  border-radius: 3px;
  padding: 8px 16px;
  font-size: 13px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  margin-right: 12px;
  cursor: pointer;
  transition: opacity 0.18s;
}

.achievement_form__file::file-selector-button:hover {
  opacity: 0.85;
}

/* ---- 送信ボタン ---- */
.achievement_form__submit_wrap {
  text-align: center;
  margin-top: 32px;
}
@media (max-width: 767px) {
  .achievement_form__submit_wrap { margin-top: 24px; }
}

.achievement_form__submit {
  display: inline-block;
  background: var(--clr-blue);
  color: var(--clr-white);
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 72px;
  border-radius: 4px;
  border: none;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
@media (max-width: 767px) {
  .achievement_form__submit {
    display: block;
    width: 100%;
    padding: 16px 20px;
  }
}

.achievement_form__submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.achievement_form__submit:active {
  transform: translateY(0);
}

/* ---- CF7 フィールドエラーメッセージ ---- */
.wpcf7-not-valid-tip {
  display: block;
  font-size: 12px;
  color: #c0392b;
  margin-top: 5px;
  line-height: 1.5;
}

/* ---- CF7 レスポンス出力 ---- */
.wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 18px;
  border-radius: 3px;
  font-size: 16px;
  line-height: 1.7;
  border: none;
}

.wpcf7-form.sent .wpcf7-response-output {
  background: var(--clr-blue-pale);
  border: 1px solid color-mix(in srgb, var(--clr-blue) 40%, transparent);
  color: var(--clr-blue-dark);
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  background: #fdf2f0;
  border: 1px solid #e8b4ae;
  color: #c0392b;
}

.wpcf7-form.spam .wpcf7-response-output {
  background: var(--clr-warm-pale);
  border: 1px solid var(--clr-warm-light);
  color: var(--clr-warm-gray);
}

/**********************************************************************************************************
 実績投稿フォーム　ここまで
***********************************************************************************************************/

/**********************************************************************************************************
 実績　固定ページ用　ここから
***********************************************************************************************************/
/* ========================================
   achievement — 施行実績
   ======================================== */

.achievement__wrap {
  background: var(--clr-white);
  padding: 80px 0 96px;
}

#achievement_list {
  /* ページネーションで #achievement_list へジャンプした際、固定ヘッダーに隠れないよう余白を確保 */
  scroll-margin-top: 100px;
}
@media (max-width: 767px) {
  #achievement_list { scroll-margin-top: 72px; }
}
@media (max-width: 767px) {
  .achievement__wrap { padding: 52px 0 68px; }
}

.achievement__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .achievement__inner { padding: 0 16px; }
}

/* ---- セクションタイトル ---- */

.achievement__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-blue);
  text-align: center;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}
@media (max-width: 767px) {
  .achievement__title { font-size: 22px; margin: 0 0 12px; }
}

.achievement__title_line {
  width: 48px;
  height: 2px;
  /* background: var(--clr-blue); */
  margin: 0 auto 40px;
}
@media (max-width: 767px) {
  .achievement__title_line { margin: 0 auto 28px; }
}

/* ---- レイアウト（メイン＋サイドバー） ---- */

.achievement__layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
@media (max-width: 1023px) {
  .achievement__layout { flex-direction: column-reverse; gap: 24px; }
}

.achievement__main {
  flex: 1;
  min-width: 0;
}

/* ---- カードグリッド ---- */

.achievement__cards_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .achievement__cards_grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
  .achievement__cards_grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---- サイドバー（カテゴリ絞り込み） ---- */

.achievement__sidebar {
  width: 260px;
  flex-shrink: 0;
  position: relative;
  will-change: transform;
  max-height: calc(100vh - 110px - 40px);
  overflow-y: auto;
}
@media (max-width: 1023px) {
  .achievement__sidebar { width: 100%; max-height: none; overflow-y: visible; }
}

.achievement__sidebar_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-navy);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--clr-blue-pale);
}

.achievement__sidebar_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 1023px) {
  .achievement__sidebar_list { flex-direction: row; flex-wrap: wrap; gap: 10px; }
}

.achievement__sidebar_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: var(--clr-white);
  border: 1px solid var(--clr-warm-light);
  border-radius: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-navy);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
@media (max-width: 1023px) {
  .achievement__sidebar_link { padding: 8px 14px; }
}

.achievement__sidebar_link:hover {
  border-color: var(--clr-blue);
  color: var(--clr-blue);
}

.achievement__sidebar_link.is_active {
  background: var(--clr-blue);
  border-color: var(--clr-blue);
  color: var(--clr-white);
}

.achievement__sidebar_count {
  flex-shrink: 0;
  min-width: 24px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--clr-blue-pale);
  color: var(--clr-blue);
  font-size: 12px;
  text-align: center;
}

.achievement__sidebar_link.is_active .achievement__sidebar_count {
  background: var(--clr-white);
  color: var(--clr-blue);
}

/* ---- カード ---- */

.achievement__card {
  background: var(--clr-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px color-mix(in srgb, var(--clr-navy) 6%, transparent);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.achievement__card:focus-visible {
  outline: 2px solid var(--clr-blue);
  outline-offset: 2px;
}

.achievement__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--clr-navy) 10%, transparent);
}

/* ---- サムネイル（KV画像） ---- */

.achievement__card_thumb {
  position: relative;
  width: 100%;
  padding-top: 62%;
  overflow: hidden;
  background: var(--clr-blue-pale);
}

.achievement__card_thumb img,
.achievement__card_thumb_noimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.achievement__card_thumb_noimg {
  background: var(--clr-blue-pale);
}

/* ---- カテゴリバッジ ---- */

.achievement__card_badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.achievement__card_badge--kasou {
  background: var(--clr-blue-pale);
  color: var(--clr-blue);
}

.achievement__card_badge--kazoku {
  background: var(--clr-blue);
  color: var(--clr-white);
}

.achievement__card_badge--ippan {
  background: var(--clr-navy);
  color: var(--clr-white);
}

/* ---- カード本文 ---- */

.achievement__card_body {
  padding: 20px;
}
@media (max-width: 767px) {
  .achievement__card_body { padding: 16px; }
}

.achievement__card_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.5;
  margin: 0 0 12px;
}

/* ---- メタ情報（会場・総額） ---- */

.achievement__card_meta {
  margin: 0 0 12px;
  padding: 12px 0;
  border-top: 1px solid var(--clr-warm-light);
  border-bottom: 1px solid var(--clr-warm-light);
}

.achievement__card_meta_row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
}
.achievement__card_meta_row + .achievement__card_meta_row {
  margin-top: 6px;
}

.achievement__card_meta_row dt {
  flex-shrink: 0;
  width: 44px;
  color: var(--clr-warm-gray);
}

.achievement__card_meta_row dd {
  margin: 0;
  color: var(--clr-blue);
  font-weight: 700;
}

/* ---- コメント ---- */

.achievement__card_comment {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--clr-navy);
  line-height: 1.8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   ページネーション
   ======================================== */

.achievement__pagination {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
@media (max-width: 767px) {
  .achievement__pagination { margin-top: 36px; }
}

.achievement__pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.achievement__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--clr-white);
  border: 1px solid var(--clr-warm-light);
  border-radius: 3px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-navy);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.achievement__pagination .page-numbers:hover {
  background: var(--clr-blue);
  border-color: var(--clr-blue);
  color: var(--clr-white);
}

.achievement__pagination .page-numbers.current {
  background: var(--clr-blue);
  border-color: var(--clr-blue);
  color: var(--clr-white);
}

.achievement__pagination .page-numbers.dots {
  border: none;
  background: none;
}

/* ========================================
   詳細モーダル
   ======================================== */

.achievement_modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.achievement_modal.is_open {
  display: block;
}

.achievement_modal_overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--clr-navy) 55%, transparent);
}

.achievement_modal_dialog {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 640px;
  max-height: 86vh;
  margin: 7vh auto 0;
  background: var(--clr-white);
  border-radius: 8px;
  overflow-y: auto;
  animation: achievement_modal_in 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@media (max-width: 767px) {
  .achievement_modal_dialog { width: 94%; max-height: 90vh; margin-top: 5vh; }
}

@keyframes achievement_modal_in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.achievement_modal_close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--clr-white);
  color: var(--clr-navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--clr-navy) 20%, transparent);
}
.achievement_modal_close:hover {
  background: var(--clr-blue);
  color: var(--clr-white);
}

.achievement_modal_thumb {
  position: relative;
  width: 100%;
  padding-top: 56%;
  background: var(--clr-blue-pale);
}
.achievement_modal_thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.achievement_modal_thumb img[src=""] {
  display: none;
}

.achievement_modal_badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  border-radius: 4px;
  background: var(--clr-blue);
  color: var(--clr-white);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.achievement_modal_badge:empty {
  display: none;
}

.achievement_modal_badge.achievement__card_badge--kasou { background: var(--clr-blue-pale); color: var(--clr-blue); }
.achievement_modal_badge.achievement__card_badge--kazoku { background: var(--clr-blue); }
.achievement_modal_badge.achievement__card_badge--ippan { background: var(--clr-navy); }

.achievement_modal_body {
  padding: 28px 28px 32px;
}
@media (max-width: 767px) {
  .achievement_modal_body { padding: 20px 20px 24px; }
}

.achievement_modal_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-navy);
  margin: 0 0 16px;
}
@media (max-width: 767px) {
  .achievement_modal_title { font-size: 19px; }
}

.achievement_modal_meta {
  margin: 0 0 20px;
  padding: 16px;
  background: var(--clr-warm-pale);
  border-radius: 6px;
}

.achievement_modal_meta_row {
  display: flex;
  gap: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
}
.achievement_modal_meta_row + .achievement_modal_meta_row {
  margin-top: 8px;
}
.achievement_modal_meta_row:empty,
.achievement_modal_meta_row.is_hidden {
  display: none;
}

.achievement_modal_meta_row dt {
  flex-shrink: 0;
  width: 3.5em;
  color: var(--clr-warm-gray);
  font-weight: 700;
}

.achievement_modal_meta_row dd {
  margin: 0;
  color: var(--clr-blue);
  font-weight: 700;
}

.achievement_modal_comment {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--clr-navy);
  margin: 0;
  white-space: pre-wrap;
}





/**********************************************************************************************************
 実績　固定ページ用　ここまで
***********************************************************************************************************/
