@charset "UTF-8";
/*
 * ヘッダー、ドロワーメニュー、トップページ固有の表示。
 * 承認済みPC/SPデザインの再現に必要な寸法と配置を管理します。
 */
/* Home page fidelity pass — Illustrator PC/SP artboards, 2026-07-17. */
.toga-header {
  height: 160px;
  padding: 0 50px 0 80px;
  border-bottom: 0;
}

.toga-header__brand {
  display: flex;
  flex: 0 0 340px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 23px 0 0;
}

.toga-header__brand .toga-header__logo {
  display: block;
  flex: none;
  padding: 0;
}

.toga-header__brand .toga-header__logo img {
  width: 249px;
  max-height: none;
  transform: translateY(10px);
}

.toga-header__toggle {
  transform: translateY(6px);
}

.toga-header__area-note {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--toga-muted);
  background: transparent;
  font-size: 7px;
  letter-spacing: 0;
  line-height: 1.35;
  cursor: pointer;
}

.toga-header__area-note + * {
  margin-top: 8px;
}

.toga-header__nav {
  gap: 40px;
  padding-right: 29px;
}

.toga-header__nav > a,
.toga-header__nav > button {
  min-width: 0;
  padding: 0;
  border-left: 0;
}

.toga-header__nav span {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.toga-header__toggle {
  margin-left: 30px;
}

.toga-header__toggle img {
  width: 28px;
  height: 20px;
  object-fit: contain;
}

.toga-header__contact-float {
  top: 136px;
  right: 55px;
  width: 50px;
  height: 180px;
  border-radius: 25px;
  background: var(--toga-sky);
  font-size: 15px;
  font-weight: 500;
}

.toga-header__contact-float img,
.toga-header__contact-long {
  display: none;
}

.renewal-slider__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--toga-ease-out), visibility 0.55s var(--toga-ease-out);
}

.renewal-slider__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

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

.renewal-slider-dots {
  display: flex;
  align-items: center;
  gap: 14px;
}

.renewal-slider-dots button {
  width: 6px;
  height: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--toga-dots);
  cursor: pointer;
  transition: width var(--toga-motion-hover) var(--toga-ease-out), background-color var(--toga-motion-hover) var(--toga-ease-out);
}
@media (max-width: 767px) {
  .renewal-slider-dots button {
    width: 4px;
    height: 4px;
  }
}

.renewal-slider-dots button.is-active {
  width: 55px;
  background: var(--toga-ink);
}

.renewal-hero {
  width: 100%;
  max-width: none;
  height: calc(100vh - var(--toga-header));
}

.renewal-hero__photo {
  top: 0;
  left: 200px;
  right: auto;
  width: calc(100% - 200px);
  height: 78.5%;
  overflow: hidden;
  border-radius: var(--toga-radius-image) 0 0 var(--toga-radius-image);
}

.renewal-hero__title {
  top: 228px;
  left: 80px;
  width: 480px;
}

.renewal-hero__thumbs {
  top: 530px;
  right: 0;
  width: 350px;
  height: 150px;
  gap: 30px;
  padding: 30px 50px 0 30px;
  background: linear-gradient(to bottom, #fff 0 45px, transparent 45px);
}

.renewal-hero__thumbs button {
  display: block;
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.renewal-hero__thumbs img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.renewal-hero__dots {
  position: absolute;
  z-index: 4;
  top: 612px;
  left: 80px;
}

.renewal-hero__marquee {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  overflow: hidden;
}

.renewal-hero__marquee-track {
  display: flex;
  width: max-content;
  height: 150px;
  animation: toga-marquee 24s linear infinite;
  will-change: transform;
}

.renewal-hero__marquee-track img {
  width: 2294px;
  max-width: none;
  height: 150px;
  flex: 0 0 2294px;
}

@keyframes toga-marquee {
  to {
    transform: translate3d(-2294px, 0, 0);
  }
}
.renewal-about {
  width: min(1270px, 100% - 120px);
  grid-template-columns: 575px minmax(0, 1fr);
  margin: 180px 0 0 max(60px, (100% - 1150px) / 2);
}

.renewal-about__copy {
  padding: 35px 48px 55px 0;
}

.renewal-about h1 {
  margin: 0;
  color: var(--toga-blue);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.renewal-about h1 + * {
  margin-top: 43px;
}

.renewal-about p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.25;
  letter-spacing: 0;
}

.renewal-about__media {
  position: relative;
  aspect-ratio: 694/460;
  height: auto;
  margin: 134px 0 0 1px;
  overflow: hidden;
  border-radius: var(--toga-radius-image) 0 0 var(--toga-radius-image);
}

.renewal-about__slides {
  position: absolute;
  inset: 0;
}

.renewal-about__slides img {
  object-position: center;
}

.renewal-about__dots {
  position: absolute;
  z-index: 3;
  right: 50px;
  bottom: 25px;
}

.renewal-about__dots button {
  background: rgba(255, 255, 255, 0.72);
}

.renewal-about__dots button.is-active {
  background: #fff;
}

.renewal-reasons {
  padding: 20px 0 200px;
}

.renewal-reasons__inner {
  width: 100%;
  max-width: var(--toga-content-frame-width);
  padding: 0 var(--toga-content-gutter);
}

.renewal-label {
  width: 520px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--toga-blue);
  color: var(--toga-blue);
  font-family: var(--toga-font-latin);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.renewal-reasons ol {
  width: 620px;
}

.renewal-reasons li {
  grid-template-columns: 100px 1fr;
  border-bottom-color: var(--toga-line);
}

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

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

.renewal-reasons li > span {
  color: var(--toga-blue);
  font-family: var(--toga-font-latin);
  font-size: 14px;
  line-height: 1.15;
}

.renewal-reasons li > span strong {
  font-size: 30px;
  font-weight: 700;
  margin-top: 3px;
}

.renewal-reasons h2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.renewal-reasons h2 em {
  color: var(--toga-blue);
  font-family: var(--toga-font-latin);
  font-size: 45px;
  font-weight: 600;
}

.renewal-reasons h2 small {
  font-size: 10px;
  font-weight: 400;
}

.toga-pill-button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  border-radius: 999px;
  color: #fff;
  background: var(--toga-blue);
  font-size: 15px;
  font-weight: 500;
}

.toga-pill-button span {
  font-family: var(--toga-font-latin);
  font-size: 20px;
  font-weight: 400;
}

.renewal-reasons__inner > .toga-pill-button {
  width: 345px;
  padding: 0 20px;
  border-radius: var(--toga-radius-control);
  background: var(--toga-blue);
  font-size: 15px;
  font-weight: 500;
}

.renewal-reasons__inner > .toga-pill-button .toga-pill-button__arrow {
  width: 14px;
  height: 13px;
  flex: 0 0 14px;
}

.renewal-cases {
  padding: 0 0 72px;
  background: linear-gradient(to bottom, #fff 35px, var(--toga-mist) 35px);
}

.renewal-cases__heading {
  display: flex;
  width: 100%;
  max-width: var(--toga-content-frame-width);
  align-items: flex-start;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 var(--toga-content-gutter);
}

.renewal-cases__heading + .renewal-cases__viewport {
  margin-top: var(--toga-section-space);
}

.renewal-cases__heading h2 {
  color: var(--toga-blue);
  font-family: var(--toga-font-latin);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.renewal-cases__heading p {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.renewal-cases__controls {
  display: flex;
  gap: 20px;
  margin-top: 0;
}

.renewal-cases__controls a,
.renewal-cases__controls button {
  display: block;
  width: 60px;
  height: 60px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.renewal-cases__controls img {
  width: 60px;
  height: 60px;
}

.renewal-cases__viewport {
  width: 100%;
  overflow: visible;
}

.toga-home-cases .wp-block-toga-office-case-grid.alignwide {
  width: 100%;
  max-width: var(--toga-content-frame-width);
  margin: 0 auto;
  padding: 0 var(--toga-content-gutter);
  overflow: visible;
}

.toga-home-cases .toga-case-grid {
  gap: 50px;
  margin: 0;
  transition: transform 0.45s var(--toga-ease-reveal);
  will-change: transform;
}

.toga-case-slider .toga-case-card {
  width: 750px;
  flex: 0 0 750px;
}

.toga-case-slider .toga-case-card__image {
  overflow: hidden;
  border-radius: var(--toga-radius-image);
}

.toga-case-slider .toga-case-card:not(:first-child) .toga-case-card__image {
  transform: translateX(-5px);
}

.toga-case-slider .toga-case-card__body {
  position: relative;
  padding: 58px 90px 0 30px;
}

.toga-case-slider .toga-case-card__number {
  top: -42px;
  left: 34px;
}

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

.toga-case-slider .toga-case-card h3 {
  width: 100%;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
  word-break: normal;
  line-break: strict;
  overflow-wrap: normal;
}

.toga-case-slider .toga-case-card__client {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.8;
}

.toga-case-slider .toga-case-card .toga-arrow {
  position: absolute;
  right: 30px;
  top: 59px;
  bottom: auto;
  display: block;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.toga-case-slider .toga-case-card .toga-arrow img {
  width: 60px;
  height: 60px;
}

.renewal-message {
  padding: 203px 24px 196px;
  background: url("../images/message-gradient.webp") center bottom/100% 290px no-repeat;
}

.renewal-message::after {
  display: none;
}

.renewal-message h2 {
  margin: 0;
}

.renewal-message h2 + p {
  margin-top: 90px;
}

.renewal-message__heading {
  color: #111;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-align: center;
}

.renewal-message__heading br {
  display: none;
}

.renewal-message p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 500;
  line-height: 2.4;
}

.renewal-message p + p {
  margin-top: 38px;
}

.renewal-message__logo {
  max-width: 300px;
  margin: 92px auto 0;
  width: 100%;
}

.renewal-message > .toga-pill-button {
  width: 242px;
  min-width: 242px;
  min-height: 60px;
  margin: 28px auto 0;
  padding: 0 30px;
  border-radius: var(--toga-radius-control);
  background: var(--toga-sky);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.renewal-message > .toga-pill-button img {
  width: 11px;
  height: 12px;
  flex: 0 0 11px;
}

.renewal-contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 98px 24px 100px;
  background: var(--toga-blue);
}

.renewal-contact-cta > #contact-cta-heading {
  width: 100%;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 36px;
}

.renewal-contact-cta > #contact-cta-heading br {
  display: none;
}

.renewal-contact-cta .renewal-contact-cta__area-note {
  display: flex;
  width: 100%;
  max-width: 820px;
  justify-content: center;
  margin: 30px 0 0;
  padding: 18px 15px;
  border: 1px solid #fff;
  border-radius: var(--toga-radius-image);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 36px;
  text-align: center;
}

.renewal-contact-cta .toga-pill-button--contact {
  display: flex;
  width: 400px;
  min-height: 90px;
  flex: 0 0 90px;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  margin: 60px 0 0;
  padding: 0 62px;
  border-radius: 45px;
  color: var(--toga-blue);
  background: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.renewal-contact-cta .toga-pill-button--contact img {
  width: 37px;
  height: 22px;
  flex: 0 0 37px;
  object-fit: contain;
}

.renewal-footer__main nav .renewal-footer__privacy {
  display: inline-flex;
  width: auto;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
}

.renewal-footer__main .renewal-footer__privacy img {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
}

.renewal-footer__main button.renewal-footer__privacy:disabled,
.toga-header__drawer-links > button:disabled {
  color: inherit;
  opacity: 1;
  cursor: default;
}

.toga-header__drawer-links > button:disabled:hover {
  color: #000;
}

.renewal-footer__company .renewal-footer__company-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.renewal-footer__company .renewal-footer__company-link img {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.renewal-footer__company > p:last-child {
  margin: 0;
}

@media (min-width: 768px) {
  .renewal-cases {
    height: auto;
    min-height: 958px;
  }
  .renewal-footer__brands {
    height: auto;
    min-height: 536px;
    padding: 155px 24px 107px;
  }
  .renewal-footer__main {
    height: auto;
    min-height: 450px;
    grid-template-columns: 280px 1fr 390px;
    gap: 65px;
    padding: 100px max(48px, (100vw - 1180px) / 2) 80px;
  }
  .renewal-footer__brands > div {
    width: min(950px, 100% - 120px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
  }
  .renewal-footer__brands strong {
    height: 150px;
    min-height: 150px;
    overflow: hidden;
    border-radius: var(--toga-radius-image);
    background: var(--toga-mist);
  }
  .renewal-footer__brands strong img {
    max-width: none;
    max-height: none;
  }
  .renewal-footer__brands a:first-child strong img {
    width: 280px;
    height: 45px;
  }
  .renewal-footer__brands a:nth-child(2) strong img {
    width: 272px;
    height: 28px;
  }
  .renewal-footer__brands small {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.4;
  }
  .renewal-footer__main nav a,
  .renewal-footer__main nav button {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
  }
  .renewal-footer__company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 2;
  }
  .renewal-footer__company > p:last-child {
    font-size: 12px;
    line-height: 1.5;
  }
}
@media (min-width: 768px) and (max-width: 1280px) {
  /* MONJI 2–4: keep tablet typography readable and give the header room. */
  .toga-header {
    padding-inline: 30px;
  }
  .toga-header__primary-nav span,
  .toga-header__nav span {
    font-size: clamp(14px, 1.25vw, 16px);
  }
  .toga-header__primary-nav,
  .toga-header__nav {
    gap: clamp(10px, 1.7vw, 20px);
    padding-right: 0;
  }
  .toga-header__brand {
    flex-basis: clamp(235px, 28vw, 330px);
    padding-top: 18px;
  }
  .toga-header__brand .toga-header__logo img {
    width: clamp(185px, 18vw, 225px);
  }
  /*
   * タブレット横向きでは固定列を縮め、中央のナビ幅を優先します。
   * 1024px時も各リンクが折り返さず表示できる余白を確保します。
   */
  .renewal-footer__main {
    grid-template-columns: minmax(180px, 220px) minmax(230px, 1fr) minmax(260px, 300px);
    column-gap: clamp(32px, 4vw, 50px);
    padding-inline: clamp(32px, 5vw, 64px);
  }
  .renewal-footer__main > div:first-child img {
    width: min(200px, 100%);
    height: auto;
  }
  .renewal-footer__main nav a,
  .renewal-footer__main nav button {
    white-space: nowrap;
  }
  .renewal-hero__thumbs {
    top: 38.13vw;
    width: 25.18vw;
    height: 10.79vw;
    gap: 2.16vw;
    padding: 2.16vw 3.6vw 0 2.16vw;
    background: linear-gradient(to bottom, #fff 0 3.24vw, transparent 3.24vw);
  }
  .renewal-hero__thumbs button {
    width: 8.63vw;
    height: 8.63vw;
    flex-basis: 8.63vw;
  }
  .renewal-about p {
    font-size: clamp(14px, 1.25vw, 15px);
  }
  .renewal-about__media {
    height: auto;
    margin-top: 7vw;
  }
  /* MONJI 1: the CTA follows the reason list instead of overlapping it. */
  .renewal-reasons__inner > .toga-pill-button {
    display: flex;
    width: min(345px, 100%);
    margin: 40px auto 0;
  }
  /* MONJI 5: keep the four footer labels balanced in the tablet range. */
  .renewal-footer__learn nav a {
    padding-inline: clamp(16px, 2.4vw, 31px);
    font-size: clamp(14px, 1.55vw, 20px);
    line-height: 1.45;
  }
}
@media (min-width: 768px) and (max-width: 1000px) {
  :root {
    --toga-header: 92px;
  }
  .toga-header {
    height: 92px;
    padding: 0 20px;
  }
  .toga-header__brand {
    flex: 1;
    padding-top: 12px;
  }
  .toga-header__brand .toga-header__logo img {
    width: 180px;
    transform: none;
  }
  .toga-header__primary-nav,
  .toga-header__nav {
    display: none;
  }
  .toga-header__toggle {
    width: 40px;
    height: 40px;
    margin-left: auto;
    flex-basis: 40px;
    transform: none;
  }
  .toga-header__toggle img {
    width: 22px;
    height: 16px;
  }
  .toga-header__drawer-panel {
    padding: 80px 20px 30px;
  }
  .toga-header__drawer-brand {
    padding-left: 0;
  }
}
@media (min-width: 768px) and (max-width: 900px) {
  /*
   * タブレット縦向きでは会社情報を2段目へ送り、
   * 1段目のロゴとナビが潰れない2カラム構成にします。
   */
  .renewal-footer__main {
    grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
    column-gap: 40px;
    row-gap: 48px;
    padding: 80px 32px;
  }
  .renewal-footer__main > div:first-child img {
    width: min(180px, 100%);
  }
  .renewal-footer__company {
    grid-column: 1/-1;
    align-self: start;
  }
}
@media (max-width: 767px) {
  html,
  body {
    overflow-x: clip;
  }
  .toga-header {
    height: 92px;
    padding: 0 20px;
  }
  .toga-header__brand {
    flex: 1;
    padding-top: 12px;
  }
  .toga-header__area-note {
    margin: 0;
    font-size: 7px;
  }
  .toga-header__area-note + * {
    margin-top: 4px;
  }
  .toga-header__brand .toga-header__logo img {
    width: 180px;
  }
  .toga-header__brand .toga-header__logo img,
  .toga-header__toggle {
    transform: none;
  }
  .toga-header__toggle {
    width: 40px;
    height: 40px;
    margin-left: auto;
    flex-basis: 40px;
  }
  .toga-header__toggle img {
    width: 22px;
    height: 16px;
  }
  .toga-header__nav span {
    font-size: 15px;
  }
  .renewal-hero {
    height: calc(100vh - var(--toga-header));
  }
  .renewal-hero__photo {
    top: 19px;
    left: 40px;
    width: calc(100% - 40px);
    height: 54%;
    border-radius: 8px 0 0 8px;
  }
  .renewal-hero__title {
    top: 296px;
    left: 20px;
    width: 280px;
  }
  .renewal-hero__dots {
    top: 295px;
    left: auto;
    right: 20px;
  }
  .renewal-hero__dots button {
    background: rgba(255, 255, 255, 0.75);
  }
  .renewal-hero__dots button.is-active {
    background: #fff;
  }
  .renewal-hero__marquee {
    top: auto;
    bottom: 0;
    height: 75px;
  }
  .renewal-hero__marquee-track {
    height: 75px;
    animation-duration: 18s;
  }
  .renewal-hero__marquee-track img {
    width: 1147px;
    height: 75px;
    flex-basis: 1147px;
  }
  @keyframes toga-marquee {
    to {
      transform: translate3d(-1147px, 0, 0);
    }
  }
  .renewal-slider-dots {
    gap: 10px;
  }
  .renewal-slider-dots button.is-active {
    width: 33px;
  }
  .renewal-about {
    width: 100%;
    margin: 90px 0 0;
  }
  .renewal-about__copy {
    padding: 0 20px 35px;
  }
  .renewal-about h1 {
    font-size: 24px;
    font-weight: 600;
  }
  .renewal-about p {
    font-size: 13px;
    line-height: 2.25;
  }
  .renewal-about__copy {
    padding-bottom: 60px;
  }
  .renewal-about__media {
    width: calc(100% - 20px);
    height: 237px;
    margin-top: 0;
    margin-left: 20px;
    border-radius: 8px 0 0 8px;
  }
  .renewal-about__dots {
    right: 25px;
    bottom: 20px;
  }
  .renewal-reasons {
    padding: 75px 20px 115px;
  }
  .renewal-reasons__inner {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  .renewal-label {
    width: 100%;
    padding-bottom: 10px;
    font-size: 16px;
    line-height: 1.2;
  }
  .renewal-reasons li:nth-child(2),
  .renewal-reasons li:nth-child(3) {
    margin-left: 0;
  }
  .renewal-reasons ol {
    margin: 0;
    width: 100%;
  }
  .renewal-reasons li {
    grid-template-columns: 70px 1fr;
    min-height: 120px;
  }
  .renewal-reasons li:first-child {
    min-height: 113px;
  }
  .renewal-reasons li:nth-child(3) {
    min-height: 130px;
  }
  .renewal-reasons li > span {
    font-size: 12px;
    line-height: 1.25;
  }
  .renewal-reasons li > span strong {
    font-size: 25px;
    line-height: 1.2;
  }
  .renewal-reasons h2 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
  }
  .renewal-reasons h2 em {
    font-size: 41px;
    line-height: 1;
  }
  .renewal-reasons h2 small {
    display: block;
    margin-left: 0;
    font-size: 10px;
    line-height: 1.2;
  }
  .renewal-reasons__inner > .toga-pill-button {
    max-width: 100%;
    min-height: 60px;
    margin: 60px auto 0;
    padding: 0 20px;
    border-radius: var(--toga-radius-control);
    font-size: 14px;
    line-height: 1;
  }
}
@media (max-width: 767px) and (max-width: 360px) {
  .renewal-reasons__inner > .toga-pill-button {
    font-size: 13px;
    padding: 0 10px;
  }
}
@media (max-width: 767px) {
  .renewal-cases {
    height: auto;
    min-height: 599px;
    padding: 0;
    background: linear-gradient(to bottom, #fff 24px, var(--toga-mist) 14px);
  }
  .renewal-cases__heading {
    display: block;
    width: calc(100% - 40px);
    max-width: none;
    margin: 0 auto;
    padding: 0;
  }
  .renewal-cases__heading + .renewal-cases__viewport {
    margin-top: 106px;
  }
  .renewal-cases__heading h2 {
    font-size: 40px;
    line-height: 1.2;
  }
}
@media (max-width: 767px) and (max-width: 360px) {
  .renewal-cases__heading h2 {
    font-size: 38px;
  }
}
@media (max-width: 767px) {
  .renewal-cases__heading p {
    display: none;
  }
  .renewal-cases__controls {
    position: absolute;
    top: 55px;
    right: 0;
    gap: 13px;
    margin-top: 0;
  }
  .renewal-cases__controls a,
  .renewal-cases__controls button,
  .renewal-cases__controls img {
    width: 40px;
    height: 40px;
  }
  .toga-home-cases .wp-block-toga-office-case-grid.alignwide {
    width: auto;
    max-width: none;
    margin-left: 20px;
    padding: 0;
  }
  .toga-home-cases .toga-case-grid {
    gap: 20px;
  }
  .toga-case-slider .toga-case-card {
    width: calc(100vw - 40px);
    flex-basis: calc(100vw - 40px);
  }
  .toga-case-slider .toga-case-card:not(:first-child) .toga-case-card__image {
    transform: none;
  }
  .toga-case-slider .toga-case-card__body {
    min-height: 151px;
    padding: 39px 10px 0 10px;
  }
  .toga-case-slider .toga-case-card__number {
    display: block;
    top: -33px;
    left: 10px;
    font-size: 0;
  }
  .toga-case-slider .toga-case-card__number strong {
    font-size: 60px;
  }
  .toga-case-slider .toga-case-card h3 {
    font-size: 20px;
    line-height: 1.5;
  }
  .toga-case-slider .toga-case-card__client {
    font-size: 12px;
  }
  .toga-case-slider .toga-case-card .toga-arrow {
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    top: auto;
  }
  .toga-case-slider .toga-case-card .toga-arrow img {
    width: 40px;
    height: 40px;
  }
  .renewal-message {
    padding: 145px 20px 150px;
    background-image: url("../images/message-gradient-sp.webp");
    background-size: auto 210px;
    text-align: left;
  }
  .renewal-message h2 {
    margin: 0;
  }
  .renewal-message h2 + p {
    margin-top: 42px;
  }
  .renewal-message__heading {
    font-size: 24px;
    letter-spacing: 0.1em;
    line-height: 1.6;
  }
  .renewal-message__heading br {
    display: block;
  }
  .renewal-message p {
    margin: 0 auto;
    font-size: 14px;
    line-height: 2.25;
    text-align: justify;
  }
  .renewal-message p + p {
    margin-top: 28px;
  }
  .renewal-message__logo {
    margin: 100px auto 0;
  }
  .renewal-message > .toga-pill-button {
    display: flex;
    width: 230px;
    min-width: 230px;
    min-height: 54px;
    margin: 28px auto 0;
    font-size: 13px;
  }
  .renewal-contact-cta {
    padding: 150px 20px;
  }
  .renewal-contact-cta > #contact-cta-heading {
    font-size: 14px;
    line-height: 30px;
    text-align: justify;
  }
  .renewal-contact-cta .renewal-contact-cta__area-note {
    width: 100%;
    justify-content: flex-start;
    margin-top: 29px;
    padding: 30px 15px;
    font-size: 14px;
    line-height: 30px;
    text-align: justify;
  }
  .renewal-contact-cta .toga-pill-button--contact {
    width: 267px;
    min-height: 60px;
    flex-basis: 60px;
    gap: 20px;
    margin-top: 60px;
    padding: 0 30px;
    border-radius: var(--toga-radius-control);
    font-size: 15px;
  }
  .renewal-contact-cta .toga-pill-button--contact img {
    width: 25px;
    height: 15px;
    flex-basis: 25px;
  }
  .renewal-footer__brands {
    min-height: 651px;
    padding: 119px 38px 106px;
  }
  .renewal-footer__brands h2 {
    width: 296px;
    height: 65px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
  }
  .renewal-footer__brands h2 + div {
    margin-top: 55px;
  }
  .renewal-footer__brands > div {
    width: 300px;
    gap: 27px;
  }
  .renewal-footer__brands strong {
    width: 300px;
    height: 100px;
    min-height: 100px;
    border-radius: var(--toga-radius-image);
  }
  .renewal-footer__brands small {
    margin-top: 13px;
    font-size: 14px;
  }
  .renewal-footer__brands a:first-child strong img {
    width: 188px;
  }
  .renewal-footer__brands a:nth-child(2) strong img {
    width: 184px;
  }
  .renewal-footer__main {
    height: auto;
    min-height: 730px;
    gap: 60px;
    padding: 80px 20px 73px;
  }
  .renewal-footer__main nav {
    gap: 17px;
  }
  .renewal-footer__main nav a,
  .renewal-footer__main nav button {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.47;
  }
  .renewal-footer__company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 14px;
    line-height: 2;
  }
  .renewal-footer__company {
    margin-top: 12px;
  }
  .renewal-footer__company > p:last-child {
    font-size: 12px;
    line-height: 1.2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .renewal-slider__slide,
  .toga-home-cases .toga-case-grid {
    transition: none;
  }
  .renewal-hero__marquee-track {
    animation: none;
  }
}
/* Fixed header and Illustrator drawer, 2026-07-21. */
body {
  padding-top: 160px;
}

body.is-menu-open {
  overflow: hidden;
}

html:has(body.is-menu-open) {
  overflow: hidden;
}

.toga-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
}

.admin-bar .toga-header {
  top: 32px;
}

.toga-header__primary-nav {
  display: flex;
  height: 100%;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  padding-right: 29px;
}

.toga-header__primary-nav > a,
.toga-header__primary-nav > button {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: #000;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.toga-header__primary-nav > a:hover,
.toga-header__primary-nav > button:hover {
  color: var(--toga-blue);
}

.toga-header__primary-nav span {
  font-weight: 500;
  letter-spacing: 0.03em;
}

.toga-header__toggle {
  position: relative;
  z-index: 103;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.toga-header__toggle::before,
.toga-header__toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 1px;
  background: #fff;
  content: "";
  opacity: 0;
  transform-origin: center;
}

.toga-header__drawer {
  position: fixed;
  z-index: 101;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.admin-bar .toga-header__drawer {
  top: 32px;
}

.is-menu-open .toga-header__drawer {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.is-menu-open .toga-header__toggle {
  position: fixed;
  top: 50px;
  right: 50px;
  margin: 0;
  transform: none;
}

.admin-bar.is-menu-open .toga-header__toggle {
  top: 87px;
}

.is-menu-open .toga-header__toggle img {
  opacity: 0;
}

.is-menu-open .toga-header__toggle::before {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg);
}

.is-menu-open .toga-header__toggle::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.is-menu-open .toga-header__brand,
.is-menu-open .toga-header__primary-nav,
.is-menu-open .toga-header__contact-float {
  visibility: hidden;
}

.toga-header__drawer-brand {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--toga-blue);
}

.toga-header__drawer-logo {
  position: absolute;
  top: 50%;
  left: 80px;
  display: block;
  width: 480px;
  height: auto;
  transform: translateY(-50%);
}

.toga-header__drawer-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

.toga-header__drawer-links {
  position: absolute;
  top: 126px;
  left: 99px;
  width: 401px;
}

.toga-header__drawer-links > a,
.toga-header__drawer-links > button {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 10px;
  border: 0;
  border-bottom: 1px solid #dadada;
  color: #000;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.toga-header__drawer-links > a:hover,
.toga-header__drawer-links > button:hover {
  color: var(--toga-blue);
}

.toga-header__drawer-links img {
  width: 12px;
  height: 12px;
  margin-top: 9px;
  flex: 0 0 12px;
}

@media (min-width: 1001px) and (max-width: 1280px) {
  .toga-header {
    padding-inline: 30px;
  }
  .toga-header__primary-nav {
    gap: clamp(10px, 1.7vw, 20px);
    padding-right: 0;
  }
  .toga-header__primary-nav span {
    font-size: clamp(14px, 1.25vw, 16px);
  }
  .toga-header__drawer {
    grid-template-columns: 56.835% 43.165%;
  }
  .toga-header__drawer-logo {
    left: clamp(48px, 5.75vw, 80px);
    width: min(34.53vw, 480px);
  }
  .toga-header__drawer-links {
    right: max(50px, 7.12vw);
    left: auto;
    width: min(401px, 100% - 99px);
  }
}
@media (max-width: 1000px) {
  body {
    padding-top: 92px;
  }
  .admin-bar .toga-header {
    top: 46px;
  }
  .toga-header {
    width: 100vw;
  }
  .toga-header__primary-nav {
    display: none;
  }
  .toga-header__toggle {
    top: 4px;
  }
  .toga-header__drawer {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    background: var(--toga-blue);
  }
  .admin-bar .toga-header__drawer {
    top: 46px;
  }
  .is-menu-open .toga-header__toggle {
    top: 30px;
    right: 20px;
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .admin-bar.is-menu-open .toga-header__toggle {
    top: 76px;
  }
  .toga-header__toggle::before,
  .toga-header__toggle::after {
    width: 18px;
  }
  .toga-header__drawer-panel {
    order: 1;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
  }
  .toga-header__drawer-brand {
    order: 2;
    width: 100%;
    min-height: 180px;
    flex: 1 0 180px;
  }
  .toga-header__drawer-logo {
    display: none;
  }
  .toga-header__drawer-links {
    top: 80px;
    left: 20px;
    width: calc(100% - 40px);
  }
  .toga-header__drawer-links > a,
  .toga-header__drawer-links > button {
    padding: 10px;
  }
  .toga-header__contact-float {
    top: auto;
    right: auto;
    bottom: 20px;
    left: 50vw;
    display: flex;
    width: 267px;
    height: 60px;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 0 30px;
    border-radius: var(--toga-radius-control);
    background: var(--toga-sky);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    transform: translateX(-50%);
    writing-mode: horizontal-tb;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate(-50%, 12px);
  }
  .toga-header__contact-float.is-contact-float-visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  .toga-header__contact-float img {
    display: block;
    width: 25px;
    height: 15px;
    flex: 0 0 25px;
    filter: brightness(0) invert(1);
  }
  .toga-header__contact-short {
    display: none;
  }
  .toga-header__contact-long {
    display: inline;
    white-space: nowrap;
  }
  .is-menu-open .toga-header__brand {
    visibility: hidden;
  }
}
@media (min-width: 783px) and (max-width: 1000px) {
  .admin-bar .toga-header,
  .admin-bar .toga-header__drawer {
    top: 32px;
  }
  .admin-bar.is-menu-open .toga-header__toggle {
    top: 62px;
  }
}
@media (max-width: 600px) {
  .admin-bar .toga-header {
    top: 0;
  }
  .admin-bar .toga-header__drawer {
    top: 0;
  }
  .admin-bar.is-menu-open .toga-header__toggle {
    top: 30px;
  }
}
@media (max-width: 330px) {
  /* MONJI 6: prevent the footer lockup from crowding narrow devices. */
  .renewal-footer__learn-inner > h2 {
    font-size: 30px;
    line-height: 1.2;
  }
  .renewal-footer__learn-inner > h2 small {
    font-size: 21px;
    line-height: 1.25;
  }
}
/*
 * PCのスクロール追従ヘッダー。
 * main.jsが80px以上のスクロールで .is-compact を付けます。
 */
@media (min-width: 1001px) {
  .toga-header,
  .toga-header__brand,
  .toga-header__brand .toga-header__logo img,
  .toga-header__primary-nav,
  .toga-header__toggle {
    transition: height var(--toga-motion-quick) var(--toga-ease-out), width var(--toga-motion-quick) var(--toga-ease-out), flex-basis var(--toga-motion-quick) var(--toga-ease-out), padding var(--toga-motion-quick) var(--toga-ease-out), gap var(--toga-motion-quick) var(--toga-ease-out), transform var(--toga-motion-quick) var(--toga-ease-out);
  }
  .toga-header.is-compact {
    height: var(--toga-header-compact);
  }
  .toga-header.is-compact .toga-header__brand {
    flex-basis: clamp(200px, 20vw, 280px);
    justify-content: center;
    padding-top: 0;
  }
  .toga-header.is-compact .toga-header__brand .toga-header__logo img {
    width: clamp(155px, 14vw, 190px);
    transform: none;
  }
  .toga-header.is-compact .toga-header__primary-nav {
    gap: clamp(12px, 1.7vw, 24px);
    padding-right: 29px;
  }
  .toga-header.is-compact .toga-header__toggle {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    transform: none;
  }
  .toga-header.is-compact .toga-header__contact-float {
    /* コンパクト時の指定位置。ボタンの形状は通常時から変更しません。 */
    top: 90px;
    right: 50px;
  }
  .admin-bar .toga-header.is-compact .toga-header__contact-float {
    top: 122px;
  }
}
@media (min-width: 1001px) and (max-width: 1280px) {
  /* Keep the vertical contact button centred under the menu button. */
  .toga-header__contact-float {
    right: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .toga-header,
  .toga-header__brand,
  .toga-header__brand .toga-header__logo img,
  .toga-header__primary-nav,
  .toga-header__toggle,
  .toga-header__contact-float {
    transition: none;
  }
}

/*# sourceMappingURL=home-fidelity.css.map */
