@charset "UTF-8";
/* =========================================================
   下層ページ（サービス / 料金プラン / 選ばれる理由）
   style.css の後に読み込み
   ========================================================= */

/* ---------- 下層ページ共通（Figmaに合わせた調整） ---------- */
.sub { background: var(--bg-light); }
.page-head__title { letter-spacing: .05em; }
.breadcrumb { font-weight: 500; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }

.page-heading { font-family: var(--ff-zen); font-size: 34px; line-height: 1.3; letter-spacing: .05em; text-align: center; }
.page-lead { font-family: var(--ff-zen); font-size: 18px; line-height: 1.6; letter-spacing: .05em; text-align: center; }

/* ロゴマーク＋2段タイトル */
.page-ttl { display: flex; align-items: center; justify-content: center; gap: 21px; }
.page-ttl__icon { width: 69px; height: 82px; object-fit: contain; }
.page-ttl__text { font-family: var(--ff-zen); font-size: 34px; line-height: 1.2; letter-spacing: .05em; }
.page-ttl__text span { display: block; font-size: 24px; line-height: 1.3; }

/* 大きいオレンジボタン */
.btn--cta {
  background: var(--accent); padding: 26px 39px; border-radius: 100px; box-shadow: var(--shadow);
  font-weight: 900; font-size: 20px; letter-spacing: .05em;
}
.btn--cta-sm { font-weight: 700; font-size: 18px; }

/* ---------- サービス ---------- */
.svc { display: flex; flex-direction: column; align-items: center; gap: 49px; padding: 20px 79px 80px; }
.svc__head { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.svc__head .page-lead { margin-top: 22px; }
.svc__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 24px; max-width: 1220px; }
.card--page { height: auto; min-height: 340px; }
.card--page .card__text { width: 237px; margin: auto 0; padding-bottom: 18px; }
.card--page .card__text--wide { width: auto; }
.card--page .card__img { margin-bottom: -15px; }

/* ---------- 料金プラン ---------- */
.price-intro { display: flex; flex-direction: column; align-items: center; padding: 20px 79px 45px; }
.price-intro .page-lead { margin-top: 32px; }
.price-intro .btn { margin-top: 36px; }

.plans { background: var(--white); padding: 45px 79px 64px; }
.plans__title { font-family: var(--ff-zen); font-size: 34px; line-height: 1; text-align: center; color: #000; }
.plans__list { display: flex; align-items: flex-end; justify-content: center; gap: 43px; max-width: var(--inner); margin: 45px auto 0; padding-top: 30px; }

.plan {
  position: relative; flex: 1; max-width: 387px; display: flex; flex-direction: column; align-items: center;
  padding: 20px 20px 30px; background: var(--white); border-radius: 20px; box-shadow: 0 5px 5px rgba(0, 0, 0, .26);
}
.plan--popular { flex: 0 0 422px; max-width: 422px; border: 3px solid var(--card-head); padding-top: 23px; }
.plan__badge {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 196px; padding: 10px 0;
  background: linear-gradient(90deg, #4272ed, #9079f2); color: var(--white);
  font-family: var(--ff-zen); font-size: 24px; line-height: 1; letter-spacing: .05em; text-align: center;
}
.plan__img { width: 100%; max-width: 347px; height: 152px; display: grid; place-items: center; background: #eff2fe; border-radius: 20px; overflow: hidden; }
.plan__img img { width: auto; height: 138px; object-fit: contain; }
.plan--popular .plan__img img { height: 144px; }
.plan__en { margin-top: 12px; font-family: var(--ff-en); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: .3em; color: var(--primary); text-align: center; }
.plan__name { margin-top: 11px; font-family: var(--ff-zen); font-size: 19px; line-height: 1; letter-spacing: .05em; text-align: center; }
.plan__price { margin-top: 12px; font-family: var(--ff-zen); font-size: 32.8px; line-height: 1; color: #000; white-space: nowrap; }
.plan__price .num { font-size: 58.6px; }

.plan__features { width: 288px; max-width: 100%; margin-top: 20px; }
.plan__features li {
  display: flex; align-items: center; justify-content: space-between; min-height: 49px; padding: 14px 5px 14px 0;
  border-bottom: 1px solid #bcbcbc; font-family: var(--ff-zen); font-size: 14px; line-height: 1; color: #000;
}

/* ○ × △ のマーク */
.mark { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.mark--o,
.mark--t { background: no-repeat center / contain; }
.mark--o { background-image: url("../img/check.svg"); }
.mark--t { background-image: url("../img/triangle.svg"); background-size: 17px 15px; }
.mark--x::before, .mark--x::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 19px; height: 1.6px; background: #a0a0a0;
}
.mark--x::before { transform: translate(-50%, -50%) rotate(45deg); }
.mark--x::after { transform: translate(-50%, -50%) rotate(-45deg); }

.plan__btn {
  display: flex; align-items: center; justify-content: center; gap: 28px; width: 330px; max-width: 100%; margin-top: 24px; padding: 22px 0;
  border-radius: 80px; background: linear-gradient(90deg, #3c71ec, #9379f2); color: var(--white);
  font-family: var(--ff-zen); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: .05em; transition: opacity .25s, transform .25s;
}
.plan__btn:hover { opacity: .85; transform: translateY(-1px); }
.plan__btn--outline { background: var(--white); border: 2px solid var(--primary); color: var(--primary); padding: 20px 0; }
.plans__note { max-width: var(--inner); margin: 24px auto 0; font-size: 13px; text-align: center; color: #6b7590; }

/* ---------- 選ばれる理由 ---------- */
.reason-page { padding: 40px 79px 80px; }
.reason-page__list { display: flex; flex-direction: column; gap: 32px; max-width: 840px; margin: 0 auto; }
.reason--wide { width: 100%; min-height: 210px; padding: 0 8px 0 32px; gap: 20px; }
.reason--wide .reason__body { gap: 12px; }
.reason--wide .reason__head { display: flex; flex-direction: column; gap: 8px; padding: 0 20px; }
.reason--wide .reason__text { margin-top: 0; padding-left: 20px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1360px) {
  .svc, .price-intro, .plans, .reason-page { padding-left: 40px; padding-right: 40px; }
  .plans__list { gap: 24px; }
  .plan--popular { flex-basis: 380px; }
}

@media (max-width: 1100px) {
  .plans__list { flex-direction: column; align-items: center; gap: 56px; }
  .plan, .plan--popular { flex: none; width: 100%; max-width: 422px; }
  .plan--popular { order: -1; }
}

@media (max-width: 767px) {
  .page-heading { font-size: 22px; }
  .page-lead { font-size: 15px; }
  .page-ttl { gap: 12px; }
  .page-ttl__icon { width: 48px; height: 58px; }
  .page-ttl__text { font-size: 26px; }
  .page-ttl__text span { font-size: 16px; }
  .btn--cta { width: 100%; max-width: 340px; padding: 22px 16px; font-size: 16px; gap: 14px; }

  .svc { padding: 16px 16px 56px; gap: 36px; }
  .svc__head .page-lead { margin-top: 8px; }
  .svc__list { flex-direction: column; align-items: center; gap: 20px; }
  .card--page { height: auto; }
  .card--page .card__text { width: auto; padding: 0 24px 24px; }

  .price-intro { padding: 16px 16px 40px; }
  .price-intro .page-lead { margin-top: 16px; }
  .price-intro .btn { margin-top: 24px; }
  .plans { padding: 40px 16px 48px; }
  .plans__title { font-size: 26px; }
  .plans__list { margin-top: 24px; }
  .plan__price .num { font-size: 48px; }
  .plan__price { font-size: 26px; }

  .reason-page { padding: 24px 16px 56px; }
  .reason-page__list { gap: 20px; }
  .reason--wide { padding: 24px 20px; }
  .reason--wide .reason__head, .reason--wide .reason__text { padding-left: 0; padding-right: 0; }
  .reason--wide .reason__img { width: 235px; max-width: 100%; height: auto; }
  .reason--wide .reason__img img { height: auto; }
}

/* =========================================================
   Webサイト管理代行とは / 対応業種
   ========================================================= */
.about-page { padding: 40px 79px 80px; }
.about-page .about__body { margin: 0 auto; }

.ind { display: flex; flex-direction: column; align-items: center; gap: 70px; padding: 40px 79px 80px; }
.ind__intro { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ind__lead { font-family: var(--ff-zen); font-size: 16px; line-height: 1.5; letter-spacing: .05em; text-align: center; }

.ind-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ind-nav__item { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 190px; padding-bottom: 6px; background: var(--white); border-radius: 10px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
a.ind-nav__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ind-nav__img { display: block; width: 100%; height: 154px; background: #e9ebf5; }
.ind-nav__img img { width: 100%; height: 100%; object-fit: cover; }
.ind-nav__label { font-family: var(--ff-zen); font-weight: 500; font-size: 14px; line-height: 1; letter-spacing: .05em; white-space: nowrap; }
.ind-nav__arrow { width: 8px; height: 8px; margin-top: -2px; border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor; transform: rotate(45deg); }

.ind__details { display: flex; flex-direction: column; gap: 45px; width: 900px; max-width: 100%; }
.ind-detail { display: flex; align-items: stretch; background: var(--white); border-radius: 10px; overflow: hidden; scroll-margin-top: 120px; }
.ind-detail__img { width: 411px; flex-shrink: 0; min-height: 358px; background: #e9ebf5; }
.ind-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.ind-detail__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 25px 40px; }
.ind-detail__title {
  position: relative; padding-left: 21px; font-family: var(--ff-zen); font-weight: 900; font-size: 16px; line-height: 39px; letter-spacing: .05em; color: #000;
}
.ind-detail__title::before { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 39px; border-radius: 22px; background: linear-gradient(180deg, #879afa, #4fcbb9); }
.ind-detail__title strong { font-size: 24px; font-weight: 900; }
.ind-detail__worries { padding-bottom: 8px; border-bottom: 1px solid #000; }
.ind-detail__label { font-family: var(--ff-zen); font-size: 16px; line-height: 1; letter-spacing: .05em; }
.ind-detail__worries ul { margin-top: 6px; font-family: var(--ff-zen); font-weight: 500; font-size: 16px; line-height: 1.6; letter-spacing: .05em; color: #2b2b2b; }
.ind-detail__worries li::before { content: "・"; }
.ind-detail__text { margin-top: -8px; font-family: var(--ff-zen); font-weight: 500; font-size: 14px; line-height: 1.4; letter-spacing: .05em; }
.ind-detail__btn {
  align-self: center; display: inline-flex; align-items: center; gap: 25px; padding: 9px 26px; border-radius: 80px; background: #fd6408; color: var(--white);
  font-family: var(--ff-zen); font-weight: 700; font-size: 14px; line-height: 1.2; letter-spacing: .05em; text-align: center; transition: opacity .25s, transform .25s;
}
.ind-detail__btn:hover { opacity: .85; transform: translateY(-1px); }
.ind-detail__title, .ind-detail__btn { white-space: nowrap; }
.ind-detail.is-long .ind-detail__title strong { letter-spacing: -.1em; }
.ind-detail.is-long .ind-detail__btn { padding: 9px 16px; letter-spacing: 0; }

@media (max-width: 1360px) {
  .about-page, .ind { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 1100px) {
  .ind-nav { max-width: 600px; }
}
@media (max-width: 960px) {
  .ind-detail { flex-direction: column; }
  .ind-detail__title, .ind-detail__btn { white-space: normal; }
  .ind-detail__img { width: 100%; min-height: 0; aspect-ratio: 411 / 300; }
}
@media (max-width: 767px) {
  .about-page { padding: 24px 16px 56px; }
  .ind { padding: 24px 16px 56px; gap: 40px; }
  .ind__lead { font-size: 14px; text-align: left; }
  .ind__lead br { display: none; }
  .ind-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; }
  .ind-nav__item { width: auto; }
  .ind-nav__img { height: auto; aspect-ratio: 190 / 154; }
  .ind-nav__label { font-size: 13px; white-space: normal; text-align: center; padding: 0 4px; }
  .ind__details { gap: 24px; }
  .ind-detail__body { padding: 24px 20px; }
  .ind-detail__title { font-size: 14px; line-height: 1.4; padding: 6px 0 6px 21px; }
  .ind-detail__title::before { height: 100%; }
  .ind-detail__title strong { font-size: 20px; }
  .ind-detail__worries ul { font-size: 14px; }
  .ind-detail__worries li { padding-left: 1em; text-indent: -1em; }
  .ind-detail__title, .ind-detail__btn { white-space: normal; }
  .ind-detail.is-long .ind-detail__title strong { letter-spacing: .05em; }
  .ind-detail__btn, .ind-detail.is-long .ind-detail__btn { gap: 12px; padding: 12px 20px; font-size: 13px; }
  .ind-detail__text br { display: none; }
}


/* =========================================================
   会社概要 / よくあるご質問
   ========================================================= */
.box-wrap { padding: 40px 79px 80px; }
.box { max-width: var(--inner); margin: 0 auto; padding: 50px 210px; background: var(--white); border-radius: 10px; }

/* 会社概要 */
.company-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.3; color: #232323; }
.company-table th, .company-table td { padding: 10px 20px; border: 1px solid #c0c0c0; text-align: left; vertical-align: middle; }
.company-table th { width: 212px; background: #f9f9f9; font-weight: 700; }
.company-table__link { display: inline-flex; align-items: center; gap: 3px; margin-left: 12px; font-size: 12px; vertical-align: 1px; transition: color .2s; }
.company-table__link:hover { color: var(--primary); }
.company-table__link .ext {
  flex-shrink: 0; width: 13px; height: 13px; background: currentColor;
  -webkit-mask: url("../img/link.svg") no-repeat center / contain;
  mask: url("../img/link.svg") no-repeat center / contain;
}

/* よくあるご質問 */
.faq__item { border-bottom: 1px solid #c0c0c0; }
.faq__q { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__a { display: flex; align-items: flex-start; gap: 10px; padding: 16px 20px; }
.faq__mark { flex-shrink: 0; font-family: var(--ff-en); font-weight: 700; font-size: 31px; line-height: 1.1; color: #fd6408; }
.faq__q .faq__text { flex: 1; font-size: 16px; line-height: 1.5; transition: color .2s; }
.faq__q:hover .faq__text { color: var(--primary); }
.faq__a .faq__text { flex: 1; padding-top: 4px; font-size: 16px; line-height: 1.5; }
.faq__icon { flex-shrink: 0; width: 10px; height: 10px; margin: 0 3px; border-right: 1.8px solid var(--navy); border-bottom: 1.8px solid var(--navy); transform: translateY(-3px) rotate(45deg); transition: transform .25s; }
.faq__item[open] .faq__icon { transform: translateY(3px) rotate(-135deg); }
.faq__item[open] .faq__a { animation: faqOpen .3s ease; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1360px) {
  .box-wrap { padding-left: 40px; padding-right: 40px; }
  .box { padding: 50px 80px; }
}
@media (max-width: 767px) {
  .box-wrap { padding: 24px 16px 56px; }
  .box { padding: 24px 16px; }
  .company-table, .company-table tbody, .company-table tr, .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th, .company-table td { border-width: 0 1px 1px; font-size: 14px; }
  .company-table tr:first-child th { border-top-width: 1px; }
  .company-table__link { margin: 6px 0 0; }
  .faq__q, .faq__a { padding: 14px 4px; }
  .faq__mark { font-size: 24px; }
  .faq__q .faq__text, .faq__a .faq__text { font-size: 14px; }
  .faq__a .faq__text { padding-top: 2px; }
}


/* =========================================================
   資料ダウンロード / プライバシーポリシー
   ========================================================= */
.docs { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 30px; max-width: 955px; margin: 0 auto; }
.doc { width: 265px; display: flex; flex-direction: column; }
.doc__thumb { height: 150px; border-radius: 5px; overflow: hidden; background: #d9d9d9; }
.doc__thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc__body { flex: 1; display: flex; flex-direction: column; padding: 8px 4px 0; }
.doc__title { font-size: 14px; line-height: 1.3; }
.doc__desc { margin-top: 7px; font-size: 12px; line-height: 1.5; }
.doc__link {
  display: inline-flex; align-items: center; justify-content: space-between; align-self: flex-start; width: 145px; margin-top: auto; padding: 16px 3px 2px 1px;
  border-bottom: .5px solid var(--navy); font-size: 12px; line-height: 1.07; transition: color .2s, border-color .2s;
}
a.doc__link:hover { color: var(--primary); border-color: var(--primary); }
.doc__link.is-disabled { color: #9aa1b3; border-color: #c9cdd8; }

.policy { margin-top: 0; font-size: 15px; }
.policy > :first-child { margin-top: 0; }
.policy h2 { font-size: 20px; }

@media (max-width: 767px) {
  .docs { gap: 32px; }
  .doc { width: 100%; max-width: 340px; }
  .doc__thumb { height: auto; aspect-ratio: 265 / 150; }
  .policy { font-size: 14px; }
  .policy h2 { font-size: 18px; }
}


/* =========================================================
   事例紹介（一覧 / 詳細）
   ========================================================= */
.works-layout { display: flex; align-items: flex-start; justify-content: center; gap: 49px; max-width: 1440px; margin: 0 auto; padding: 40px 79px 54px; }

/* 左：業種カテゴリー */
.works-side { flex-shrink: 0; min-width: 161px; white-space: nowrap; padding-top: 30px; position: sticky; top: 130px; }
.works-side__head { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
.works-side__title { font-family: var(--ff-zen); font-size: 17px; line-height: 1.3; letter-spacing: .05em; }
.works-side__list { display: flex; flex-direction: column; gap: 16px; margin-top: 33px; font-size: 14px; line-height: 1; letter-spacing: .05em; }
.works-side__list a { transition: color .2s; }
.works-side__list a:hover, .works-side__list a[aria-current] { color: var(--primary); }
.works-side__list a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }

/* 一覧 */
.works-main { flex: 1; max-width: 1067px; display: flex; flex-direction: column; align-items: center; gap: 45px; }
.work-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 24px; max-width: 955px; }
.work-card { width: 265px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; transition: transform .25s; }
.work-card:hover { transform: translateY(-4px); }
.work-card a { display: block; }
.work-card__img { height: 180px; background: #e9ebf5; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; }
.work-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; }
.work-pill { display: inline-block; padding: 4px 8px; border-radius: 30px; background: var(--card-head); color: var(--white); font-size: 10px; line-height: 1; letter-spacing: .05em; white-space: nowrap; }
.work-pill--lg { padding: 7px 18px; font-size: 14px; letter-spacing: 0; }
.work-card__title { font-size: 14px; line-height: 1.7; }
.work-card__plan { margin-top: 8px; font-size: 10px; line-height: 1.7; }

.pagination--works { margin-top: 0; }
.pagination--works .page-numbers { border-color: var(--card-head); color: var(--card-head); font-family: var(--ff-zen); font-size: 18px; box-shadow: var(--shadow); background: var(--white); }
.pagination--works .page-numbers.current, .pagination--works a.page-numbers:hover { background: var(--card-head); color: var(--white); }
.pagination--works .page-numbers.dots { box-shadow: none; background: none; }

/* 詳細 */
.work { flex: 1; max-width: 1067px; min-width: 0; padding-bottom: 40px; background: var(--white); border-radius: 20px; overflow: hidden; }
.work__hero { position: relative; display: grid; place-items: center; aspect-ratio: 1278 / 415; background: #6b7590; }
.work__hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work__hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.work__name { position: relative; z-index: 1; padding: 0 16px; font-family: var(--ff-zen); font-size: 34px; line-height: 1.3; letter-spacing: .05em; color: var(--white); text-align: center; }
.work__inner { display: flex; flex-direction: column; gap: 28px; padding: 21px 40px 0; color: #232323; }
.work__lead { display: flex; flex-direction: column; gap: 16px; }
.work__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.work__plan { font-size: 14px; letter-spacing: .05em; }
.work__catch { font-family: var(--ff-zen); font-size: 34px; line-height: 1.3; letter-spacing: .05em; }

.work__info { display: flex; align-items: stretch; gap: 19px; }
.work__info-img { flex-shrink: 0; width: 246px; background: #d9d9d9; overflow: hidden; }
.work__info-img img { width: 100%; height: 100%; object-fit: cover; }
.work-table { flex: 1; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 1.3; }
.work-table th, .work-table td { padding: 16px 20px; border-bottom: 1px solid #c0c0c0; border-left: 1px solid #c0c0c0; text-align: left; vertical-align: middle; }
.work-table td { border-right: 1px solid #c0c0c0; background: var(--white); }
.work-table th { width: 142px; background: #f9f9f9; font-weight: 700; white-space: nowrap; }
.work-table tr:first-child th, .work-table tr:first-child td { border-top: 1px solid #c0c0c0; }
.work-table tr:first-child th { border-top-left-radius: 10px; }
.work-table tr:first-child td { border-top-right-radius: 10px; }
.work-table tr:last-child th { border-bottom-left-radius: 10px; }
.work-table tr:last-child td { border-bottom-right-radius: 10px; }

/* 本文（ブロックエディター） */
.work-body { margin-top: 17px; font-family: var(--ff-zen); font-weight: 500; font-size: 14px; line-height: 1.5; letter-spacing: .05em; }
.work-body > * + * { margin-top: 14px; }
.work-body h2 {
  position: relative; margin-top: 45px; padding: 0 0 0 23px; border: 0; font-weight: 900; font-size: 24px; line-height: 39px; letter-spacing: .05em;
}
.work-body h2:first-child { margin-top: 0; }
.work-body h2::before { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 39px; border-radius: 22px; background: linear-gradient(180deg, #879afa, #4fcbb9); }
.work-body .wp-block-media-text { display: grid; grid-template-columns: 246px 1fr !important; gap: 16px; align-items: center; }
.work-body .wp-block-media-text__media { grid-row: 1; grid-column: 1; margin: 0; }
.work-body .wp-block-media-text__content { grid-row: 1; grid-column: 2; }
.work-body .wp-block-media-text__media img { width: 100%; }
.work-body .wp-block-media-text__media { min-height: 162px; background: #d9d9d9; }
.work-body .wp-block-media-text__media img { height: 162px; object-fit: cover; border-radius: 0; }
.work-body .wp-block-media-text__content { padding: 0; }
.work-body .wp-block-media-text__content > * + * { margin-top: 1em; }
.work-body .work-result { position: relative; margin-top: 9px; padding-left: 21px; font-weight: 700; font-size: 16px; line-height: 1.2; }
.work-body h2 + .work-result { margin-top: 14px; }
.work-body .work-result::before {
  content: ""; position: absolute; left: 0; bottom: 3px; width: 14px; height: 14px;
  background: url("../img/works-arrow.svg") no-repeat center / contain;
}
.work-body .work-result strong { font-size: 32px; line-height: 1; color: var(--card-head); }
.work-body .work-result em { font-style: normal; color: var(--card-head); }
.work-body .work-voice { grid-template-columns: 150px 1fr !important; }
.work-body .work-voice .wp-block-media-text__media { width: 150px; min-height: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.work-body .work-voice .wp-block-media-text__media img { height: 100%; }
.work-body .work-voice__name { font-size: 12px; text-align: right; }

@media (max-width: 1360px) {
  .works-layout { padding-left: 40px; padding-right: 40px; gap: 32px; }
}
@media (max-width: 1100px) {
  .works-layout { flex-direction: column; align-items: stretch; }
  .works-side { position: static; width: 100%; padding-top: 0; white-space: normal; }
  .works-side__list { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; }
  .works-main, .work { max-width: none; }
  .work__info { flex-direction: column; }
  .work__info-img { width: 100%; max-width: 360px; aspect-ratio: 1; }
}
@media (max-width: 767px) {
  .works-layout { padding: 24px 16px 56px; gap: 24px; }
  .works-side__list { gap: 10px 16px; font-size: 13px; }
  .work-grid { gap: 20px; }
  .work-card { width: 100%; max-width: 340px; }
  .work__inner { padding: 20px 16px 0; gap: 20px; }
  .work__name { font-size: 22px; }
  .work__catch { font-size: 22px; }
  .work__catch br { display: none; }
  .work-table, .work-table tbody, .work-table tr, .work-table th, .work-table td { display: block; width: 100%; }
  .work-table th, .work-table td { padding: 10px 14px; font-size: 14px; border-radius: 0 !important; }
  .work-table th { border-top: 0; border-right: 1px solid #c0c0c0; }
  .work-table tr:first-child td { border-top: 0; }
  .work-table tr:first-child th { border-top: 1px solid #c0c0c0; border-radius: 10px 10px 0 0 !important; }
  .work-table tr:last-child td { border-radius: 0 0 10px 10px !important; }
  .work-body h2 { font-size: 20px; }
  .work-body .wp-block-media-text, .work-body .work-voice { grid-template-columns: 1fr !important; }
  .work-body .wp-block-media-text__content { grid-row: 2; grid-column: 1; }
  .work-body .wp-block-media-text__media { min-height: 0; }
  .work-body .wp-block-media-text__media img { height: auto; aspect-ratio: 246 / 162; }
  .work-body .work-voice .wp-block-media-text__media { margin: 0 auto; }
  .work-body .work-result strong { font-size: 26px; }
}


/* =========================================================
   ご相談・お申し込みフォーム
   ========================================================= */
.contact { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 40px 79px 80px; }
.contact__head { display: flex; flex-direction: column; align-items: center; gap: 45px; width: 100%; }
.contact__banner { width: 900px; max-width: 100%; aspect-ratio: 900 / 338; background: #d9d9d9; overflow: hidden; border-radius: .8rem;}
.contact__banner img { width: 100%; height: 100%; object-fit: cover; }
.contact__line { width: 100%; max-width: 1156px; margin: 0; border: 0; border-top: 1px solid #c0c0c0; }
.contact__title { font-family: var(--ff-zen); font-size: 34px; line-height: 1; letter-spacing: .05em; text-align: center; }
.contact__head .contact__title { margin-bottom: -15px; }
.contact__banner a { display: block; height: 100%; transition: opacity .25s; }
.contact__banner a:hover { opacity: .8; }

/* ステップ */
.steps { position: relative; display: flex; justify-content: space-between; width: 342px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 31px; right: 31px; top: 22px; height: 1px; background: var(--card-head); }
.steps__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 62px; }
.steps__num {
  display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid var(--card-head); border-radius: 50%; background: var(--white); box-shadow: var(--shadow);
  font-family: var(--ff-zen); font-size: 18px; line-height: 1; color: var(--card-head);
}
.steps__item.is-current .steps__num { background: var(--card-head); color: var(--white); }
.steps__label { font-family: var(--ff-zen); font-size: 14px; line-height: 1; letter-spacing: .05em; }

.contact__box { width: 100%; }

/* フォーム */
.form-alert { margin-bottom: 24px; padding: 14px 20px; border-radius: 5px; background: #fff1ea; color: #d14800; font-size: 14px; line-height: 1.6; }
.form__lead { margin-bottom: 24px; font-size: 15px; text-align: center; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__rows { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: flex; align-items: center; justify-content: space-between; gap: 29px; }
.form__row--top { align-items: flex-start; }
.form__row--top .form__label { padding-top: 13px; }
.form__label { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; width: 183px; font-size: 16px; line-height: 1; color: #333; }
.badge { flex-shrink: 0; padding: 5px 8px; border-radius: 5px; background: #fd6408; color: var(--white); font-size: 12px; line-height: 1; }
.badge--optional { background: #8a9793; }
.form__field { flex: 1; min-width: 0; max-width: 650px; }

.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  width: 100%; padding: 10px 20px; border: 1px solid #c0c0c0; border-radius: 5px; background: #f3f5fd;
  font: inherit; font-size: 16px; line-height: 1.5; color: var(--navy); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { height: 270px; padding: 13px 18px; resize: vertical; }
.form ::placeholder { color: #c3c3c3; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--card-head); background: var(--white); box-shadow: 0 0 0 3px rgba(90, 117, 248, .2); }
.form [aria-invalid="true"] { border-color: #e04f00; background: #fff8f4; }
.form__error { margin-top: 6px; font-size: 13px; line-height: 1.4; color: #d14800; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 52px; cursor: pointer; }
.select select:invalid, .select select option[value=""] { color: #c3c3c3; }
.select select option { color: var(--navy); }
.select::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px; margin-top: -8px; pointer-events: none;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg);
}

.form__value { min-height: 46px; padding: 10px 20px; border-bottom: 1px solid #e3e6ef; font-size: 16px; line-height: 1.6; word-break: break-all; }
.form__empty { color: #9aa1b3; }

.form__foot { display: flex; flex-direction: column; align-items: center; margin-top: 36px; }
.form__agree { font-size: 18px; line-height: 1; color: #000; text-align: center; }
.form__policy { margin-top: 20px; font-size: 16px; line-height: 1; color: var(--card-head); text-decoration: underline; text-underline-offset: 3px; }
.form__policy:hover { opacity: .75; }
.form__submit { margin-top: 30px; border: 0; cursor: pointer; }
.form__submit.plan__btn--outline { border: 2px solid var(--primary); }
.form__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; }
.form__submit--back { gap: 0; }

/* 完了 */
.contact__done { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px 0; text-align: center; font-size: 16px; line-height: 1.8; }
.contact__done-title { font-family: var(--ff-zen); font-size: 26px; line-height: 1.4; }
.contact__done-note { font-size: 13px; color: #6b7590; }
.contact__done .btn { margin-top: 12px; }

@media (max-width: 1360px) {
  .contact { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 960px) {
  .form__row { flex-direction: column; align-items: stretch; gap: 8px; }
  .form__label { width: auto; justify-content: flex-start; gap: 10px; }
  .form__row--top .form__label { padding-top: 0; }
  .form__field { max-width: none; }
}
@media (max-width: 767px) {
  .contact { padding: 24px 16px 56px; gap: 28px; }
  .contact__head { gap: 28px; }
  .contact__head .contact__title { margin-bottom: -4px; }
  .contact__title { font-size: 26px; }
  .steps { width: 280px; }
  .form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea { font-size: 16px; padding: 10px 14px; }
  .form textarea { height: 200px; }
  .form__label { font-size: 15px; }
  .form__agree { font-size: 15px; line-height: 1.5; }
  .form__btns { flex-direction: column-reverse; align-items: center; }
  .form__btns .form__submit--back { margin-top: 16px; }
  .contact__done-title { font-size: 20px; }
  .contact__done { font-size: 14px; }
  .contact__done br { display: none; }
　.contact__banner { width: 100%; max-width: 400px; aspect-ratio: auto; background: none; }
  .contact__banner { width: 100%; max-width: 100%; aspect-ratio: 358 / 447;}
  .contact__banner a { display: block; }
  .contact__banner img { height: auto; object-fit: initial; }
}

.booking { width: 100%; max-width: 1040px; display: flex; flex-direction: column; align-items: center; gap: 32px; scroll-margin-top: 120px; }
.booking__frame { display: block; width: 100%; height: 700px; border: 0; background: var(--white); border-radius: 10px; }
@media (max-width: 767px) {
  .booking__frame { height: 900px; }
}


/* =========================================================
   お知らせ（一覧 / 詳細）
   ========================================================= */
.news { max-width: calc(1040px + 158px); margin: 0 auto; padding: 40px 79px 80px; }
.news__box { padding: 20px 60px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); }
.news__empty { padding: 40px 0; font-size: 15px; text-align: center; color: #6b7590; }

/* カテゴリー絞り込み */
.news-cats { margin-bottom: 32px; }
.news-cats ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.news-cats a {
  display: inline-block; padding: 9px 22px; border: 1px solid var(--card-head); border-radius: 50px; background: var(--white);
  font-family: var(--ff-zen); font-size: 14px; line-height: 1; letter-spacing: .05em; color: var(--card-head); transition: background .2s, color .2s;
}
.news-cats a:hover, .news-cats a[aria-current] { background: var(--card-head); color: var(--white); }

/* カテゴリーのラベル */
.news-pill {
  display: inline-block; flex-shrink: 0; padding: 5px 12px; border-radius: 30px; background: #eef1ff; color: var(--card-head);
  font-size: 12px; line-height: 1; letter-spacing: .05em; white-space: nowrap;
}

/* 一覧 */
.news-item + .news-item { border-top: 1px solid var(--line); }
.news-item a { display: flex; align-items: center; gap: 20px; padding: 26px 8px; transition: background .2s; }
.news-item__date { flex-shrink: 0; width: 84px; font-family: var(--ff-en); font-size: 14px; line-height: 1; letter-spacing: .05em; color: #6b7590; }
.news-item .news-pill { min-width: 96px; text-align: center; }
.news-item__title { flex: 1; min-width: 0; font-size: 16px; line-height: 1.6; transition: color .2s; }
.news-item__arrow {
  flex-shrink: 0; position: relative; width: 32px; height: 32px; border-radius: 50%; background: #eef1ff; transition: background .2s;
}
.news-item__arrow::after {
  content: ""; position: absolute; left: 11px; top: 11px; width: 7px; height: 7px;
  border-top: 2px solid var(--card-head); border-right: 2px solid var(--card-head); transform: rotate(45deg); transition: border-color .2s;
}
.news-item a:hover .news-item__title { color: var(--primary); }
.news-item a:hover .news-item__arrow { background: var(--card-head); }
.news-item a:hover .news-item__arrow::after { border-color: var(--white); }
.news .pagination--works { margin-top: 45px; }
.news .pagination--works .nav-links:empty { display: none; }
.news .pagination--works .page-numbers.prev, .news .pagination--works .page-numbers.next { padding: 0 22px; font-size: 15px; }

/* 詳細 */
.news-entry { padding: 50px 60px 60px; }
.news-entry__head { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.news-entry__meta { display: flex; align-items: center; gap: 14px; font-family: var(--ff-en); font-size: 14px; line-height: 1; color: #6b7590; }
.news-entry__title {
  position: relative; margin-top: 18px; padding-left: 23px;
  font-family: var(--ff-zen); font-weight: 900; font-size: 28px; line-height: 1.5; letter-spacing: .05em;
}
.news-entry__title::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 9px; border-radius: 22px; background: linear-gradient(180deg, #879afa, #4fcbb9); }
.news-entry__thumb { margin-top: 32px; }
.news-entry__thumb img { width: 100%; border-radius: 10px; }

/* 本文（ブロックエディター） */
.news-entry__body { margin-top: 36px; }
.news-entry__body h2 {
  position: relative; margin-top: 1.5em; padding: 14px 20px; border: 0; border-radius: 8px; background: var(--bg-blue);
  font-family: var(--ff-zen); font-weight: 900; font-size: 22px; line-height: 1.5;
}
.news-entry__body h3 { margin-top: 2em; padding: 0 0 8px; border: 0; border-bottom: 2px solid #dfe4ff; font-size: 19px; }
.news-entry__body h3::before { content: "■"; margin-right: 8px; font-size: .7em; color: var(--card-head); vertical-align: 2px; }
.news-entry__body ul li::marker { color: var(--card-head); }
.news-entry__body blockquote { margin-left: 0; margin-right: 0; padding: 20px 24px; border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; background: #fff8ec; }
.news-entry__body .wp-block-button__link { padding: 14px 32px; border-radius: 50px; background: var(--primary); color: var(--white); text-decoration: none; }

/* 前後の記事 */
.news-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.news-pager__link {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 24px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
  transition: transform .2s;
}
.news-pager__link:hover { transform: translateY(-2px); }
.news-pager__link--prev { padding-left: 48px; }
.news-pager__link--next { padding-right: 48px; text-align: right; }
.news-pager__link::before {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid var(--card-head); border-right: 2px solid var(--card-head);
}
.news-pager__link--prev::before { left: 22px; transform: rotate(-135deg); }
.news-pager__link--next::before { right: 22px; transform: rotate(45deg); }
.news-pager__label { font-family: var(--ff-zen); font-size: 12px; line-height: 1; color: var(--card-head); }
.news-pager__title { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.5; }
.news__back { margin-top: 48px; text-align: center; }

@media (max-width: 1360px) {
  .news { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 767px) {
  .news { padding: 24px 16px 56px; }
  .news__box { padding: 4px 20px; border-radius: 16px; }
  .news-cats { margin-bottom: 20px; }
  .news-cats ul { justify-content: flex-start; gap: 8px; }
  .news-cats a { padding: 8px 16px; font-size: 13px; }
  .news-item a { flex-wrap: wrap; gap: 8px 12px; padding: 18px 0; }
  .news-item__date { width: auto; font-size: 13px; }
  .news-item .news-pill { min-width: 0; }
  .news-item__title { flex: 1 1 100%; order: 3; padding-right: 40px; font-size: 15px; }
  .news-item__arrow { position: absolute; right: 0; margin-top: 30px; width: 28px; height: 28px; }
  .news-item__arrow::after { left: 9px; top: 10px; }
  .news-item a { position: relative; }
  .news-entry { padding: 28px 20px 36px; }
  .news-entry__title { font-size: 21px; padding-left: 18px; }
  .news-entry__title::before { width: 7px; }
  .news-entry__body h2 { font-size: 18px; padding: 12px 16px; }
  .news-entry__body h3 { font-size: 17px; }
  .news-pager { grid-template-columns: 1fr; gap: 12px; }
  .news__back { margin-top: 36px; }
}