@charset "UTF-8";
/**
 * 下層ページ、操作表現、アニメーションの統合入口。
 *
 * 読み込み順がカスケードに影響するため、@use の並び順は変更しないでください。
 */
/*
 * アクセシビリティ補助と事例詳細ページの基本レイアウト。
 * SPを含む通常フローの骨格を定義します。
 */
/*
 * Page layout refactor.
 * Page composition uses normal document flow, Grid and Flex. Absolute/fixed
 * positioning is reserved for genuine overlays such as sliders and dialogs.
 */
.toga-visually-hidden {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Shared content frame for lower-page primary content. */
.toga-content-frame,
.wp-block-toga-office-case-grid.alignwide.toga-content-frame,
.toga-case-detail.toga-case-detail .toga-content-frame {
  width: var(--toga-content-width);
  max-width: none;
  margin: 0 auto;
  padding-inline: 0;
}

/* Case detail: responsive normal-flow layout. */
.toga-case-detail .toga-case-detail__concept-copy,
.toga-case-detail .toga-feature-row p {
  text-align: justify;
}

/*
 * 事例詳細：PC／SPで共通する骨格と装飾。
 * メディアクエリには、幅・余白・文字サイズなど画面幅で変わる値だけを残します。
 */
.toga-case-detail.toga-case-detail {
  display: flex;
  height: auto;
  overflow: clip;
  flex-direction: column;
  background: var(--toga-mist);
}

.toga-case-detail.toga-case-detail > section {
  box-sizing: border-box;
}

.toga-case-detail.toga-case-detail .toga-case-detail__intro {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(to bottom, var(--toga-white) var(--toga-page-title-height), var(--toga-mist) var(--toga-page-title-height));
}

.toga-case-detail.toga-case-detail .toga-case-detail__intro-heading {
  display: flex;
  height: var(--toga-page-title-height);
  align-items: flex-start;
  justify-content: space-between;
}

.toga-case-detail.toga-case-detail .toga-case-detail__page-title p {
  color: var(--toga-blue);
  font-family: var(--toga-font-latin);
  font-weight: 600;
}

.toga-case-detail.toga-case-detail .toga-case-detail__page-title strong,
.toga-case-detail.toga-case-detail .toga-case-detail__headline strong {
  display: block;
  font-weight: 500;
}

.toga-case-detail.toga-case-detail .toga-case-detail__pager {
  position: static;
  display: flex;
}

.toga-case-detail.toga-case-detail .toga-case-detail__pager a {
  display: block;
  border-radius: 50%;
}

.toga-case-detail.toga-case-detail .toga-case-detail__pager img,
.toga-case-detail.toga-case-detail .toga-case-detail__related-controls img {
  display: block;
  width: 100%;
  height: 100%;
}

.toga-case-detail.toga-case-detail .toga-case-detail__hero {
  position: static;
  display: block;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.toga-case-detail.toga-case-detail .toga-case-detail__headline,
.toga-case-detail.toga-case-detail .toga-case-detail__headline > span,
.toga-case-detail.toga-case-detail .toga-case-detail__headline h1,
.toga-case-detail.toga-case-detail .toga-case-detail__client {
  position: static;
  width: auto;
  margin: 0;
}

.toga-case-detail.toga-case-detail .toga-case-detail__headline > span {
  display: block;
  padding: 0;
  color: var(--toga-ink);
  font-family: var(--toga-font-latin);
  font-weight: 600;
  letter-spacing: 0;
}

.toga-case-detail.toga-case-detail .toga-case-detail__headline h1 {
  font-weight: 700;
}

.toga-case-detail.toga-case-detail .toga-case-detail__headline strong {
  font-weight: 700;
}

.toga-case-detail.toga-case-detail .toga-case-detail__client {
  color: var(--toga-ink);
}

.toga-case-detail.toga-case-detail .toga-case-detail__client span {
  display: block;
}

.toga-case-detail.toga-case-detail .toga-case-detail__concept,
.toga-case-detail.toga-case-detail .toga-case-detail__features,
.toga-case-detail.toga-case-detail .toga-case-detail__gallery {
  position: static;
  border-radius: var(--toga-radius-image);
}

.toga-case-detail.toga-case-detail .toga-case-detail__concept {
  margin-top: 50px;
  text-align: left;
}

.toga-case-detail.toga-case-detail .toga-case-detail__concept > .toga-container,
.toga-case-detail.toga-case-detail .toga-case-detail__features > .toga-container,
.toga-case-detail.toga-case-detail .toga-case-detail__gallery-card > .toga-container {
  position: static;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
}

.toga-case-detail.toga-case-detail .toga-case-detail__concept .toga-eyebrow,
.toga-case-detail.toga-case-detail .toga-case-detail__features .toga-eyebrow,
.toga-case-detail.toga-case-detail .toga-case-detail__gallery .toga-eyebrow {
  position: static;
  width: auto;
  margin: 0;
  font-family: var(--toga-font-latin);
  font-weight: 700;
}

.toga-case-detail.toga-case-detail .toga-case-detail__concept h2 {
  position: static;
  width: auto;
  font-weight: 700;
}

.toga-case-detail.toga-case-detail .toga-case-detail__concept-copy {
  position: static;
  width: auto;
  max-width: none;
}

.toga-case-detail.toga-case-detail .toga-case-detail__concept-copy p {
  margin: 0;
}

.toga-case-detail.toga-case-detail .toga-case-detail__concept-image {
  position: static;
  display: block;
  width: 100%;
  border-radius: var(--toga-radius-image);
}

.toga-case-detail.toga-case-detail .toga-case-detail__features {
  display: flex;
  flex-direction: column;
}

.toga-case-detail.toga-case-detail .toga-feature-row,
.toga-case-detail.toga-case-detail .toga-feature-row.is-reverse {
  position: static;
  width: 100%;
  height: auto;
  min-height: 0;
}

.toga-case-detail.toga-case-detail .toga-feature-row img,
.toga-case-detail.toga-case-detail .toga-feature-row.is-reverse img {
  position: static;
  display: block;
  border-radius: var(--toga-radius-image);
  object-fit: cover;
}

.toga-case-detail.toga-case-detail .toga-feature-row > div,
.toga-case-detail.toga-case-detail .toga-feature-row.is-reverse > div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 8px;
  align-items: baseline;
  padding: 0;
  background: transparent;
}

.toga-case-detail.toga-case-detail .toga-feature-row > div > span,
.toga-case-detail.toga-case-detail .toga-feature-row h3 {
  display: block;
  margin: 0;
  font-family: var(--toga-font-sans);
  font-weight: 500;
  text-align: justify;
}

.toga-case-detail.toga-case-detail .toga-feature-row h3 {
  grid-column: 2;
}

.toga-case-detail.toga-case-detail .toga-feature-row p {
  position: static;
  grid-column: 1/-1;
  width: auto;
  line-height: 2;
}

.toga-case-detail.toga-case-detail .toga-case-detail__gallery {
  padding: 0;
  overflow: visible;
  background: transparent;
}

.toga-case-detail.toga-case-detail .toga-case-detail__gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--toga-radius-image);
  background: var(--toga-white);
}

.toga-case-detail.toga-case-detail .toga-gallery {
  position: static;
  display: flex;
  width: 100%;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.toga-case-detail.toga-case-detail .toga-gallery::-webkit-scrollbar {
  display: none;
}

.toga-case-detail.toga-case-detail .toga-gallery img {
  display: block;
  margin: 0;
  aspect-ratio: auto;
  object-fit: cover;
  scroll-snap-align: center;
}

.toga-case-detail.toga-case-detail .toga-gallery__controls {
  position: absolute;
  right: 20px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.toga-case-detail.toga-case-detail .toga-gallery__controls button {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--toga-blue);
  cursor: pointer;
  pointer-events: auto;
}

.toga-case-detail.toga-case-detail .toga-gallery__controls button:first-child img {
  transform: rotate(180deg);
}

.toga-case-detail.toga-case-detail .toga-gallery__controls img,
.toga-case-detail.toga-case-detail .toga-back-link__button img {
  width: 13px;
  height: 12px;
}

.toga-case-detail.toga-case-detail .toga-back-link {
  position: static;
  width: 100%;
  height: 60px;
  padding: 0;
  text-align: center;
}

.toga-case-detail.toga-case-detail .toga-back-link .toga-back-link__button {
  display: inline-flex;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  border: 0;
  border-radius: var(--toga-radius-control);
  color: var(--toga-white);
  background: var(--toga-blue);
  font-size: 15px;
  transition: 0.3s var(--toga-ease-reveal);
}

.toga-case-detail.toga-case-detail .toga-back-link__button img {
  object-fit: contain;
}

.toga-case-detail.toga-case-detail .toga-case-detail__related {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  overflow: clip;
  background: var(--toga-mist);
}

.toga-case-detail.toga-case-detail .toga-case-detail__related-sticky {
  box-sizing: border-box;
  width: 100%;
  background: var(--toga-mist);
}

.toga-case-detail.toga-case-detail .toga-case-detail__related-controls {
  position: absolute;
  z-index: 2;
  display: flex;
}

.toga-case-detail.toga-case-detail .toga-case-detail__related-controls a,
.toga-case-detail.toga-case-detail .toga-case-detail__related-controls button {
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.toga-case-detail.toga-case-detail .toga-case-detail__related-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.toga-case-detail.toga-case-detail .toga-case-detail__related-sticky > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .toga-case-detail.toga-case-detail .toga-case-detail__intro {
    padding: 0 0 12px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__intro-heading {
    padding: var(--toga-page-title-padding-top) var(--toga-content-gutter) 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__page-title p {
    margin: 0;
    font-size: 10px;
    line-height: 12px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__page-title p + strong {
    margin-top: 5px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__page-title strong {
    font-size: 29px;
    line-height: 35px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__pager {
    gap: 13px;
    margin: 23px 0 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__pager a {
    width: 40px;
    height: 40px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__intro-content {
    display: flex;
    flex-direction: column;
    margin-top: 55px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__hero {
    width: calc(100% - var(--toga-content-gutter) - var(--toga-content-gutter));
    margin: 0 var(--toga-content-gutter);
    border-radius: var(--toga-radius-image);
    order: initial;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__intro-meta {
    width: auto;
    margin: 22px 30px 0;
    padding: 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__headline > span {
    font-size: 16px;
    line-height: 2.5;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__headline strong {
    margin: 0;
    font-size: 60px;
    line-height: 48px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__headline h1 {
    margin-top: 48px;
    font-size: 20px;
    line-height: 1.5;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__client {
    margin-top: 18px;
    font-size: 9px;
    line-height: 1.7;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept,
  .toga-case-detail.toga-case-detail .toga-case-detail__features {
    height: auto;
    background: var(--toga-white);
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept {
    padding: 40px 20px 30px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept .toga-eyebrow,
  .toga-case-detail.toga-case-detail .toga-case-detail__features .toga-eyebrow,
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery .toga-eyebrow {
    font-size: 15px;
    line-height: 18px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept h2 {
    margin: 55px 0 0;
    font-size: 20px;
    line-height: 1.25;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept-copy {
    margin: 60px 0 0;
    font-size: 15px;
    line-height: 2.06;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept-image {
    margin: 21px 0 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__features {
    gap: 60px;
    margin-top: 60px;
    padding: 40px 20px 60px;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row,
  .toga-case-detail.toga-case-detail .toga-feature-row.is-reverse {
    display: flex;
    flex-direction: column;
    gap: 21px;
    margin: 0;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row > div,
  .toga-case-detail.toga-case-detail .toga-feature-row.is-reverse > div {
    width: 100%;
    column-gap: 3px;
    order: 1;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row > div > span,
  .toga-case-detail.toga-case-detail .toga-feature-row h3 {
    font-size: 20px;
    line-height: 1.25;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row p {
    margin: 22px 0 0;
    font-size: 15px;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row img,
  .toga-case-detail.toga-case-detail .toga-feature-row.is-reverse img {
    width: 100%;
    height: auto;
    margin: 60px 0 0;
    order: 2;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery {
    margin-top: 60px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery-card {
    padding-top: 40px;
    padding-bottom: 30px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery-card > .toga-container {
    padding-left: 20px;
  }
  .toga-case-detail.toga-case-detail .toga-gallery {
    height: 190px;
    gap: 15px;
    margin: 55px 0 0;
  }
  .toga-case-detail.toga-case-detail .toga-gallery img {
    width: 250px;
    height: 190px;
    flex: 0 0 250px;
  }
  .toga-case-detail.toga-case-detail .toga-gallery img:first-child {
    margin-left: -223px;
  }
  .toga-case-detail.toga-case-detail .toga-gallery__controls {
    top: 60%;
  }
  .toga-case-detail.toga-case-detail .toga-gallery__controls button {
    width: 40px;
    height: 40px;
  }
  .toga-case-detail.toga-case-detail .toga-back-link {
    margin: 60px 0 0;
  }
  .toga-case-detail.toga-case-detail .toga-back-link .toga-back-link__button {
    width: 295px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related {
    width: 100%;
    height: auto;
    margin: 100px 0 0;
    padding: 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related-sticky {
    padding: 135px 20px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related::before {
    content: none;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related-controls {
    top: 80px;
    right: 20px;
    gap: 13px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related-controls a,
  .toga-case-detail.toga-case-detail .toga-case-detail__related-controls button {
    width: 40px;
    height: 40px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related-track {
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .toga-case-detail.toga-case-detail--case-01 .toga-case-detail__concept {
    height: auto;
  }
  .toga-case-detail.toga-case-detail--case-02 .toga-case-detail__concept {
    height: auto;
  }
  .toga-case-detail.toga-case-detail--case-03 .toga-case-detail__concept {
    height: auto;
  }
  .toga-case-detail.toga-case-detail--case-01 .toga-case-detail__features {
    height: auto;
    gap: 20px;
  }
  .toga-case-detail.toga-case-detail--case-02 .toga-case-detail__features {
    height: auto;
    gap: 20px;
  }
  .toga-case-detail.toga-case-detail--case-03 .toga-case-detail__features {
    height: auto;
    gap: 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery {
    height: 333px;
  }
  .toga-case-detail.toga-case-detail .toga-back-link {
    position: relative;
    z-index: 2;
    top: auto;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related {
    margin-top: 145px;
  }
}
.toga-process > .toga-container,
.toga-contact-intro > .toga-container,
.toga-about > .toga-container {
  width: 100%;
  max-width: var(--toga-content-frame-width);
  margin-inline: auto;
}

.renewal-subpage__title {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: var(--toga-page-title-padding-top) 0 var(--toga-page-title-padding-bottom);
}

/*
 * ページ別セクションの通常レイアウトとレスポンシブ指定。
 * ヘッダー、トップ、理由、事例、工程、会社、問い合わせ、完了、フッターを担当します。
 * PC/SPの差分は対象コンポーネントと同じ正本内で管理します。
 */
/* Header drawer: panel content follows the panel flow. */
.toga-header__drawer-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 126px 50px 60px;
}

.toga-header__drawer-brand {
  display: flex;
  align-items: center;
  padding-left: max(48px, 5.75vw);
}

.toga-header__drawer-logo {
  position: static;
  width: min(480px, 34.53vw);
  transform: none;
}

.toga-header__drawer-links {
  position: static;
  width: min(401px, 100%);
}

/* Home hero: Grid provides the intentional overlap without page coordinates. */
.renewal-hero {
  display: grid;
  width: 100%;
  height: calc(100vh - var(--toga-header));
  min-height: 400px;
  grid-template-columns: minmax(80px, 200px) minmax(0, 1fr);
  grid-template-rows: 1fr 0 150px;
  margin: 0;
  overflow: hidden;
}

.renewal-hero__photo {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
}

.renewal-hero__marquee {
  top: auto;
  bottom: 0;
}

.renewal-hero__title {
  position: relative;
  z-index: 2;
  inset: auto;
  grid-column: 1/-1;
  grid-row: 1;
  align-self: center;
  width: 100%;
  max-width: 480px;
  margin-left: 80px;
}

.renewal-hero__thumbs {
  position: relative;
  z-index: 3;
  inset: auto;
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  margin: -55px 0 0 0;
  background: linear-gradient(to bottom, #fff 0 75px, transparent 75px 100%);
}

.renewal-hero__dots {
  position: relative;
  z-index: 4;
  inset: auto;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  margin-left: 80px;
}

.renewal-about__copy > h2 {
  margin: 0;
  color: #006cb6;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.55;
}

.renewal-about__copy > h2 + p {
  margin-top: 55px;
}

.renewal-reasons__header {
  margin: 0;
}

.renewal-reasons li > h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.renewal-reasons li > h3 em {
  color: var(--toga-blue);
  font-family: var(--toga-font-latin);
  font-size: 45px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}

.renewal-reasons li > h3 small {
  margin-left: 10px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

.renewal-cases__heading {
  position: static;
}

.renewal-cases__controls {
  position: static;
}

/* Home case cards: body content uses an explicit internal grid. */
.toga-case-slider .toga-case-card a {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.toga-case-slider .toga-case-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px;
  grid-template-rows: auto auto auto;
  gap: 8px 20px;
  padding: 0 30px 0;
}

.toga-case-slider .toga-case-card__number {
  position: static;
  grid-column: 1;
  grid-row: 1;
  margin: -70px 0 0;
  color: #fff;
}

.toga-case-slider .toga-case-card h3 {
  grid-column: 1;
  grid-row: 2;
}

.toga-case-slider .toga-case-card__client {
  grid-column: 1;
  grid-row: 3;
}

.toga-case-slider .toga-case-card .toga-arrow {
  position: static;
  grid-column: 2;
  grid-row: 2/span 2;
  align-self: center;
}

/* Reason page. */
.renewal-reason {
  margin-top: 0;
  overflow: hidden;
}

.renewal-reason .renewal-subpage__title {
  position: static;
  width: 100%;
  margin: 0;
  padding: 80px 50px 42px 80px;
}

/* 指定された位置の改行はSP表示だけで有効にします。 */
.renewal-reason .renewal-subpage__title h1 br {
  display: none;
}

.renewal-reason__hero {
  width: calc(100% - 60px);
  height: auto;
  margin: 0 30px;
}

.renewal-reason__hero + .renewal-reason__reasons {
  margin-top: 90px;
}

.renewal-reason__hero img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1330/590;
  border-radius: var(--toga-radius-image);
  object-fit: cover;
}

.renewal-reason__reasons {
  height: auto;
}

/*
 * 事例一覧：1150px幅を「画像のみ570・重なり180・本文のみ400」の比率で分割。
 * デザイン基準幅では、画像が750 × 480px、本文が580pxになります。
 */
.renewal-case-index .renewal-subpage__title {
  width: 100%;
  margin: 0;
  padding: 80px 50px 42px 80px;
}

.renewal-case-index .toga-case-archive {
  height: auto;
  padding: 100px 0 195px;
}

.renewal-case-index .wp-block-toga-office-case-grid.alignwide,
.renewal-case-index .toga-case-grid {
  position: static;
  height: auto;
}

.renewal-case-index .toga-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 150px;
}

.renewal-case-index .toga-case-card,
.renewal-case-index .toga-case-card:nth-child(n) {
  position: static;
  width: 100%;
  height: auto;
}

.renewal-case-index .toga-case-card a {
  display: grid;
  width: 100%;
  height: auto;
  grid-template-columns: [image-start] minmax(0, 570fr) [body-start] minmax(0, 180fr) [image-end] minmax(0, 400fr) [body-end];
  grid-template-rows: 1fr;
  align-items: end;
}

.renewal-case-index .toga-case-card__image,
.renewal-case-index .toga-case-card:nth-child(n) .toga-case-card__image {
  position: static;
  grid-column: image-start/image-end;
  grid-row: 1;
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 750/480;
  transform: none;
}

.renewal-case-index .toga-case-card__body,
.renewal-case-index .toga-case-card:nth-child(n) .toga-case-card__body {
  position: static;
  z-index: 1;
  display: grid;
  grid-column: body-start/body-end;
  grid-row: 1;
  width: auto;
  height: auto;
  min-height: 251px;
  grid-template-columns: minmax(0, 1fr) 60px;
  grid-template-rows: auto 1fr auto;
  gap: 7px 20px;
  align-self: auto;
  padding: 40px 0 0 30px;
  border-radius: var(--toga-radius-image) 0 0;
  background: var(--toga-mist);
}

.renewal-case-index .toga-case-card__body::before {
  display: none;
}

.renewal-case-index .toga-case-card__number,
.renewal-case-index .toga-case-card h2,
.renewal-case-index .toga-case-card h3,
.renewal-case-index .toga-case-card__client,
.renewal-case-index .toga-case-card .toga-arrow {
  position: static;
  width: auto;
  margin: 0;
}

.renewal-case-index .toga-case-card__number {
  grid-column: 1;
  grid-row: 1;
}

.renewal-case-index .toga-case-card__number strong {
  margin: 0;
  font-family: var(--toga-font-latin);
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

.renewal-case-index .toga-case-card h2,
.renewal-case-index .toga-case-card h3 {
  width: min(440px, 100%);
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}

.renewal-case-index .toga-case-card__client {
  grid-column: 1;
  grid-row: 3;
}

.renewal-case-index .toga-case-card .toga-arrow {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

@media (min-width: 768px) {
  /* 事例詳細：PC固有の幅、余白、文字サイズ。 */
  .toga-case-detail.toga-case-detail .toga-case-detail__intro {
    padding: 0 0 100px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__intro-heading {
    width: 100vw;
    padding: 24px 150px 0 80px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__page-title p {
    margin: 0;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 0.04em;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__page-title p + strong {
    margin-top: 4px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__page-title strong {
    font-size: 40px;
    line-height: 48px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__pager {
    gap: 20px;
    margin: 15px 0 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__pager a {
    width: 60px;
    height: 60px;
    transition: opacity 0.2s ease;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__pager a:hover {
    opacity: 0.75;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__intro-content {
    display: grid;
    width: 100%;
    grid-template-columns: 54% 40.25%;
    gap: 5.75%;
    margin-top: var(--toga-section-space);
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__hero {
    width: 100%;
    margin: 0;
    border-radius: 0 var(--toga-radius-image) var(--toga-radius-image) 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__intro-meta {
    display: flex;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    padding: 50px 21% 0 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__headline > span {
    font-size: 15px;
    line-height: 19px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__headline strong {
    margin-top: -4px;
    font-size: 60px;
    line-height: 73px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__headline h1 {
    margin-top: 30px;
    font-size: 35px;
    line-height: 1.5714285714;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__client {
    margin-top: 35px;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0.05em;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept {
    height: auto;
    padding: 90px 80px 100px;
    background: var(--toga-white);
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept .toga-eyebrow,
  .toga-case-detail.toga-case-detail .toga-case-detail__features .toga-eyebrow,
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery .toga-eyebrow {
    font-size: 40px;
    line-height: 48px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept h2 {
    margin: 73px 0 0;
    font-size: 25px;
    line-height: 30px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept-copy {
    margin: 74px 0 0;
    color: var(--toga-ink);
    font-size: 16px;
    line-height: 2;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept-image {
    margin: 50px 0 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__features {
    height: auto;
    margin-top: 100px;
    padding: 90px 80px 100px;
    background: var(--toga-white);
  }
  .toga-case-detail.toga-case-detail .toga-feature-row,
  .toga-case-detail.toga-case-detail .toga-feature-row.is-reverse {
    display: grid;
    grid-template-columns: minmax(0, 669px) 271px;
    gap: 51px;
    margin: 120px 0 0;
    align-items: start;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row:first-of-type {
    margin-top: 73px;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row:last-of-type {
    height: auto;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row img,
  .toga-case-detail.toga-case-detail .toga-feature-row.is-reverse img {
    width: auto;
    height: auto;
    grid-column: 2;
    grid-row: 1;
    margin: 39px 0 0;
    order: initial;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row:last-of-type img {
    margin-top: 3px;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row > div,
  .toga-case-detail.toga-case-detail .toga-feature-row.is-reverse > div {
    width: auto;
    grid-column: 1;
    grid-row: 1;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row > div > span,
  .toga-case-detail.toga-case-detail .toga-feature-row h3 {
    color: var(--toga-ink);
    font-size: 25px;
    line-height: 1.22;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row p {
    margin: 54px 0 0;
    color: var(--toga-ink);
    font-size: 16px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery {
    height: 925px;
    margin-top: var(--toga-section-space);
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery-card {
    height: 665px;
    padding-top: 90px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery-card > .toga-container {
    padding-left: 80px;
  }
  .toga-case-detail.toga-case-detail .toga-gallery {
    height: 380px;
    gap: 30px;
    margin: 72px 0 0;
  }
  .toga-case-detail.toga-case-detail .toga-gallery img {
    width: 500px;
    height: 380px;
    flex: 0 0 500px;
  }
  .toga-case-detail.toga-case-detail .toga-gallery img:first-child {
    margin-left: -205px;
  }
  .toga-case-detail.toga-case-detail .toga-gallery__controls {
    top: 370px;
  }
  .toga-case-detail.toga-case-detail .toga-gallery__controls button {
    width: 60px;
    height: 60px;
  }
  .toga-case-detail.toga-case-detail .toga-back-link {
    margin: 100px 0 0;
  }
  .toga-case-detail.toga-case-detail .toga-back-link .toga-back-link__button {
    width: 306px;
    font-weight: 500;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related {
    width: 100vw;
    margin: 0;
    padding: 0;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related-sticky {
    padding: var(--toga-section-space) 0 170px var(--toga-content-offset);
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related-controls {
    top: 20px;
    right: var(--toga-content-offset);
    gap: 20px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related-controls a,
  .toga-case-detail.toga-case-detail .toga-case-detail__related-controls button {
    width: 60px;
    height: 60px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related-track {
    gap: 50px;
  }
}
/* Process page. */
.renewal-process-page .toga-process {
  height: auto;
  padding: 96px 0 140px;
}

.renewal-process-page .toga-process > .toga-container {
  position: static;
  height: auto;
}

.renewal-process-nav {
  position: static;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  list-style: none;
}

.renewal-process-nav li {
  position: relative;
  display: grid;
  min-height: 110px;
  grid-template-rows: auto 1fr;
  place-items: center;
  padding: 12px;
  border-radius: 55px;
  background: #fff;
  text-align: center;
}

.renewal-process-nav li > a {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  place-items: center;
  padding: 0;
  border-radius: inherit;
  color: inherit;
  transition: color var(--toga-motion-hover) var(--toga-ease-out), background-color var(--toga-motion-hover) var(--toga-ease-out);
}

.renewal-process-nav li > a:hover {
  color: var(--toga-blue);
}

.renewal-process-nav li:first-child {
  color: #fff;
  background: var(--toga-blue);
}

.renewal-process-nav li b {
  position: static;
  font-family: var(--toga-font-latin);
  font-size: 15px;
  font-weight: 400;
}

.renewal-process-nav li > a > span {
  position: static;
  display: block;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  line-height: 1.4666666667;
  letter-spacing: 0.03em;
}

.renewal-process-page .toga-process__steps > li {
  scroll-margin-top: calc(var(--toga-header-compact) + 20px);
}

.renewal-process-page .toga-process__steps {
  position: static;
  margin-top: var(--toga-space-75);
}

.renewal-process-page .toga-process__steps li,
.renewal-process-page .toga-process__steps li:nth-child(n) {
  height: auto;
  min-height: 0;
  margin: 0;
  border-radius: var(--toga-radius-image);
}

.renewal-process-page .toga-process__steps li:nth-child(n) + li {
  margin-top: var(--toga-space-50);
}

.renewal-process-page .toga-process__steps details,
.renewal-process-page .toga-process__steps details[open] {
  height: auto;
}

.renewal-process-page .toga-process__steps summary {
  position: static;
  display: flex;
  width: 100%;
  height: auto;
  align-items: center;
  gap: 20px;
  padding: 30px;
}

.renewal-process-page .toga-process__steps summary::after {
  display: none;
}

.toga-process__close {
  display: none;
}

.renewal-process-page .toga-process__steps details > div {
  position: static;
  display: grid;
  width: auto;
  grid-template-columns: minmax(0, 390fr) minmax(0, 500fr);
  gap: clamp(32px, 5vw, 70px);
  padding: 0 80px 48px 110px;
}

/* Company page. */
.renewal-about-page .toga-about {
  height: auto;
  padding: 94px 0 160px;
}

.renewal-about-page .toga-about > .toga-container {
  position: static;
  height: auto;
}

.renewal-about-page .toga-about h2,
.renewal-about-page .toga-about dl,
.renewal-about__corporate {
  position: static;
}

.renewal-about-page .toga-about h2 {
  width: 100%;
  margin: 0;
}

.renewal-about-page .toga-about h2 + dl {
  margin-top: 140px;
}

.renewal-about-page .toga-about dl {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 2.2;
}

.renewal-about-page .toga-about dl > div.is-tall,
.renewal-about-page .toga-about dl > div.is-list {
  align-content: start;
}

.renewal-about__corporate {
  margin: 80px auto 0;
}

/* Contact page. */
.renewal-contact-page .toga-contact-intro {
  height: auto;
  padding: var(--toga-section-space) 0 140px;
}

.renewal-contact-page .toga-contact-intro > .toga-container {
  position: static;
  height: auto;
}

.renewal-area-check,
.renewal-contact-page .toga-contact-form,
.renewal-contact-page .renewal-phone,
.renewal-contact-page .toga-contact-form > .toga-contact-form__agree,
.renewal-contact-page .toga-contact-form__captcha,
.renewal-contact-page .toga-contact-form .wpcf7-submit {
  position: static;
}

.renewal-area-check {
  position: relative;
  inset: auto;
  display: flex;
  margin: 0 auto;
}

.renewal-area-check ~ .toga-contact-form {
  margin-top: 50px;
}

.renewal-area-notice {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

.renewal-contact-page__area-note {
  margin: 0 auto;
  color: #000;
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 2.25;
  text-align: center;
}

.renewal-contact-page__area-note + * {
  margin-top: 28px;
}

.renewal-contact-page .toga-contact-form {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.renewal-contact-page .toga-contact-form > label {
  width: min(800px, 100%);
  height: auto;
  min-height: 110px;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  margin: 0 auto;
  padding: 0;
}

.renewal-contact-page .toga-contact-form > label > span:first-child {
  display: flex;
  height: 70px;
  align-items: center;
}

.renewal-contact-page .toga-contact-form > label > span:first-child b {
  flex: 0 0 40px;
  width: 40px;
  margin-left: auto;
  margin-right: 21px;
}

.renewal-contact-page .toga-contact-form input[type=text],
.renewal-contact-page .toga-contact-form input[type=tel],
.renewal-contact-page .toga-contact-form input[type=email],
.renewal-contact-page .toga-contact-form textarea {
  display: block;
  width: 100%;
}

.renewal-contact-page .toga-contact-form__privacy {
  width: 100%;
  height: auto;
}

.renewal-contact-page .toga-contact-form > .toga-contact-form__agree {
  margin: 70px auto 0;
}

.renewal-contact-page .toga-contact-form__captcha {
  margin: 30px auto 0;
}

.renewal-contact-page .toga-contact-form .wpcf7-submit {
  display: block;
  margin: 0 auto;
}

.renewal-contact-page .toga-contact-form__captcha + .wpcf7-submit {
  margin-top: 40px;
}

.renewal-contact-page .renewal-phone {
  margin: 60px auto 0;
}

/* Thanks and footer use natural content height. */
.renewal-thanks {
  height: auto;
  min-height: 720px;
}

.renewal-thanks > section {
  height: auto;
  padding: 112px 24px 140px;
}

.renewal-footer__learn {
  height: auto;
  padding: 92px 0;
}

.renewal-footer__learn nav span {
  position: static;
}

/* ==========================================================
 * Responsive differences owned by page layout components
 * ========================================================== */
/*
 * 承認済みデザインに合わせるPC/SPの寸法差分。
 * 通常レイアウトとのカスケードを維持するため、同じ正本内の後段に置きます。
 */
/*
 * PDF fidelity (1390px artboard).
 * Keep the page composition in normal flow while retaining the measured
 * section sizes and spacing from the approved PDF.
 */
@media (min-width: 768px) {
  .toga-case-detail.toga-case-detail--case-03 {
    padding-bottom: 35px;
  }
  .renewal-reason__reasons {
    padding-bottom: 199px;
  }
  .renewal-case-index .toga-case-archive {
    padding-bottom: 194px;
  }
  .renewal-subpage__title,
  .renewal-reason .renewal-subpage__title,
  .renewal-case-index .renewal-subpage__title {
    box-sizing: border-box;
    width: calc(100% - var(--toga-page-title-gutter) - var(--toga-page-title-gutter));
    margin: 0 var(--toga-page-title-gutter);
    padding: var(--toga-page-title-padding-top) 0 var(--toga-page-title-padding-bottom);
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__intro-heading {
    padding-top: var(--toga-page-title-padding-top);
  }
  .toga-case-detail.toga-case-detail--case-02 .toga-case-detail__features,
  .toga-case-detail.toga-case-detail--case-03 .toga-case-detail__features {
    height: auto;
  }
  .toga-case-detail--case-02 .toga-feature-row:last-of-type,
  .toga-case-detail--case-03 .toga-feature-row:last-of-type {
    height: auto;
  }
  .renewal-process-page .toga-process {
    padding: 120px 0 200px;
    background: var(--toga-mist);
  }
  .renewal-process-nav {
    max-width: 100%;
    grid-template-columns: repeat(6, 165px);
    gap: 32px;
    margin: -32px auto 0;
    padding-top: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .renewal-process-nav li {
    position: relative;
    display: block;
    min-height: 80px;
    padding: 0;
    border-radius: 0;
    color: var(--toga-ink);
    background: transparent;
  }
  .renewal-process-nav li:first-child {
    color: var(--toga-ink);
    background: transparent;
  }
  .renewal-process-nav li::after {
    position: absolute;
    top: 36px;
    right: -17px;
    width: 9px;
    height: 9px;
    border-top: 1px solid var(--toga-ink);
    border-right: 1px solid var(--toga-ink);
    content: "";
    transform: rotate(45deg);
  }
  .renewal-process-nav li:last-child::after {
    content: none;
  }
  .renewal-process-nav li b {
    position: absolute;
    top: -22px;
    left: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
  }
  .renewal-process-nav li > a > span {
    display: grid;
    width: 100%;
    height: 80px;
    place-items: center;
    padding: 8px 12px;
    border-radius: 40px;
    background: var(--toga-white);
    transition: background-color var(--toga-motion-hover) var(--toga-ease-out);
  }
  .renewal-process-nav li > a:hover > span {
    color: var(--toga-white);
    background: var(--toga-blue);
  }
  .renewal-process-page .toga-process__steps li,
  .renewal-process-page .toga-process__steps li:nth-child(n) {
    position: relative;
    margin: 0;
  }
  .renewal-process-page .toga-process__steps {
    margin-top: var(--toga-space-100);
  }
  .renewal-process-page .toga-process__steps li:nth-child(n) + li {
    margin-top: var(--toga-space-50);
  }
  .renewal-process-page .toga-process__steps li:not(:last-child)::after {
    position: absolute;
    bottom: -27px;
    left: 54px;
    display: block;
    width: 12px;
    height: 7px;
    background: url("../images/process-card-arrow.svg") center/100% 100% no-repeat;
    content: "";
  }
  .renewal-process-page .toga-process__steps details,
  .renewal-process-page .toga-process__steps details[open] {
    display: grid;
    grid-template-rows: auto auto;
  }
  .renewal-process-page .toga-process__steps summary {
    min-height: 116px;
    padding: 30px;
  }
  .renewal-process-page .toga-process__steps h3 {
    font-size: 27px;
  }
  .renewal-process-page .toga-process__steps details > div {
    align-self: start;
    padding: 0 80px 48px 110px;
  }
  .renewal-about-page .toga-about {
    padding: 94px 0 201px;
    margin: 0 var(--toga-page-title-gutter);
  }
  .renewal-about-page .toga-about h2 {
    margin: 0;
  }
  .renewal-about-page .toga-about h2 + dl {
    margin-top: 146px;
  }
  .renewal-about__corporate {
    margin-top: 100px;
  }
  .renewal-contact-page .toga-contact-intro {
    padding-bottom: 176px;
  }
  .renewal-thanks {
    min-height: 988px;
  }
}
body:has(.renewal-thanks) .toga-header__contact-float {
  display: none;
}

.toga-contact-form__status:empty,
.toga-contact-form__error:empty {
  display: none;
}

.toga-contact-form__status {
  width: min(800px, 100%);
  margin: 0 auto;
  padding: 12px 16px;
  border: 1px solid currentColor;
  color: #a32323;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.toga-contact-form__status + * {
  margin-top: 24px;
}

.toga-contact-form__status.is-success {
  color: #16734a;
}

.toga-contact-form__control {
  position: relative;
  display: block;
  min-width: 0;
}

.toga-contact-form__control .wpcf7-form-control-wrap {
  display: block;
}

.toga-contact-form .wpcf7-not-valid-tip {
  margin-top: 4px;
  color: #a32323;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.toga-contact-form__agree .wpcf7-list-item {
  margin: 0;
}

.toga-contact-form__agree .wpcf7-list-item label {
  display: flex;
  align-items: baseline;
}

.toga-contact-form .wpcf7-response-output {
  order: 1;
  width: min(800px, 100%);
  margin: 24px auto 0;
  font-size: 14px;
  line-height: 1.6;
}

.toga-contact-form .wpcf7-spinner {
  align-self: center;
  margin: 16px auto 0;
}

.toga-contact-form__error {
  display: block;
  margin-top: 4px;
  color: #a32323;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.toga-contact-form [aria-invalid=true] {
  outline: 2px solid #a32323;
  outline-offset: 1px;
}

.renewal-contact-page .toga-contact-form__captcha {
  position: relative;
  inset: auto;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.renewal-contact-page .toga-contact-form__captcha .toga-turnstile-placeholder {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid #d8dddd;
  border-radius: 3px;
  color: inherit;
  background: var(--toga-white);
}

.renewal-contact-page .toga-turnstile-placeholder i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--toga-white);
  background: #2aa56f;
  font-style: normal;
  font-weight: 700;
}

.renewal-contact-page .toga-turnstile-placeholder b {
  margin-left: 10px;
  color: #333;
  font-size: 11px;
}

.renewal-contact-page .toga-turnstile-placeholder small {
  margin-left: auto;
  color: #444;
  font-size: 8px;
}

.toga-contact-form__captcha .cf-turnstile {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 65px;
}

.renewal-contact-page .toga-contact-form__captcha:has(.cf-turnstile iframe) .toga-turnstile-placeholder {
  display: none;
}

.toga-contact-form.submitting .wpcf7-submit {
  cursor: wait;
  opacity: 0.7;
}

.toga-contact-form .wpcf7-submit[disabled] {
  cursor: not-allowed;
}

.toga-about__sp-break {
  display: none;
}

@media (max-width: 767px) {
  .toga-header {
    width: 100%;
  }
  .renewal-process-page .toga-process > .toga-container,
  .renewal-contact-page .toga-contact-intro > .toga-container,
  .renewal-about-page .toga-about > .toga-container {
    width: 100%;
    max-width: none;
    margin-inline: auto;
  }
  .renewal-subpage__title {
    width: calc(100% - var(--toga-page-title-gutter) - var(--toga-page-title-gutter));
    margin: 0 var(--toga-page-title-gutter);
    padding: var(--toga-page-title-padding-top) 0 var(--toga-page-title-padding-bottom);
  }
  .toga-header__drawer-panel {
    padding: 80px 20px 100px;
  }
  .toga-header__drawer-links {
    width: 100%;
  }
  .toga-header__drawer-brand {
    padding-left: 0;
  }
  .renewal-hero {
    height: calc(100vh - var(--toga-header));
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto 95px;
    padding-top: 19px;
  }
  .renewal-hero__photo {
    grid-column: 2;
    height: 100%;
  }
  .renewal-hero__title {
    grid-column: 1/-1;
    grid-row: 2;
    width: 74.6666666667%;
    margin: -13px 0 0 20px;
    align-self: baseline;
  }
  .renewal-hero__marquee {
    position: relative;
    inset: auto;
    grid-column: 1/-1;
    grid-row: 3;
    align-self: end;
  }
  .renewal-hero__dots {
    grid-column: 2;
    grid-row: 1;
    width: 25%;
    align-self: end;
    justify-content: flex-end;
    justify-self: end;
    margin-right: 10px;
    transform: translateY(-10px);
  }
  .renewal-about__copy > h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
  }
  .renewal-about__copy > h2 + p {
    margin-top: 44px;
  }
  .renewal-about__copy {
    padding-bottom: 44px;
  }
  .renewal-about__copy > p {
    font-size: 15px;
    font-weight: 500;
    line-height: 31px;
  }
  .renewal-about__join-sp {
    display: none;
  }
  .renewal-reasons li > h3 {
    font-size: 20px;
    letter-spacing: 0;
    line-height: 1.5;
  }
  .renewal-reasons li > h3 em {
    font-size: 41px;
  }
  .renewal-reasons li > h3 small {
    display: block;
    margin-left: 0;
    font-size: 10px;
    line-height: 1.2;
  }
  .renewal-cases__heading {
    position: relative;
    display: block;
  }
  .renewal-cases__heading h2 {
    white-space: nowrap;
  }
  .renewal-cases__controls {
    position: absolute;
    top: 70px;
    right: 0;
    display: flex;
    margin: 0;
  }
  .toga-case-slider .toga-case-card__body {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 0;
    padding: 0 10px;
  }
  .toga-case-slider .toga-case-card__number {
    margin-top: -34px;
  }
  .renewal-message p {
    font-weight: 500;
    line-height: 31px;
    letter-spacing: 1px;
  }
  .renewal-message {
    height: auto;
  }
  .renewal-reason .renewal-subpage__title,
  .renewal-case-index .renewal-subpage__title {
    width: calc(100% - var(--toga-page-title-gutter) - var(--toga-page-title-gutter));
    margin: 0 var(--toga-page-title-gutter);
    padding: var(--toga-page-title-padding-top) 0 var(--toga-page-title-padding-bottom);
  }
  .renewal-reason .renewal-subpage__title {
    padding-top: 58px;
  }
  .renewal-reason .renewal-subpage__title h1 br {
    display: block;
  }
  .renewal-reason__hero {
    width: calc(100% - 40px);
    margin: 0 20px;
  }
  .renewal-reason__hero img {
    aspect-ratio: 335/250;
  }
  .renewal-reason .renewal-reason-heading {
    min-height: 0;
    padding-bottom: 15px;
  }
  .renewal-case-index .toga-case-archive {
    padding: 60px 0 152px;
  }
  .renewal-reason__reasons {
    padding-bottom: 131px;
  }
  .renewal-case-index .wp-block-toga-office-case-grid.alignwide {
    width: 100%;
  }
  .renewal-case-index .toga-case-grid {
    gap: 60px;
  }
  .renewal-case-index .toga-case-card,
  .renewal-case-index .toga-case-card:nth-child(n) {
    position: static;
    width: auto;
    height: auto;
    margin-inline: 20px;
  }
  .renewal-case-index .toga-case-card a {
    display: flex;
    flex-direction: column;
  }
  .renewal-case-index .toga-case-card__image,
  .renewal-case-index .toga-case-card:nth-child(n) .toga-case-card__image {
    aspect-ratio: 3/2;
  }
  .renewal-case-index .toga-case-card__image img {
    display: block;
    object-position: center;
  }
  .renewal-case-index .toga-case-card__body,
  .renewal-case-index .toga-case-card:nth-child(n) .toga-case-card__body {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 40px;
    grid-template-rows: auto auto auto;
    gap: 0 20px;
    margin-top: -35px;
    padding: 0 0 0 10px;
    border-radius: 0;
    background: transparent;
  }
  .renewal-case-index .toga-case-card__body::before {
    position: absolute;
    top: -10px;
    left: 0;
    display: block;
    width: 110px;
    height: 85px;
    border-radius: 0 var(--toga-radius-image) var(--toga-radius-image) 0;
    background: var(--toga-mist);
    content: "";
  }
  .renewal-case-index .toga-case-card__number {
    z-index: 1;
    width: auto;
    background: transparent;
  }
  .renewal-case-index .toga-case-card__number strong {
    font-family: var(--toga-font-latin);
    font-weight: 700;
  }
  .renewal-case-index .toga-case-card h2,
  .renewal-case-index .toga-case-card h3 {
    grid-column: 1/-1;
    width: min(315px, 100%);
    margin-top: 20px;
    font-size: 20px;
  }
  .renewal-case-index .toga-case-card .toga-arrow {
    grid-row: 3;
    align-self: end;
  }
  .toga-case-detail__intro {
    display: flex;
    flex-direction: column;
    padding: 50px 0 80px;
  }
  .toga-case-detail__hero {
    order: -1;
    width: calc(100% - 40px);
    margin: 0 20px;
  }
  .toga-case-detail__intro > .toga-container {
    width: calc(100% - 40px);
    margin-top: 40px;
    padding: 0;
  }
  .toga-case-detail__concept,
  .toga-case-detail__features,
  .toga-case-detail__gallery,
  .toga-case-detail__related {
    width: calc(100% - 40px);
    margin-top: 30px;
    padding: 50px 20px;
  }
  .toga-feature-row,
  .toga-feature-row.is-reverse {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .toga-feature-row.is-reverse img,
  .toga-feature-row.is-reverse > div {
    grid-column: auto;
    grid-row: auto;
  }
  .toga-gallery,
  .toga-case-detail__related {
    grid-template-columns: 1fr;
  }
  .renewal-process-page .toga-process {
    padding: 60px 0 85px;
  }
  .renewal-process-nav {
    display: none;
  }
  .renewal-process-page .toga-process__steps summary {
    cursor: pointer;
  }
  .renewal-process-page .toga-process__steps details > div {
    display: block;
    width: auto;
    padding: 30px 15px 85px;
  }
  .renewal-process-page .toga-process__steps li,
  .renewal-process-page .toga-process__steps li:nth-child(n) {
    min-height: 136px;
  }
  .renewal-process-page .toga-process__steps {
    margin-top: 0;
  }
  .renewal-process-page .toga-process__steps li:nth-child(n) + li {
    margin-top: var(--toga-space-30);
  }
  .renewal-process-page .toga-process__steps details,
  .renewal-process-page .toga-process__steps details[open] {
    position: relative;
    min-height: 136px;
  }
  .renewal-process-page .toga-process__steps summary {
    position: relative;
    min-height: auto;
    padding: 30px 15px;
  }
  .renewal-process-page .toga-process__steps summary::after {
    display: none;
  }
  .renewal-process-page .toga-process__steps details::after {
    position: absolute;
    bottom: 30px;
    left: 50%;
    display: block;
    width: 12px;
    height: 6px;
    border: 0;
    background: url("../images/process-card-arrow.svg") center/100% 100% no-repeat;
    content: "";
    pointer-events: none;
    transform: translateX(-50%);
  }
  .renewal-process-page .toga-process__steps details[open]::after {
    display: none;
  }
  .renewal-process-page .toga-process__close {
    position: absolute;
    z-index: 1;
    bottom: 11px;
    left: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateX(-50%);
  }
  .renewal-process-page .toga-process__close::before {
    display: block;
    width: 12px;
    height: 7px;
    background: url("../images/process-card-arrow.svg") center/100% 100% no-repeat;
    content: "";
    transform: rotate(180deg);
  }
  .renewal-process-page .toga-process__steps h4 + p {
    margin-top: var(--toga-space-24);
  }
  .renewal-about-page .toga-about {
    padding: 57px 0 120px;
  }
  .renewal-about-page .toga-about h2 {
    margin: 0;
  }
  .renewal-about-page .toga-about h2 + dl {
    margin-top: 81px;
  }
  .renewal-about-page .toga-about dt {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
  }
  .renewal-about-page .toga-about dd {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6666666667;
    text-align: justify;
  }
  .renewal-about-page .toga-about dl > div:nth-child(2) dd,
  .renewal-about-page .toga-about dl > div:nth-child(6) dd,
  .renewal-about-page .toga-about dl > div:nth-child(7) dd {
    font-weight: 400;
  }
  .toga-about__sp-break {
    display: block;
  }
  .renewal-about__corporate {
    transform: none;
  }
  .renewal-contact-page .toga-contact-intro {
    height: auto;
    padding: 80px 0 131px;
  }
  .renewal-contact-page__area-note {
    margin: 0;
    line-height: 32px;
    text-align: justify;
  }
  .renewal-contact-page__area-note + * {
    margin-top: 44px;
  }
  .renewal-contact-page .toga-contact-form > label {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
  }
  .renewal-contact-page .toga-contact-form > label + * {
    margin-top: 30px;
  }
  .renewal-contact-page .toga-contact-form > label > span {
    height: auto;
    margin: 0;
  }
  .renewal-contact-page .toga-contact-form > label > span + .toga-contact-form__control {
    margin-top: 10px;
  }
  .renewal-contact-page .toga-contact-form > label > span:first-child {
    display: block;
    height: auto;
    padding-left: 10px;
  }
  .renewal-contact-page .toga-contact-form > label > span:first-child b {
    width: auto;
    margin-right: 0;
    margin-left: 10px;
  }
  .renewal-contact-page .toga-contact-form > .toga-contact-form__agree {
    width: 100%;
    margin-top: 50px;
  }
  .renewal-contact-page .renewal-phone {
    width: 100%;
    height: auto;
  }
  .renewal-footer__learn {
    padding: 97px 20px;
  }
  .renewal-footer__learn nav span {
    position: absolute;
    top: 50%;
    right: 10px;
    margin: 0;
    transform: translateY(-50%);
  }
  .renewal-thanks {
    min-height: 906px;
  }
  .renewal-thanks > section {
    padding: 54px 20px 150px;
  }
  .renewal-thanks .renewal-phone {
    margin-top: 80px;
  }
  .renewal-thanks .renewal-phone h2 {
    margin: 0;
    line-height: 19px;
  }
  .renewal-thanks .renewal-phone h2 + strong {
    margin-top: 20px;
  }
  .renewal-thanks .renewal-phone p {
    line-height: 25px;
  }
}
/*
 * 承認済みデザインの共通値。
 * PC/SPで同じ値はここで一度だけ定義し、画面幅で変わる値は後続の
 * メディアクエリで上書きします。
 */
.toga-header {
  background: transparent;
  border-bottom-color: transparent;
}

.toga-header__toggle {
  transform: none;
}

.toga-header__toggle img {
  width: 18px;
  height: 13px;
}

@media (max-width: 767px) {
  .toga-header__toggle img {
    width: 15px;
    height: 10px;
  }
}
.toga-header__primary-nav {
  align-items: center;
}

.toga-header__drawer-links a {
  font-weight: 500;
}

.is-menu-open .toga-header__toggle::before,
.is-menu-open .toga-header__toggle::after {
  width: 22px;
}

.toga-header__primary-nav a,
.toga-header__primary-nav button,
.toga-header__primary-nav span {
  font-weight: 500;
}

.renewal-about__copy > h2 {
  color: var(--toga-blue);
}

@media (min-width: 768px) {
  .renewal-reasons ol {
    width: 620px;
    margin-left: 50px;
  }
}
.renewal-reasons li {
  width: 520px;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: end;
  padding: 35px 0 30px;
}

.renewal-reasons li:nth-child(2) {
  margin-left: 50px;
}

.renewal-reasons li:nth-child(3) {
  margin-left: 100px;
}

.renewal-reasons li > h3 {
  padding-bottom: 1px;
}

.renewal-subpage__title h1 {
  font-weight: 500;
}

.renewal-reason-heading {
  padding-left: 10px;
  padding-bottom: 30px;
}

.renewal-reason-heading h2 {
  font-weight: 500;
}

.renewal-reason-text {
  font-weight: 400;
  line-height: 2.25;
}

.renewal-reason-number strong {
  font-weight: 700;
}

.renewal-case-index .toga-case-archive {
  background: var(--toga-mist);
}

.renewal-case-index .toga-case-card h2,
.renewal-case-index .toga-case-card h3 {
  line-height: 1.55;
}

.renewal-case-index .toga-case-card__client,
.toga-case-slider .toga-case-card__client {
  font-weight: 400;
  line-height: 1.8333333333;
  letter-spacing: 0.05em;
}

@media (max-width: 1280px) and (min-width: 768px) {
  .toga-case-detail.toga-case-detail .toga-case-detail__concept {
    padding: 90px 40px 100px;
  }
}

.toga-case-detail.toga-case-detail .toga-case-detail__headline h1,
.toga-case-detail.toga-case-detail .toga-case-detail__concept h2 {
  font-weight: 500;
}

.toga-case-detail.toga-case-detail .toga-case-detail__headline h1 {
  text-align: justify;
}
@media (max-width: 1280px) and (min-width: 768px) {
  .toga-case-detail.toga-case-detail .toga-case-detail__headline h1 {
    font-size: 30px;
  }
}

.toga-case-detail.toga-case-detail .toga-case-detail__page-title p {
  font-size: 16px;
}

@media (max-width: 1280px) and (min-width: 768px) {
  .toga-case-detail.toga-case-detail .toga-case-detail__features {
    padding: 90px 40px 100px;
  }
}

.toga-case-detail.toga-case-detail .toga-feature-row > div > span,
.toga-case-detail.toga-case-detail .toga-feature-row h3 {
  line-height: 1.4;
}
@media (max-width: 767px) {
  .toga-case-detail.toga-case-detail .toga-feature-row > div > span,
  .toga-case-detail.toga-case-detail .toga-feature-row h3 {
    line-height: 1.5;
  }
}

.toga-case-detail.toga-case-detail .toga-case-detail__concept-copy,
.toga-case-detail.toga-case-detail .toga-feature-row p {
  font-weight: 400;
  line-height: 2.25;
}

.toga-case-detail.toga-case-detail .toga-feature-row,
.toga-case-detail.toga-case-detail .toga-feature-row.is-reverse {
  align-items: end;
}

.toga-case-detail.toga-case-detail .toga-feature-row img,
.toga-case-detail.toga-case-detail .toga-feature-row.is-reverse img,
.toga-case-detail.toga-case-detail .toga-feature-row:last-of-type img {
  align-self: end;
  margin-top: 0;
}

.toga-home-cases .wp-block-toga-office-case-grid.alignwide,
.toga-home-cases .toga-case-grid {
  padding-right: var(--toga-page-title-gutter);
}

.toga-case-detail.toga-case-detail .toga-case-detail__related-track {
  padding-right: var(--toga-content-offset);
}

@media (max-width: 1280px) and (min-width: 768px) {
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery-card > .toga-container {
    padding-left: 40px;
  }
}

/*
 * 事例カードの矢印はSVGを形状だけに限定し、
 * 青い円、中央配置、白色化をCSSで共通管理します。
 */
.toga-case-slider .toga-case-card .toga-arrow,
.renewal-case-index .toga-case-card .toga-arrow {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--toga-blue);
}

.toga-case-slider .toga-case-card .toga-arrow img,
.renewal-case-index .toga-case-card .toga-arrow img {
  display: block;
  width: 13px;
  height: 12px;
  border-radius: 0;
  filter: brightness(0) invert(1);
}

.renewal-process-page .toga-process__steps h3 {
  font-weight: 500;
}

.renewal-process-page .toga-process__steps p {
  font-weight: 400;
  line-height: 2.35;
}

.renewal-process-page .toga-process__steps h4 {
  font-size: 18px;
  font-weight: 500;
}

.renewal-about-page .toga-about h2 {
  font-weight: 600;
}

.renewal-about-page .toga-about dl > div,
.renewal-about-page .toga-about dl > div.is-tall,
.renewal-about-page .toga-about dl > div.is-list {
  box-sizing: border-box;
  min-height: 82px;
  padding-right: 20px;
  padding-left: 20px;
}

.renewal-about-page .toga-about dl > div:not(.is-tall):not(.is-list) {
  min-height: 100px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.renewal-about-page .toga-about dt,
.renewal-about-page .toga-about dd {
  font-weight: 400;
  padding-inline: 10px;
}

.renewal-contact-page .toga-contact-intro {
  background: var(--toga-mist);
}

.renewal-contact-page .toga-contact-form > label > span,
.renewal-contact-page .toga-contact-form__privacy,
.renewal-contact-page__area-note,
.renewal-phone p,
.renewal-thanks > section > p {
  font-weight: 400;
}

.renewal-contact-page .toga-contact-form > .toga-contact-form__agree {
  font-size: 16px;
}

.renewal-contact-page__area-note {
  margin: 0;
}

.renewal-contact-page__area-note + * {
  margin-top: 60px;
}

.renewal-contact-page .toga-contact-form > label > span:first-child b {
  background: var(--toga-required);
}

.renewal-contact-page .toga-contact-form__privacy {
  width: calc(100% - 80px);
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
  font-size: 16px;
}

.renewal-contact-page .toga-contact-form .wpcf7-submit {
  font-size: 18px;
  font-weight: 600;
}

.renewal-phone {
  height: auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

.renewal-phone h2 {
  margin: 0;
  font-size: 20px;
}

.renewal-phone h2 + strong {
  margin-top: 20px;
}

.renewal-phone strong {
  font-size: 25px;
  font-weight: 600;
}

.renewal-phone strong small {
  font-size: 20px;
}

.renewal-phone p {
  font-size: 16px;
}

.renewal-thanks > section > p {
  margin-top: 120px;
  font-size: 16px;
}

.renewal-thanks > section > a {
  margin-top: 100px;
}

.renewal-footer__learn nav a {
  font-weight: 500;
}

.renewal-footer__main nav a,
.renewal-footer__main nav button {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 2;
}

.renewal-footer__main nav a,
.renewal-footer__main nav button,
.renewal-footer__company-link {
  color: var(--toga-ink);
}

.renewal-message p {
  font-size: 16px;
}

.toga-case-slider .toga-case-card h3 {
  width: 85%;
}

.renewal-cases__controls a,
.renewal-cases__controls button {
  overflow: visible;
}

/*
 * MONJI responsive review (768–1280px).
 * Keep the shared page gutter while fluidly sizing content that was
 * previously locked to the 1390px desktop composition.
 */
@media (min-width: 768px) and (max-width: 1280px) {
  .renewal-about__copy > h2 {
    font-size: 30px;
  }
  /* MONJI 7: centre the process contents and retain equal side gutters. */
  .renewal-process-page .toga-process > .toga-container {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--toga-content-frame-width);
  }
  /* MONJI 8–9: both columns scale together instead of squeezing the copy. */
  .toga-case-detail.toga-case-detail .toga-feature-row,
  .toga-case-detail.toga-case-detail .toga-feature-row.is-reverse {
    grid-template-columns: minmax(0, 62%) minmax(0, 32%);
    gap: 6%;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row img,
  .toga-case-detail.toga-case-detail .toga-feature-row.is-reverse img {
    width: 100%;
    height: auto;
    aspect-ratio: 271/206;
  }
  /* MONJI 11: the contact form never touches the viewport edge. */
  .renewal-contact-page .toga-contact-intro > .toga-container {
    box-sizing: border-box;
    padding-inline: var(--toga-content-gutter);
  }
  /* MONJI 12: use the same narrowed-screen gutter as other pages. */
  .renewal-about-page .toga-about {
    margin-inline: var(--toga-content-gutter);
  }
  .renewal-about-page .toga-about > .toga-container,
  .renewal-about-page .toga-about dl {
    max-width: none;
  }
}
/* MONJI 10: apply Japanese kinsoku rules to case titles on every page. */
.toga-case-card h2,
.toga-case-card h3,
.toga-case-detail__headline h1,
.toga-case-detail__concept h2,
.toga-feature-row h3 {
  word-break: normal;
  line-break: strict;
  overflow-wrap: normal;
}

.renewal-footer__company {
  align-self: end;
}

@media (max-width: 767px) {
  .renewal-contact-page .toga-contact-intro > .toga-container {
    box-sizing: border-box;
    padding-inline: var(--toga-content-gutter);
  }
  .renewal-reasons li,
  .renewal-reasons li:nth-child(2),
  .renewal-reasons li:nth-child(3) {
    width: 100%;
    margin-left: 0;
    padding-left: 8px;
    align-items: center;
  }
  .toga-home-cases .toga-case-grid,
  .toga-case-detail.toga-case-detail .toga-case-detail__related-track {
    padding-right: 20px;
  }
  .toga-case-slider .toga-case-card .toga-arrow,
  .renewal-case-index .toga-case-card .toga-arrow {
    width: 40px;
    height: 40px;
  }
  .renewal-about-page .toga-about dl > div,
  .renewal-about-page .toga-about dl > div.is-tall,
  .renewal-about-page .toga-about dl > div.is-list {
    min-height: 0;
    padding-right: 0;
    padding-left: 0;
  }
  .renewal-about-page .toga-about dt,
  .renewal-about-page .toga-about dd,
  .renewal-about-page .toga-about dl > div:nth-child(2) dd,
  .renewal-about-page .toga-about dl > div:nth-child(6) dd,
  .renewal-about-page .toga-about dl > div:nth-child(7) dd {
    font-weight: 400;
    line-height: 1.6666666667;
  }
  .renewal-contact-page .toga-contact-form > label > span,
  .renewal-contact-page .toga-contact-form__privacy,
  .renewal-phone p,
  .renewal-thanks > section > p {
    font-size: 13px;
  }
  .renewal-phone {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .renewal-phone strong {
    font-size: 22px;
  }
  .renewal-phone strong small {
    font-size: 12px;
  }
  .renewal-phone p {
    font-size: 15px;
  }
  .renewal-contact-page .toga-contact-form__privacy {
    width: 100%;
    font-size: 14px;
  }
  .renewal-thanks > section > p {
    margin-top: 76px;
    font-size: 15px;
    line-height: 2;
  }
  .renewal-thanks > section > a {
    margin-top: 80px;
  }
}
@media (min-width: 768px) {
  .renewal-about {
    width: 100%;
    grid-template-columns: 50% 50%;
    margin-right: 0;
    margin-left: 0;
  }
  .renewal-about__copy {
    padding-left: max(60px, (100vw - 1150px) / 2);
  }
  .renewal-about__media {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .renewal-about-page .toga-about {
    padding-bottom: 150px;
  }
  .renewal-about-page .toga-about > .toga-container {
    box-sizing: border-box;
    padding-inline: var(--toga-content-gutter);
  }
  .renewal-about__corporate {
    margin-top: 100px;
  }
}
/* MONJI image-crop notes: keep each adjustment scoped to the annotated image. */
.renewal-reason__hero img {
  object-position: 50% 65%;
}

.renewal-reason__reasons article:first-of-type img {
  object-position: 65% 50%;
}

.renewal-case-index .toga-case-card:first-child .toga-case-card__image img {
  scale: 1.06;
}

.toga-case-detail--case-02 .toga-feature-row:nth-of-type(3),
.toga-case-detail--case-03 .toga-feature-row:nth-of-type(1) {
  overflow: hidden;
}

.toga-case-detail--case-03 .toga-feature-row:nth-of-type(3) img {
  object-position: 100% 50%;
}

/*
 * MONJI SP review (01–70).
 * These rules are intentionally kept at the end of the responsive layer so
 * the annotated mobile values are not overwritten by the legacy layout.
 */
@media (max-width: 767px) {
  /* TOP: secondary visual, reasons and horizontal case cards. */
  .renewal-about__media {
    width: calc(100% - 20px);
    height: 250px;
    margin-left: auto;
    border-radius: var(--toga-radius-image) 0 0 var(--toga-radius-image);
  }
  .renewal-about__media img {
    object-position: center;
  }
  .renewal-about__dots {
    right: 20px;
    bottom: 10px;
  }
  .renewal-reasons {
    padding-top: 80px;
    padding-bottom: 130px;
  }
  .renewal-label {
    letter-spacing: 0.04em;
  }
  .renewal-reasons li,
  .renewal-reasons li:nth-child(2),
  .renewal-reasons li:nth-child(3) {
    grid-template-columns: 60px minmax(0, 1fr);
    min-height: 112px;
    padding: 26px 0;
    grid-column-gap: 10px;
  }
  .renewal-reasons li > span {
    align-self: center;
    padding-bottom: 2px;
  }
  .renewal-reasons li > h3 {
    align-self: end;
    line-height: 1.5;
  }
  .renewal-reasons__inner > .toga-pill-button {
    margin-top: 45px;
  }
  .renewal-cases__heading {
    width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
  }
  .renewal-cases__heading + .renewal-cases__viewport {
    margin-top: 125px;
  }
  .renewal-cases__heading h2 {
    letter-spacing: 0;
  }
  .toga-home-cases .wp-block-toga-office-case-grid.alignwide {
    margin-left: 20px;
  }
  .toga-home-cases .toga-case-grid {
    padding-right: 30px;
  }
  .toga-case-slider .toga-case-card,
  .renewal-cases__all-card {
    width: min(335px, 100vw - 40px);
    flex-basis: min(335px, 100vw - 40px);
  }
  .toga-case-slider .toga-case-card__body {
    width: min(335px, 100vw - 40px);
    min-height: 150px;
    grid-template-rows: 35px auto auto;
    padding: 0 10px;
  }
  .toga-case-slider .toga-case-card__number {
    margin-top: -45px;
  }
  .toga-case-slider .toga-case-card h3 {
    grid-column: 1/-1;
    width: min(315px, 100%);
  }
  .toga-case-slider .toga-case-card__client {
    align-self: end;
    padding-bottom: 2px;
  }
  .toga-case-slider .toga-case-card .toga-arrow {
    align-self: end;
  }
  .toga-case-slider .toga-case-card .toga-arrow img,
  .renewal-case-index .toga-case-card .toga-arrow img {
    width: 9px;
    height: 8px;
  }
  .renewal-case-index .toga-case-card h2,
  .renewal-case-index .toga-case-card h3 {
    line-height: 1.5;
  }
  .renewal-case-index .toga-case-card__client {
    top: 165px;
    left: 31px;
    width: 275px;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 10px;
  }
  .renewal-cases__all-card {
    justify-content: center;
  }
  /* TOP: company message. */
  .renewal-message {
    padding-top: 120px;
    padding-bottom: 135px;
  }
  .renewal-message h2 {
    margin: 0;
  }
  .renewal-message h2 + p {
    margin-top: 70px;
  }
  .renewal-message h2,
  .renewal-message__heading {
    width: 100%;
    text-align: center;
  }
  .renewal-message p {
    font-size: 15px;
    letter-spacing: 0.04em;
    line-height: 2;
  }
  .renewal-message__logo {
    margin-top: 80px;
  }
  .renewal-message > .toga-pill-button {
    width: 242px;
    min-width: 242px;
    min-height: 60px;
    font-size: 15px;
  }
  /* Shared footer adjustments used by every annotated SP page. */
  .renewal-footer__learn-inner > h2 {
    line-height: 1.2;
  }
  .renewal-footer__learn-inner > h2 small {
    font-size: 25px;
    line-height: 1.4;
  }
  .renewal-footer__learn nav a {
    min-height: 88px;
    padding: 26px 10px;
    font-size: 15px;
    line-height: 1.4;
  }
  .renewal-contact-cta > #contact-cta-heading,
  .renewal-contact-cta .renewal-contact-cta__area-note {
    font-size: 15px;
    line-height: 2;
  }
  .renewal-contact-cta .renewal-contact-cta__area-note {
    padding-top: 26px;
    padding-bottom: 26px;
    font-size: 14px;
  }
  .renewal-footer__main nav a,
  .renewal-footer__main nav button {
    line-height: 1.47;
  }
  /* All subpage headings share the slightly wider mobile top spacing. */
  .renewal-subpage__title,
  .renewal-reason .renewal-subpage__title {
    padding-top: 64px;
  }
  /* WHY WE'RE CHOSEN: heading and copy geometry. */
  .renewal-reason__reasons {
    padding-bottom: 150px;
  }
  .renewal-reason-heading,
  .renewal-reason__reasons .is-reverse .renewal-reason-heading {
    width: 100%;
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 10px;
    margin-left: 0;
    padding-left: 10px;
  }
  .renewal-reason-number {
    align-self: baseline;
    font-size: 10px;
    line-height: 12px;
  }
  .renewal-reason-content,
  .renewal-reason__reasons article:nth-child(2) .renewal-reason-content,
  .renewal-reason__reasons article:nth-child(3) .renewal-reason-content {
    row-gap: 30px;
    margin-top: 20px;
  }
  .renewal-reason-text,
  .renewal-reason__reasons .is-reverse .renewal-reason-text {
    width: auto;
    margin-inline: 10px;
  }
  .renewal-reason-text p {
    margin: 0;
  }
  .renewal-reason-text p + p {
    margin-top: 24px;
  }
  .renewal-reason-heading h2 small,
  .renewal-reason__reasons article:nth-child(3) .renewal-reason-heading h2 small {
    width: 100%;
    max-width: none;
    font-size: 10px;
  }
  /* Case detail: page title, headline and section rhythm. */
  .toga-case-detail.toga-case-detail .toga-case-detail__page-title strong {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__headline h1 {
    margin-top: 28px;
    line-height: 1.5;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__client {
    margin-top: 20px;
    font-size: 12px;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept .toga-eyebrow,
  .toga-case-detail.toga-case-detail .toga-case-detail__features .toga-eyebrow,
  .toga-case-detail.toga-case-detail .toga-case-detail__gallery .toga-eyebrow {
    font-size: 25px;
    line-height: 1.2;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept h2 {
    margin-top: 48px;
    line-height: 1.5;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__concept-copy {
    margin-top: 48px;
    line-height: 2.15;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__features {
    gap: 60px;
  }
  .toga-case-detail.toga-case-detail .toga-feature-row > div > span,
  .toga-case-detail.toga-case-detail .toga-feature-row h3 {
    color: var(--toga-ink);
  }
  .toga-case-detail.toga-case-detail .toga-feature-row p {
    margin-top: 20px;
    line-height: 2.15;
  }
  /* Process: centered cards and the annotated typography. */
  .renewal-process-page .toga-process__steps {
    margin-right: auto;
    margin-left: auto;
  }
  .renewal-process-page .toga-process__steps li,
  .renewal-process-page .toga-process__steps li:nth-child(n) {
    min-height: 120px;
    margin: 0;
  }
  .renewal-process-page .toga-process__steps li:nth-child(n) + li {
    margin-top: var(--toga-space-24);
  }
  .renewal-process-page .toga-process__steps details,
  .renewal-process-page .toga-process__steps details[open] {
    min-height: 120px;
  }
  .renewal-process-page .toga-process__steps summary {
    min-height: 120px;
    gap: 15px;
    padding: 30px 15px 65px;
  }
  .renewal-process-page .toga-process__steps summary > span {
    flex-basis: 40px;
  }
  .renewal-process-page .toga-process__steps h3 {
    width: calc(100% - 50px);
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.01em;
  }
  .renewal-process-page .toga-process__steps details > div {
    width: 100%;
    padding: 0 15px 50px;
  }
  .renewal-process-page .toga-process__steps h4 {
    margin: 0;
    font-size: 16px;
    line-height: 1.625;
  }
  .renewal-process-page .toga-process__steps h4 + p {
    margin-top: var(--toga-space-20);
  }
  .renewal-process-page .toga-process__steps p {
    font-size: 15px;
    line-height: 2.1333333333;
  }
  .renewal-process-page .toga-process__steps details::after {
    bottom: 22px;
  }
  .renewal-process-page .toga-process__close {
    bottom: 3px;
  }
  /* Company information. */
  .renewal-about-page .toga-about dl > div,
  .renewal-about-page .toga-about dl > div.is-tall,
  .renewal-about-page .toga-about dl > div.is-list {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .renewal-about-page .toga-about dl > div:not(.is-tall):not(.is-list) {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .renewal-about__corporate {
    font-weight: 500;
  }
  /* Contact and thanks: form copy, checkbox and phone panel. */
  .renewal-contact-page .toga-contact-intro {
    padding: 80px 0 150px;
  }
  .renewal-contact-page__area-note {
    margin: 0;
    font-size: 15px;
    line-height: 2;
  }
  .renewal-contact-page__area-note + * {
    margin-top: 60px;
  }
  .renewal-contact-page .toga-contact-form > label {
    margin: 0;
  }
  .renewal-contact-page .toga-contact-form > label + * {
    margin-top: 28px;
  }
  .renewal-contact-page .toga-contact-form > label > span:first-child,
  .renewal-contact-page .toga-contact-form input,
  .renewal-contact-page .toga-contact-form textarea,
  .renewal-contact-page .toga-contact-form__privacy,
  .renewal-contact-page .toga-contact-form > .toga-contact-form__agree {
    font-size: 15px;
  }
  .renewal-contact-page .toga-contact-form > label > span:first-child b {
    font-size: 10px;
  }
  .renewal-contact-page .toga-contact-form > .toga-contact-form__privacy {
    padding-top: 26px;
    padding-bottom: 26px;
    line-height: 1.9;
    margin-top: 60px;
  }
  .renewal-contact-page .toga-contact-form > .toga-contact-form__agree {
    align-items: flex-start;
    line-height: 1.8;
  }
  .renewal-contact-page .toga-contact-form__agree input {
    margin-top: 5px;
  }
  .renewal-contact-page .toga-contact-form .wpcf7-submit {
    width: 242px;
    height: 60px;
    font-size: 15px;
    font-weight: 500;
  }
  .renewal-contact-page .renewal-phone {
    min-height: 216px;
    margin-top: 40px;
    padding: 27px 20px;
  }
  .renewal-phone h2,
  .renewal-thanks .renewal-phone h2 {
    margin: 0;
    padding-bottom: 13px;
    font-size: 16px;
    line-height: 1.3;
  }
  .renewal-phone h2 + strong,
  .renewal-thanks .renewal-phone h2 + strong {
    margin-top: 18px;
  }
  .renewal-phone strong,
  .renewal-thanks .renewal-phone strong {
    font-size: 20px;
    line-height: 1.2;
  }
  .renewal-phone strong small,
  .renewal-thanks .renewal-phone strong small {
    font-size: 16px;
  }
  .renewal-phone p,
  .renewal-thanks .renewal-phone p {
    font-size: 14px;
    line-height: 1.8;
  }
}
.renewal-contact-page .toga-contact-form .wpcf7-submit {
  font-weight: 500;
}

@media (min-width: 768px) {
  .toga__sp-break {
    display: none;
  }
}

/*
 * ギャラリー、ボタン、ホバー、フォーカスなど操作時の見た目。
 * キーボード操作と「視差効果を減らす」設定もここで扱います。
 */
@media (prefers-reduced-motion: reduce) {
  .toga-case-detail__related-track {
    transition: none !important;
  }
}
/*
 * 現在ページとナビゲーションのホバー色。
 * 操作時の色指定をこのファイルで共通管理します。
 */
.toga-header__primary-nav a[aria-current=page],
.toga-header__drawer-links a[aria-current=page],
.toga-header__primary-nav a:hover,
.renewal-footer__main nav a:hover,
.toga-header__drawer-links a:hover {
  color: var(--toga-sky);
}

.toga-header__primary-nav a,
.toga-header__drawer-links a,
.renewal-footer__main a,
.renewal-footer__company-link,
.renewal-footer__learn nav a {
  transition: color var(--toga-motion-soft) var(--toga-ease-out);
}

/* フッターナビのフェード表示とホバー色を同じtransitionで管理します。 */
.renewal-footer__learn nav a.toga-motion-fade {
  transition: opacity var(--toga-motion-fade) var(--toga-ease-soft), transform var(--toga-motion-reveal) var(--toga-ease-reveal), color var(--toga-motion-soft) var(--toga-ease-out);
}

/* Gallery clones provide continuous looping; every active slide is centered. */
.toga-case-detail.toga-case-detail .toga-gallery {
  scroll-snap-type: x mandatory;
}

.toga-case-detail.toga-case-detail .toga-gallery img,
.toga-case-detail.toga-case-detail .toga-gallery img:first-child {
  margin-left: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* Shared button and circular-icon interactions. */
.toga-button,
.renewal-area-check,
.renewal-contact-page .toga-contact-form .wpcf7-submit,
.renewal-thanks > section > a,
.toga-process__note a {
  --toga-button-accent: var(--toga-blue);
  --toga-button-icon-filter: brightness(0) saturate(100%) invert(20%) sepia(45%) saturate(3614%)
  	hue-rotate(195deg) brightness(82%) contrast(107%);
  border: 1px solid transparent;
  transition: color var(--toga-motion-soft) var(--toga-ease-out), background-color var(--toga-motion-soft) var(--toga-ease-out), border-color var(--toga-motion-soft) var(--toga-ease-out);
}

/* フェード表示とボタンホバーの transition が上書きし合わないよう統合します。 */
.toga-button.toga-motion-fade {
  transition: opacity var(--toga-motion-fade) var(--toga-ease-soft), transform var(--toga-motion-reveal) var(--toga-ease-reveal), color var(--toga-motion-soft) var(--toga-ease-out), background-color var(--toga-motion-soft) var(--toga-ease-out), border-color var(--toga-motion-soft) var(--toga-ease-out);
}

.toga-button img,
.renewal-area-check img,
.renewal-thanks > section > a img {
  transition: filter var(--toga-motion-soft) var(--toga-ease-out);
}

.toga-pill-button--sky,
.renewal-about__corporate {
  --toga-button-accent: var(--toga-sky);
  --toga-button-icon-filter: brightness(0) saturate(100%) invert(51%) sepia(98%) saturate(1343%)
  	hue-rotate(154deg) brightness(91%) contrast(101%);
}

.renewal-about__corporate {
  --toga-button-accent: var(--toga-sky);
}

.renewal-footer__company-link:hover {
  color: var(--toga-sky);
}

.toga-pill-button--contact {
  border-color: #fff;
}

.toga-case-card .toga-arrow,
.renewal-cases__controls a,
.renewal-cases__controls button,
.toga-gallery__controls button,
.toga-area-modal__close,
.renewal-footer__learn nav span {
  transition: scale var(--toga-motion-hover) var(--toga-ease-out);
  transform-origin: center;
}

.toga-header__toggle,
.toga-header__toggle img,
.toga-header__toggle::before,
.toga-header__toggle::after {
  transition: scale var(--toga-motion-hover) var(--toga-ease-out);
  transform-origin: center;
}

.toga-header__contact-float {
  --toga-button-icon-filter: brightness(0) saturate(100%) invert(51%) sepia(98%) saturate(1343%)
  	hue-rotate(154deg) brightness(91%) contrast(101%);
  border: 1px solid transparent;
  transition: top var(--toga-motion-quick) var(--toga-ease-out), color var(--toga-motion-soft) var(--toga-ease-out), background-color var(--toga-motion-soft) var(--toga-ease-out), border-color var(--toga-motion-soft) var(--toga-ease-out);
}

.toga-header__contact-float img {
  transition: filter var(--toga-motion-soft) var(--toga-ease-out);
}

@media (max-width: 767px) {
  .toga-header__contact-float {
    transition: opacity var(--toga-motion-fade) var(--toga-ease-soft), transform var(--toga-motion-fade) var(--toga-ease-soft), visibility var(--toga-motion-fade) var(--toga-ease-soft), color var(--toga-motion-soft) var(--toga-ease-out), background-color var(--toga-motion-soft) var(--toga-ease-out), border-color var(--toga-motion-soft) var(--toga-ease-out);
  }
}
.toga-case-detail.toga-case-detail .toga-back-link .toga-back-link__button {
  border: 1px solid transparent;
}

.renewal-footer__brands a {
  transition: opacity var(--toga-motion-soft) var(--toga-ease-out);
}

body:not(.home) .toga-header__logo {
  transition: opacity var(--toga-motion-soft) var(--toga-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .toga-button:hover,
  .renewal-area-check:hover,
  .renewal-contact-page .toga-contact-form .wpcf7-submit:hover,
  .renewal-thanks > section > a:hover,
  .toga-process__note a:hover {
    border-color: var(--toga-button-accent);
    color: var(--toga-button-accent);
    background-color: #fff;
  }
  .toga-button:hover img,
  .renewal-area-check:hover img,
  .renewal-thanks > section > a:hover img {
    filter: var(--toga-button-icon-filter);
  }
  .toga-pill-button--contact:hover {
    border-color: #fff;
    color: #fff;
    background-color: var(--toga-blue);
  }
  .toga-pill-button--contact:hover img {
    filter: brightness(0) invert(1);
  }
  .toga-case-card a:hover .toga-arrow,
  .renewal-cases__controls a:hover,
  .renewal-cases__controls button:hover,
  .toga-gallery__controls button:hover,
  .toga-area-modal__close:hover,
  .renewal-footer__learn nav a:hover span {
    scale: 1.2;
  }
  .toga-header__toggle:hover {
    scale: 1.1;
  }
  .toga-header__toggle:hover img,
  .toga-header__toggle:hover::before,
  .toga-header__toggle:hover::after {
    scale: 0.9090909091;
  }
  .toga-header__contact-float:hover {
    border-color: var(--toga-sky);
    color: var(--toga-sky);
    background-color: #fff;
  }
  .toga-header__contact-float:hover img {
    filter: var(--toga-button-icon-filter);
  }
  .toga-case-detail.toga-case-detail .toga-back-link .toga-back-link__button:hover {
    border-color: var(--toga-blue);
    color: var(--toga-blue);
    background-color: #fff;
  }
  .toga-case-detail.toga-case-detail .toga-back-link .toga-back-link__button:hover img {
    filter: var(--toga-button-icon-filter);
  }
  .renewal-footer__brands a:hover {
    opacity: 0.7;
  }
  body:not(.home) .toga-header__logo:hover {
    opacity: 0.62;
  }
  .renewal-footer__learn nav a:hover {
    color: var(--toga-sky);
  }
}
@media (prefers-reduced-motion: reduce) {
  .toga-button,
  .toga-button img,
  .renewal-area-check,
  .renewal-area-check img,
  .renewal-contact-page .toga-contact-form .wpcf7-submit,
  .renewal-thanks > section > a,
  .renewal-thanks > section > a img,
  .toga-process__note a,
  .toga-case-card .toga-arrow,
  .renewal-cases__controls a,
  .renewal-cases__controls button,
  .toga-gallery__controls button,
  .toga-area-modal__close,
  .toga-header__toggle,
  .toga-header__toggle img,
  .toga-header__toggle::before,
  .toga-header__toggle::after,
  .toga-header__contact-float,
  .toga-header__contact-float img,
  .renewal-footer__learn nav span,
  .renewal-footer__brands a,
  body:not(.home) .toga-header__logo {
    transition-duration: 0ms;
  }
}
/*
 * スクロール表示、ヒーロー、見出し、画像のアニメーション。
 * マークアップで指定する toga-motion-* と、JavaScriptが付ける is-motion-* に対応します。
 */
/* Motion system — MONJI animation pass, 2026-07-28. */
html.toga-fonts-loading body :where(h1, h2, h3, .toga-motion-heading, .toga-case-detail__headline):not(.toga-motion-fade) {
  opacity: 0;
}

html.toga-fonts-ready body :where(h1, h2, h3, .toga-motion-heading, .toga-case-detail__headline):not(.toga-motion-fade) {
  opacity: 1;
  transition: opacity 300ms var(--toga-ease-soft);
}

html.toga-fonts-loading body :where(h1, h2, h3).toga-motion-fade {
  visibility: hidden;
}

html.toga-fonts-ready body :where(h1, h2, h3).toga-motion-fade {
  visibility: visible;
}

.renewal-hero__title-line {
  display: block;
  overflow: hidden;
}

.renewal-hero__title-line img {
  display: block;
  width: 100%;
  height: auto;
}

.toga-motion-ready .toga-motion-hero-title .renewal-hero__title-line img {
  opacity: 0;
  clip-path: inset(100% 0 0);
  transform: translate3d(0, 72%, 0);
  transition: opacity var(--toga-motion-quick) var(--toga-ease-out), clip-path var(--toga-motion-reveal) var(--toga-ease-reveal), transform var(--toga-motion-reveal) var(--toga-ease-reveal);
  transition-delay: var(--toga-hero-title-wait);
  will-change: clip-path, opacity, transform;
}

.toga-motion-ready .toga-motion-hero-title.is-motion-visible .renewal-hero__title-line img {
  opacity: 1;
  clip-path: inset(0);
  transform: translate3d(0, 0, 0);
}

.toga-motion-ready .toga-motion-hero-title .renewal-hero__title-line--02 img {
  transition-delay: calc(var(--toga-hero-title-wait) + var(--toga-hero-title-stagger));
}

.toga-motion-ready .toga-motion-hero-title .renewal-hero__title-line--03 img {
  transition-delay: calc(var(--toga-hero-title-wait) + var(--toga-hero-title-stagger) + var(--toga-hero-title-stagger));
}

.toga-motion-heading {
  overflow: hidden;
}

.toga-motion-character {
  display: inline-block;
  white-space: pre;
}

.toga-motion-character-group {
  display: inline-block;
  white-space: nowrap;
}

.toga-motion-ready .toga-motion-heading .toga-motion-character {
  opacity: 0;
  transform: translate3d(-0.45em, 0.55em, 0);
  transition: opacity 300ms var(--toga-ease-out), transform var(--toga-motion-quick) var(--toga-ease-reveal);
  transition-delay: calc(var(--toga-character-index) * 40ms);
  will-change: opacity, transform;
}

.toga-motion-ready .toga-motion-heading.is-motion-visible .toga-motion-character {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.toga-motion-fade {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity var(--toga-motion-fade) var(--toga-ease-soft), transform var(--toga-motion-reveal) var(--toga-ease-reveal);
  will-change: opacity, transform;
}

.toga-motion-fade.is-motion-visible,
.toga-motion-reduced .toga-motion-fade {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.toga-motion-image {
  overflow: hidden;
}

.toga-motion-image > img,
.toga-motion-image > picture > img,
.toga-motion-image picture > img,
.toga-motion-image figure img {
  transform: scale(1.15);
  transform-origin: center;
  transition: transform 700ms var(--toga-ease-reveal);
  will-change: transform;
}
@media (max-width: 767px) {
  .toga-motion-image > img,
  .toga-motion-image > picture > img,
  .toga-motion-image picture > img,
  .toga-motion-image figure img {
    transform: scale(1.2);
  }
}

.toga-motion-image.is-motion-visible > img,
.toga-motion-image.is-motion-visible > picture > img,
.toga-motion-image.is-motion-visible picture > img,
.toga-motion-image.is-motion-visible figure img {
  transform: scale(1);
}

.renewal-cases__all-card {
  position: relative;
  display: flex;
  width: 750px;
  height: auto;
  flex: 0 0 750px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 55px;
  overflow: hidden;
  border-radius: var(--toga-radius-image);
  color: #111;
  background: var(--toga-mist);
}

.renewal-cases__all-card::before {
  display: none;
}

.renewal-cases__all-card strong {
  font-size: 20px;
  font-weight: 500;
}

.renewal-cases__all-card img {
  position: static;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  transition: transform var(--toga-motion-hover) var(--toga-ease-out);
}

/* TOP・詳細で共有する横スクロールカードの画像サイズ。 */
.renewal-cases {
  --toga-case-slider-image-height: auto;
}

.renewal-cases .toga-case-card__image {
  height: var(--toga-case-slider-image-height);
}

.renewal-cases .toga-case-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

@media (max-width: 767px) {
  .renewal-cases {
    --toga-case-slider-image-height: 210px;
  }
}
@media (min-width: 768px) and (min-height: 1001px) {
  .renewal-cases {
    --toga-case-slider-image-height: clamp(480px, calc(100svh - 560px), 620px);
  }
}
@media (min-width: 768px) and (max-height: 1000px) {
  .renewal-cases {
    --toga-case-slider-image-height: clamp(150px, calc(100svh - 560px), 660px);
  }
}
@media (min-width: 768px) and (max-height: 600px) {
  .renewal-cases {
    --toga-case-slider-image-height: clamp(80px, calc(100svh - 410px), 150px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .renewal-cases {
    height: calc(var(--toga-case-sticky-height, 100vh) + var(--toga-case-travel, 0px) + 50svh);
    padding: 0;
    overflow: clip;
    background: transparent;
  }
  .renewal-cases__sticky {
    position: sticky;
    z-index: 1;
    overflow: hidden;
  }
  .renewal-cases .toga-case-grid {
    transition: none;
  }
  .toga-case-detail.toga-case-detail .toga-case-detail__related.renewal-cases {
    height: calc(var(--toga-case-sticky-height, 100vh) + var(--toga-case-travel, 0px) + 50svh);
    padding: 0;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .renewal-cases {
    min-height: 958px;
  }
  .renewal-cases__sticky {
    top: var(--toga-case-sticky-top, 120px);
    height: calc(100svh - var(--toga-case-sticky-top, 120px));
    min-height: 680px;
    padding-top: 0;
    background: linear-gradient(to bottom, #fff 35px, var(--toga-mist) 35px);
  }
  .renewal-cases__heading {
    margin: 0 auto;
  }
  .renewal-cases__heading + .renewal-cases__viewport {
    margin-top: 95px;
  }
  /* Keep the centered hover scale clear of the sticky viewport's clipped top edge. */
  .toga-home-cases .renewal-cases__controls {
    position: relative;
    top: 6px;
  }
}
/* Keep each horizontal case card, including its copy, inside shorter desktop viewports. */
@media (min-width: 768px) and (max-height: 1000px) and (prefers-reduced-motion: no-preference) {
  .renewal-cases__sticky {
    min-height: 0;
  }
  .renewal-cases__heading {
    margin: 0 auto;
  }
  .renewal-cases__heading + .renewal-cases__viewport {
    margin-top: clamp(60px, 8svh, 80px);
  }
  .renewal-cases__all-card {
    height: auto;
  }
}
/* Preserve the heading while fitting the complete card inside very short desktop viewports. */
@media (min-width: 768px) and (max-height: 600px) and (prefers-reduced-motion: no-preference) {
  .renewal-cases__heading + .renewal-cases__viewport {
    margin-top: clamp(10px, 2.5svh, 18px);
  }
}
@media (min-width: 768px) and (min-height: 1001px) and (prefers-reduced-motion: no-preference) {
  .renewal-cases__all-card {
    height: var(--toga-case-slider-image-height);
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .renewal-cases {
    min-height: 599px;
    overflow: visible;
  }
  .renewal-cases__sticky {
    top: var(--toga-case-sticky-top, var(--toga-header));
    height: calc(100svh - var(--toga-case-sticky-top, var(--toga-header)));
    min-height: 540px;
    padding-top: 0;
    background: linear-gradient(to bottom, #fff 24px, var(--toga-mist) 14px);
  }
}
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .renewal-cases__all-card {
    width: calc(100vw - 40px);
    height: var(--toga-case-slider-image-height);
    flex-basis: calc(100vw - 40px);
    gap: 18px;
    padding: 30px;
  }
  .renewal-cases__all-card strong {
    font-size: 18px;
  }
  .renewal-cases__all-card img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .renewal-cases__all-card:hover img {
    transform: scale(1.2);
  }
}
.renewal-message__heading picture,
.renewal-message__heading img,
.renewal-about-page .toga-about__statement picture,
.renewal-about-page .toga-about__statement img {
  display: block;
  width: 100%;
  height: auto;
}

.renewal-message__heading picture {
  width: min(566px, 100%);
  margin: 0 auto;
}

.renewal-about-page .toga-about__statement picture {
  width: min(566px, 100%);
  margin: 0 auto;
}

@media (max-width: 767px) {
  .renewal-message__heading picture,
  .renewal-about-page .toga-about__statement picture {
    width: 220px;
  }
  .renewal-about-page .toga-about__statement picture {
    margin-right: auto;
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .toga-motion-hero-title,
  .toga-motion-hero-title .renewal-hero__title-line img,
  .toga-motion-heading .toga-motion-character,
  .toga-motion-fade,
  .toga-motion-image img,
  .renewal-cases__all-card img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* 承認済みの表示速度と移動量をモーション定義へ統合します。 */
@keyframes toga-hero-intro-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body.home .toga-header,
  .renewal-hero__photo,
  .renewal-hero__thumbs,
  .renewal-hero__dots,
  .renewal-hero__marquee {
    animation: toga-hero-intro-fade 2500ms var(--toga-ease-out) both;
  }
}
.toga-motion-ready .toga-motion-heading .toga-motion-character {
  transform: translate3d(-0.42em, 0, 0);
  transition: opacity 360ms var(--toga-ease-out), transform 520ms var(--toga-ease-reveal);
  transition-delay: calc(var(--toga-character-index) * 40ms);
}

.toga-motion-image > img,
.toga-motion-image > picture > img,
.toga-motion-image picture > img,
.toga-motion-image figure img {
  transform: scale(1.15);
  transition-duration: 900ms;
}
@media (max-width: 767px) {
  .toga-motion-image > img,
  .toga-motion-image > picture > img,
  .toga-motion-image picture > img,
  .toga-motion-image figure img {
    transform: scale(1.2);
  }
}

.renewal-slider__slide {
  transition-duration: 800ms;
}

@media (prefers-reduced-motion: reduce) {
  .renewal-hero__photo,
  .renewal-hero__thumbs,
  .renewal-hero__dots,
  .renewal-hero__marquee {
    animation: none;
    opacity: 1;
  }
}

/*# sourceMappingURL=page-layout.css.map */
