:root,
.autocalc-legacy-page,
.rotary-contact2-page {
  --rotary-text-color: #333;
  --rotary-card-radius: 8px;
  --rotary-content-width: 920px;
}

.autocalc-legacy-page .ec-headerRole,
.autocalc-legacy-page .ec-headerNaviRole,
.autocalc-legacy-page .ec-footerRole {
  display: none;
}

.autocalc-legacy-page {
  background: #fff;
  color: var(--rotary-text-color);
}

.autocalc-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 0;
}

.autocalc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.autocalc-header__logo img {
  width: 330px;
  max-width: 100%;
}

.autocalc-header__contact img {
  width: 340px;
  max-width: 100%;
}

.autocalc-global-nav {
  margin-top: 20px;
  padding: 12px 8px;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  text-align: center;
  font-size: 14px;
}

.autocalc-global-nav a {
  color: #333;
  text-decoration: none;
}

.autocalc-global-nav img {
  width: auto;
  height: 20px;
  vertical-align: middle;
}

.autocalc-page-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  width: min(1150px, calc(100% - 32px));
  margin: 32px auto 60px;
}

.autocalc-page-main {
  min-width: 0;
}

.autocalc-page-main .ec-role {
  margin: 0;
  padding: 0;
}

.autocalc-shipping-note {
  box-sizing: border-box;
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid #ead2a6;
  border-left: 4px solid #e89a2d;
  border-radius: 4px;
  background: #fff8e8;
  color: #555866;
  font-size: 14px;
  line-height: 1.7;
  white-space: normal;
  overflow-wrap: anywhere;
}

.autocalc-legacy-page .autocalc-intro {
  margin: 0 0 28px;
}

.autocalc-legacy-page .autocalc-intro .autocalc-intro__note {
  color: #666;
  font-size: 14px;
}

.autocalc-legacy-page .autocalc-contact-cta {
  margin: 34px 0 0;
}

.autocalc-legacy-page .autocalc-contact-cta__title {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: var(--rotary-card-radius, 8px);
  background: #dff2fb;
  color: #0097d8;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.autocalc-legacy-page .autocalc-contact-cta__card {
  display: flex;
  box-sizing: border-box;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border: 1px solid #dfe7f3;
  border-left: 4px solid #7bc9e1;
  border-radius: var(--rotary-card-radius, 8px);
  background: #f6f9ff;
}

.autocalc-legacy-page .autocalc-contact-cta__card p {
  margin: 0;
  color: var(--rotary-text-color);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.autocalc-legacy-page .autocalc-contact-cta--plain .autocalc-contact-cta__card {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.autocalc-legacy-page
  .autocalc-contact-cta--plain
  .autocalc-contact-cta__card
  p
  + p {
  margin-top: 8px;
}

.autocalc-legacy-page .autocalc-contact-cta__link {
  display: inline-flex;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: var(--rotary-card-radius, 8px);
  align-items: center;
  justify-content: center;
  background: #2456a6;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.autocalc-legacy-page .autocalc-contact-cta__link:hover,
.autocalc-legacy-page .autocalc-contact-cta__link:focus-visible {
  background: #003f8c;
  color: #fff;
}

.autocalc-form-panel,
.autocalc-order-panel {
  box-sizing: border-box;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #d9e5ef;
  border-radius: 8px;
  background: #fff;
}

.autocalc-order-panel {
  margin-top: 32px;
}

.autocalc-form-panel__title {
  margin: 0 0 4px;
  color: #333;
  font-size: 20px;
  line-height: 1.45;
}

.autocalc-form-row {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid #e5edf5;
}

.autocalc-form-row__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.autocalc-form-row__label-text {
  color: #333;
  font-weight: 700;
  line-height: 1.5;
}

.autocalc-required-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 7px;
  border-radius: 4px;
  background: #fff0f0;
  color: #c64f4f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.autocalc-form-row__control {
  min-width: 0;
}

.autocalc-field-help {
  margin: 7px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.65;
}

.autocalc-detail-link-wrap {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.autocalc-detail-link {
  color: #2456a6;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.autocalc-detail-link:hover,
.autocalc-detail-link:focus-visible {
  color: #003f8c;
  text-decoration-thickness: 2px;
}

.autocalc-radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.autocalc-radio-list label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  color: #333;
  line-height: 1.5;
}

.autocalc-select,
.autocalc-text-input,
.autocalc-textarea {
  box-sizing: border-box;
  max-width: 100%;
  border: 1px solid #bfcbd7;
  border-radius: 4px;
  background: #fff;
  color: #333;
}

.autocalc-select {
  min-height: 38px;
  padding: 6px 8px;
}

.autocalc-select--wide {
  width: min(100%, 420px);
}

.autocalc-select--compact {
  width: min(100%, 220px);
}

.autocalc-text-input {
  width: min(100%, 480px);
  min-height: 38px;
  padding: 7px 9px;
}

.autocalc-text-input--wide {
  width: min(100%, 640px);
}

.autocalc-textarea {
  width: 100%;
  min-height: 120px;
  padding: 9px 10px;
  resize: vertical;
}

.autocalc-file-input {
  max-width: 100%;
}

.autocalc-upload-heading {
  margin: 0 0 8px;
  color: #2456a6;
  font-weight: 700;
  line-height: 1.5;
}

.autocalc-order-content {
  box-sizing: border-box;
  min-height: 180px;
  margin: 0;
  padding: 16px;
  border: 1px solid #bfcbd7;
  border-radius: 4px;
  background: #fff;
  color: #333;
  line-height: 1.65;
  white-space: pre-wrap;
}

.autocalc-size-fields {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 0;
}

.autocalc-size-field {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.autocalc-size-field input {
  width: 100px;
  min-height: 38px;
  padding: 7px 9px;
}

.autocalc-size-field--radius {
  display: inline-grid;
  margin-top: 6px;
}

.autocalc-size-fields__separator {
  padding-top: 0;
}

.autocalc-field-error {
  grid-column: 1 / -1;
  box-sizing: border-box;
  width: 100%;
  margin: 4px 0 0;
  padding: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: #c33;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.autocalc-size-errors {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.autocalc-size-errors .autocalc-field-error {
  margin-top: 0;
}

.autocalc-size-field input[aria-invalid="true"] {
  border-color: #c64f4f;
  background: #fffafa;
}

.autocalc-blade-guidance {
  display: grid;
  gap: 10px;
  margin: 12px 0 18px;
}

.autocalc-blade-guidance__notice,
.autocalc-blade-guidance__suggestions {
  box-sizing: border-box;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.65;
  color: #555866;
}

.autocalc-blade-guidance__notice {
  padding: 10px 12px;
  border: 1px solid #ead2a6;
  border-left: 4px solid #e89a2d;
  background: #fff8e8;
}

.autocalc-blade-guidance__suggestions {
  padding: 12px 14px;
  border: 1px solid #b9d7ee;
  border-left: 4px solid #2456a6;
  background: #f3f9ff;
}

.autocalc-blade-guidance__title {
  display: block;
  margin-bottom: 4px;
  color: #2456a6;
  font-size: 15px;
}

.autocalc-blade-guidance__text {
  margin: 0;
}

.autocalc-blade-guidance__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  margin: 8px 0 0;
  padding-left: 18px;
}

.autocalc-blade-guidance__list li {
  padding-left: 2px;
  overflow-wrap: anywhere;
}

.autocalc-submission-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.autocalc-submission-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  box-sizing: border-box;
  min-height: 100%;
  padding: 14px;
  border: 1px solid #b9d7ee;
  border-radius: 8px;
  background: #fff;
  color: #333;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.autocalc-submission-card:hover {
  border-color: #2456a6;
  background: #f3f9ff;
}

.autocalc-submission-card:has(.autocalc-submission-card__input:checked) {
  border-color: #2456a6;
  border-width: 2px;
  background: #eef7ff;
}

.autocalc-submission-card:has(.autocalc-submission-card__input:focus-visible) {
  outline: 3px solid rgba(36, 86, 166, 0.25);
  outline-offset: 2px;
}

.autocalc-submission-card__input {
  margin-top: 4px;
}

.autocalc-submission-card__content,
.autocalc-submission-card__title,
.autocalc-submission-card__description {
  display: block;
}

.autocalc-submission-card__title {
  color: #2456a6;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.autocalc-submission-card__description {
  margin-top: 6px;
  color: #555866;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body:not(.front_page) .ec-pageHeader h1:not(.rotary-faq-page__heading),
body:not(.front_page) .ec-pageHeader .h1 {
  position: relative;
  padding-left: 26px;
}

body:not(.front_page) .ec-pageHeader h1:not(.rotary-faq-page__heading)::before,
body:not(.front_page) .ec-pageHeader .h1::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  width: 5px;
  height: 1.05em;
  border-radius: 999px;
  background: #2456a6;
  transform: translateY(-50%);
}

.autocalc-sidebar__banner,
.autocalc-sidebar__heading {
  display: block;
  width: 100%;
}

.autocalc-sidebar img {
  display: block;
  width: 100%;
  height: auto;
}

.autocalc-sidebar ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  border: 1px solid #ccc;
  border-top: 0;
}

.autocalc-sidebar li {
  border-top: 1px solid #ddd;
}

.autocalc-sidebar li:first-child {
  border-top: 0;
}

.autocalc-sidebar li a {
  display: block;
  padding: 8px 10px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
}

.autocalc-sidebar li a:hover {
  background: #f2f2f2;
}

.autocalc-footer {
  margin-top: 60px;
  background: #3e5a6a;
  color: #fff;
}

.autocalc-footer__pagetop {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  text-align: right;
  transform: translateY(-100%);
}

.autocalc-footer__pagetop img {
  width: 45px;
}

.autocalc-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 35px 0;
}

.autocalc-footer__logo {
  width: 280px;
  max-width: 100%;
  margin-bottom: 16px;
}

.autocalc-footer a {
  color: #fff;
}

.autocalc-footer__copy {
  padding: 14px;
  background: #2d4654;
  text-align: center;
  font-size: 12px;
}

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

  .autocalc-form-panel,
  .autocalc-order-panel {
    padding: 18px 14px;
  }

  .autocalc-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .autocalc-radio-list {
    gap: 6px 14px;
  }

  .autocalc-text-input,
  .autocalc-text-input--wide,
  .autocalc-select,
  .autocalc-select--wide,
  .autocalc-select--compact,
  .autocalc-textarea {
    width: 100%;
  }

  .autocalc-submission-options {
    grid-template-columns: 1fr;
  }

  .autocalc-legacy-page .autocalc-contact-cta {
    margin-top: 28px;
  }

  .autocalc-legacy-page .autocalc-contact-cta__title {
    padding: 11px 14px;
    font-size: 20px;
  }

  .autocalc-legacy-page .autocalc-contact-cta__card {
    display: grid;
    justify-items: start;
    padding: 16px;
  }

  .autocalc-legacy-page
    .autocalc-contact-cta--plain
    .autocalc-contact-cta__card {
    display: block;
    padding: 0;
  }

  .autocalc-legacy-page .autocalc-contact-cta__card p {
    font-size: 15px;
    line-height: 1.8;
  }

  .autocalc-legacy-page .autocalc-contact-cta__link {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }

  body:not(.front_page) .ec-pageHeader h1:not(.rotary-faq-page__heading),
  body:not(.front_page) .ec-pageHeader .h1 {
    padding-left: 18px;
    border-top: 0;
    font-size: 24px;
  }

  body:not(.front_page)
    .ec-pageHeader
    h1:not(.rotary-faq-page__heading)::before,
  body:not(.front_page) .ec-pageHeader .h1::before {
    left: 0;
    width: 4px;
    height: 1em;
  }

  .autocalc-header__inner,
  .autocalc-footer__inner {
    display: block;
  }

  .autocalc-header__contact {
    margin-top: 16px;
  }

  .autocalc-global-nav {
    line-height: 2;
  }

  .autocalc-page-layout {
    display: block;
  }

  .autocalc-sidebar {
    display: none;
  }

  .autocalc-footer__inner > div + div {
    margin-top: 24px;
  }
}

/* SPナビはPCでは非表示 */
.rotary-sp-navi {
  display: none;
}

@media screen and (max-width: 767px) {
  .rotary-sp-navi {
    display: block;
  }
}

/* SPナビ */
.rotary-sp-navi {
  display: none;
}

@media screen and (max-width: 767px) {
  .rotary-sp-navi {
    display: block;
    width: 100%;
    margin: 24px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .rotary-sp-navi .autocalc-sidebar {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .rotary-sp-navi .autocalc-sidebar__banner,
  .rotary-sp-navi .autocalc-sidebar__heading,
  .rotary-sp-navi .autocalc-sidebar img {
    width: 100%;
    height: auto;
  }
}

/* SPナビ内のサイドバーはスマホでも表示 */
@media screen and (max-width: 767px) {
  .rotary-sp-navi {
    display: block !important;
  }

  .rotary-sp-navi .autocalc-sidebar {
    display: block !important;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* 現行SPNAVI */
.rotary-sp-navi {
  display: none;
}

@media screen and (max-width: 767px) {
  .rotary-sp-navi {
    display: block;
    width: 100%;
    margin: 24px auto 0;
  }

  .rotary-sp-navi__heading {
    display: block;
    width: 100%;
    height: auto;
  }

  .rotary-sp-navi ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    border: 1px solid #d8d8d8;
    border-top: 0;
  }

  .rotary-sp-navi li {
    border-top: 1px solid #d8d8d8;
  }

  .rotary-sp-navi li:first-child {
    border-top: 0;
  }

  .rotary-sp-navi li a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    background: #fff;
  }
}

.autocalc-header__member-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.autocalc-header__member-nav a {
  min-width: 116px;
  padding: 7px 12px;
  border: 1px solid #d71718;
  color: #d71718;
  background: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
}

.autocalc-header__member-nav a:hover {
  color: #fff;
  background: #d71718;
}

@media screen and (max-width: 767px) {
  .autocalc-header__member-nav {
    flex-wrap: wrap;
  }

  .autocalc-header__member-nav a {
    min-width: 110px;
  }
}

.autocalc-global-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  background: #df1118;
}

.autocalc-global-nav > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 0 28px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
}

.autocalc-global-nav > a:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 27px;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.85);
}

.autocalc-global-nav__home img,
.autocalc-global-nav__cart img {
  display: block;
  width: auto;
  max-height: 58px;
}

.autocalc-global-nav__home,
.autocalc-global-nav__cart {
  padding-left: 26px;
  padding-right: 26px;
}

.autocalc-global-nav > a:hover {
  background: rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 1023px) {
  .autocalc-global-nav > a {
    padding: 0 14px;
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) {
  .autocalc-global-nav {
    display: none;
  }
}

/* TOPページでは、EC-CUBEのレイアウト配置ブロックを使用せず、
   index.twig内のロータリープリント共通パーツを使用する */
body.front_page > .ec-layoutRole > .ec-layoutRole__header,
body.front_page > .ec-layoutRole > .ec-layoutRole__contentTop,
body.front_page
  > .ec-layoutRole
  > .ec-layoutRole__contents
  > .ec-layoutRole__left,
body.front_page
  > .ec-layoutRole
  > .ec-layoutRole__contents
  > .ec-layoutRole__right,
body.front_page > .ec-layoutRole > .ec-layoutRole__contentBottom,
body.front_page > .ec-layoutRole > .ec-layoutRole__footer {
  display: none !important;
}

body.front_page > .ec-layoutRole,
body.front_page > .ec-layoutRole > .ec-layoutRole__contents,
body.front_page > .ec-layoutRole > .ec-layoutRole__contents > main {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
}

body.front_page > .ec-layoutRole > .ec-layoutRole__contents,
body.front_page > .ec-layoutRole > .ec-layoutRole__contents > main {
  margin: 0;
}

body.front_page .top-current {
  width: 100%;
  max-width: 100%;
}

body.front_page .top-current img {
  max-width: 100%;
  height: auto;
}

/* 独自テンプレートページは、default_frameの外側コンテナと
   ページ内のautocalc-page-layoutが二重に幅制限しないようにする */
.autocalc-legacy-page:not(.front_page)
  > .ec-layoutRole
  > .ec-layoutRole__contents,
.autocalc-legacy-page:not(.front_page)
  > .ec-layoutRole
  > .ec-layoutRole__contents
  > main {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
}

.autocalc-legacy-page:not(.front_page)
  > .ec-layoutRole
  > .ec-layoutRole__contents {
  margin: 0;
}

/* ==================================================
   TOPページ：現行サイト寄せ
================================================== */

.top-current,
.top-current * {
  box-sizing: border-box;
}

.top-current {
  width: 100%;
}

.top-current__section {
  width: 100%;
  clear: both;
  margin-bottom: 75px;
}

.top-current__section img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* FV */
.top-current__fv-slideshow {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #f7f7f7;
  transition: height 0.35s ease;
}

.top-current__fv-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.top-current__fv-slide:first-child {
  position: relative;
}

/* 高さ計測中だけ全スライドを通常フローへ戻し、本来の高さを取得できるようにする */
.top-current__fv-slideshow.is-measuring {
  height: auto !important;
}

.top-current__fv-slideshow.is-measuring .top-current__fv-slide {
  position: relative;
  opacity: 0;
}

.top-current__fv-slideshow.is-measuring .top-current__fv-panel {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible;
}

.top-current__fv-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.top-current__fv-slide img {
  display: block;
  max-width: 100%;
  height: auto;
}

.top-current__fv-slide,
.top-current__fv-slide:hover {
  color: inherit;
  text-decoration: none;
}

.top-current__fv-panel {
  position: relative;
  height: 100%;
  min-height: 0;
  padding: clamp(18px, 2.5vw, 28px) clamp(24px, 3.6vw, 44px);
  box-sizing: border-box;
  overflow: hidden;
  color: #fff;
}

.top-fv-price {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 0;
  background: linear-gradient(
    115deg,
    rgba(132, 127, 75, 0.9) 0%,
    rgba(181, 177, 103, 0.82) 48%,
    rgba(255, 252, 182, 0.96) 100%
  );
}

.top-fv-price__copy {
  position: relative;
  z-index: 3;
  align-self: start;
  min-height: clamp(178px, 20vw, 210px);
}

.top-fv-price__deal {
  position: relative;
  width: min(68%, 640px);
  min-height: clamp(116px, 13vw, 160px);
  margin: -24px 0 0 clamp(34px, 7vw, 96px);
}

.top-fv-price__burst {
  position: absolute;
  inset: 0;
  display: block;
  text-align: center;
  background: #f00;
  clip-path: polygon(
    5% 48%,
    0 32%,
    12% 34%,
    8% 12%,
    23% 23%,
    22% 0,
    35% 18%,
    43% 0,
    50% 18%,
    58% 0,
    66% 20%,
    79% 4%,
    77% 26%,
    100% 13%,
    88% 38%,
    100% 50%,
    88% 62%,
    100% 87%,
    77% 74%,
    79% 96%,
    66% 80%,
    58% 100%,
    50% 82%,
    43% 100%,
    35% 82%,
    22% 100%,
    23% 77%,
    8% 88%,
    12% 66%,
    0 68%
  );
}

.top-fv-price__lead,
.top-fv-price__value {
  position: absolute;
  z-index: 1;
  margin: 0;
  color: #fff;
  text-align: center;
  letter-spacing: 0;
}

.top-fv-price__lead {
  box-sizing: border-box;
  top: clamp(18px, 2.45vw, 31px);
  left: 50%;
  width: max-content;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(18px, 2.08vw, 28px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%) rotate(-4deg);
  -webkit-text-stroke: 2px #f00;
  paint-order: stroke fill;
  text-shadow:
    3px 3px 0 #f00,
    -2px -2px 0 #f00,
    0 3px 0 #f00;
}

.top-fv-price__lead span {
  white-space: nowrap;
}

.top-fv-price__value {
  top: clamp(56px, 6.2vw, 82px);
  left: 50%;
  display: block;
  padding: 0;
  font-size: clamp(32px, 4.0vw, 53px);
  font-weight: 900;
  line-height: 0.95;
  white-space: nowrap;
  transform: translateX(-50%);
  text-shadow:
    3px 3px 0 #f00,
    -2px -2px 0 #f00,
    0 3px 0 #f00;
}

.top-fv-price__heading {
  position: relative;
  z-index: 3;
  width: max-content;
  max-width: none;
  margin: 0;
  color: #fff45f;
  font-size: clamp(35px, 3.75vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.32);
}

.top-fv-price__heading span {
  display: inline;
}

.top-fv-price__heading span:first-child {
  color: #fff45f;
}

.top-fv-price__heading span:last-child {
  color: #fff;
}

.top-fv-price__photo {
  position: absolute;
  right: -18px;
  top: clamp(58px, 6vw, 72px);
  z-index: 1;
  width: min(43%, 500px);
  margin: 0;
  transform: rotate(-6deg);
}

.top-fv-price__photo img {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.72))
    drop-shadow(0 0 30px rgba(255, 255, 255, 0.46))
    drop-shadow(0 14px 18px rgba(0, 0, 0, 0.18));
}

.top-fv-price__photo::before {
  content: "";
  position: absolute;
  inset: -10% -18% -6% -14%;
  z-index: -1;

  transform: rotate(-8deg);
}

.top-fv-price__features {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
  /* 折り返し禁止にした見出しが収まるよう少し広げる */
  max-width: 68%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-fv-price__features li:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.top-fv-price__features li:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.top-fv-price__features li:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.top-fv-price__features li:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.top-fv-price__features li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.top-fv-price__features img {
  width: 42px;
  height: auto;
}

.top-fv-price__features h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(11px, 1.12vw, 15px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  /* 「刃型代無料!製版代初回のみ」が折り返さないようにする */
  white-space: nowrap;
}

.top-fv-price__features p {
  margin: 3px 0 0;
  color: #fff;
  font-size: clamp(9px, 0.86vw, 11px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  /* 「ご希望に添えない場合もございます」が折り返さないようにする */
  white-space: nowrap;
}

.top-fv-product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 7px clamp(16px, 3vw, 34px);
  align-content: start;
  align-items: start;
  height: 100%;
  min-height: 0;
}

.top-fv-product--numbering {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.36fr);
  background:
    radial-gradient(
      circle at 80% 12%,
      rgba(255, 252, 216, 0.82) 0,
      rgba(255, 236, 192, 0.42) 23%,
      rgba(255, 235, 199, 0) 48%
    ),
    radial-gradient(
      circle at 58% 34%,
      rgba(255, 202, 124, 0.5) 0,
      rgba(255, 177, 95, 0.24) 30%,
      rgba(255, 177, 95, 0) 56%
    ),
    radial-gradient(
      circle at 4% 92%,
      rgba(250, 39, 134, 0.46) 0,
      rgba(250, 39, 134, 0) 46%
    ),
    linear-gradient(112deg, #f73594 0%, #f45e77 32%, #ffa25e 62%, #f5dfb2 100%);
}

.top-fv-product--nameplate {
  background:
    linear-gradient(rgba(107, 93, 227, 0.72), rgba(107, 93, 227, 0.72)),
    url("../img/slider/fv-nameplate-goodman.png") -12% -42% / 54% auto no-repeat,
    radial-gradient(
      circle at 30% 82%,
      rgba(198, 155, 255, 0.46) 0,
      rgba(198, 155, 255, 0.2) 28%,
      rgba(198, 155, 255, 0) 56%
    ),
    radial-gradient(
      circle at 12% 18%,
      rgba(203, 191, 255, 0.34) 0,
      rgba(203, 191, 255, 0) 42%
    ),
    linear-gradient(118deg, #5c7fe7 0%, #6f64ec 48%, #955fe9 100%);
}

.top-fv-product--transparent {
  background:
    radial-gradient(
      circle at 28% 20%,
      rgba(113, 198, 255, 0.42) 0,
      rgba(72, 165, 255, 0.18) 28%,
      rgba(72, 165, 255, 0) 54%
    ),
    repeating-linear-gradient(
      78deg,
      rgba(255, 255, 255, 0.11) 0,
      rgba(255, 255, 255, 0.11) 2px,
      rgba(255, 255, 255, 0) 3px,
      rgba(255, 255, 255, 0) 10px
    ),
    repeating-linear-gradient(
      100deg,
      rgba(0, 32, 126, 0.18) 0,
      rgba(0, 32, 126, 0.18) 1px,
      rgba(0, 32, 126, 0) 2px,
      rgba(0, 32, 126, 0) 12px
    ),
    linear-gradient(118deg, #033eac 0%, #006ee9 52%, #014ec8 100%);
}

.top-fv-product__content {
  display: contents;
  min-width: 0;
}

/* 指摘9・15: スライド全体の位置を少し下げる */
.top-fv-product--numbering,
.top-fv-product--transparent {
  padding-top: clamp(10px, 1.6vw, 20px);
}

.top-fv-product__label {
  position: relative;
  z-index: 2;
  grid-row: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3.8vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.top-fv-product__heading {
  position: relative;
  z-index: 2;
  grid-row: 2;
  margin: 0;
  color: #fff35e;
  font-size: clamp(25px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.top-fv-product__subcopy {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 3;
  display: inline-block;
  box-sizing: border-box;
  margin: clamp(8px, 1.35vw, 14px) 0 0;
  padding: 6px 11px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  font-size: clamp(12px, 1.35vw, 15px);
  font-weight: 700;
  line-height: 1.45;
}

.top-fv-product__text {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 4;
  align-self: start;
  margin: clamp(8px, 1vw, 12px) 0 0;
  color: #fff;
  font-size: clamp(11px, 1.12vw, 14px);
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
}

.top-fv-product__image {
  position: absolute;
  z-index: 1;
  margin: 0;
}

.top-fv-product__image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.18));
}

.top-fv-product__image--numbering {
  top: -18px;
  right: -6px;
  /* 本文へ画像が被らないよう縮小する */
  width: min(132%, 262px);
  transform: rotate(8deg);
}

.top-fv-product__image--nameplate {
  top: 0;
  left: clamp(10px, 3vw, 34px);
  width: min(100%, 350px);
}

.top-fv-product__image--nameplate::before {
  content: none;
  position: absolute;
  inset: -22% -18%;
  z-index: -1;
  background: url("../img/slider/fv-nameplate-goodman.png") center / contain
    no-repeat;
  opacity: 0.14;
  transform: scale(1.28) rotate(-7deg);
}

.top-fv-product__image--transparent {
  top: 8px;
  left: clamp(18px, 4vw, 52px);
  width: min(100%, 285px);
}

.top-fv-product--numbering .top-fv-product__label,
.top-fv-product--numbering .top-fv-product__heading {
  grid-column: 1;
}

.top-fv-product--numbering .top-fv-product__subcopy {
  max-width: max-content;
  /* 指摘10: 文字サイズを少し大きく */
  font-size: clamp(13px, 1.5vw, 17px);
}

.top-fv-product--numbering .top-fv-product__text {
  /* 指摘8: 右側の画像に本文が掛からない幅に収める */
  max-width: 62%;
}

.top-fv-product--nameplate .top-fv-product__label,
.top-fv-product--nameplate .top-fv-product__heading,
.top-fv-product--transparent .top-fv-product__label,
.top-fv-product--transparent .top-fv-product__heading {
  grid-column: 2;
}

/* 指摘5・11・14: テキスト側の列を広げて左へ寄せ、見出しを折り返させない */
.top-fv-product--nameplate,
.top-fv-product--transparent {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.top-fv-product--nameplate .top-fv-product__heading,
.top-fv-product--transparent .top-fv-product__heading {
  font-size: clamp(22px, 2.95vw, 34px);
  white-space: nowrap;
}

/* 指摘6: 銘版シールのキャッチコピーはセンター表示・少し大きく */
.top-fv-product--nameplate .top-fv-product__subcopy {
  justify-self: center;
  text-align: left;
  font-size: clamp(13px, 1.5vw, 17px);
}

/*
指摘7: 銘版シールの本文もセンター表示
ブロックごと中央に置き、行頭は左で揃える（行単位の中央揃えにはしない）
*/
.top-fv-product--nameplate .top-fv-product__text {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

/* 指摘12・13: 透明シールのキャッチコピーは見出しと同じ右カラムへ移動し少し大きく */
.top-fv-product--transparent .top-fv-product__subcopy {
  grid-column: 2;
  justify-self: start;
  text-align: left;
  font-size: clamp(13px, 1.5vw, 17px);
}

@media screen and (min-width: 768px) and (max-width: 1120px) {
  .top-fv-price {
    gap: 10px;
    padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.8vw, 30px);
  }

  .top-fv-price__copy {
    min-height: clamp(178px, 24vw, 214px);
  }

  .top-fv-price__deal {
    width: min(78%, 560px);
    min-height: clamp(110px, 15vw, 140px);
    margin-top: -12px;
    margin-left: clamp(6px, 4vw, 42px);
  }

  .top-fv-price__burst {
    inset: 0;
  }

  .top-fv-price__lead {
    top: clamp(22px, 2.9vw, 32px);
    font-size: clamp(22px, 3.8vw, 36px);
    -webkit-text-stroke-width: 1.5px;
  }

  .top-fv-price__value {
    top: clamp(62px, 8.4vw, 80px);
    font-size: clamp(38px, 5.4vw, 52px);
  }

  .top-fv-price__heading {
    max-width: 76%;
    margin-top: -8px;
    font-size: clamp(30px, 4.1vw, 42px);
    white-space: nowrap;
  }

  .top-fv-price__photo {
    top: clamp(70px, 10vw, 92px);
    right: -12px;
    width: min(42%, 330px);
  }

  .top-fv-price__features {
    max-width: 65%;
    gap: 7px 16px;
  }

  .top-fv-price__features li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 7px;
  }

  .top-fv-price__features img {
    width: 40px;
  }

  .top-fv-price__features h3 {
    font-size: clamp(12px, 1.55vw, 15px);
  }

  .top-fv-price__features p {
    font-size: clamp(9px, 1.12vw, 11px);
    line-height: 1.28;
  }

  .top-fv-product,
  .top-fv-product--numbering {
    grid-template-columns: minmax(0, 1fr) minmax(155px, 0.55fr);
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 14px;
    align-content: start;
    align-items: start;
  }

  .top-fv-product__label {
    margin-bottom: 6px;
    font-size: clamp(24px, 3.1vw, 32px);
  }

  .top-fv-product__heading {
    font-size: clamp(23px, 2.8vw, 30px);
    line-height: 1.12;
  }

  .top-fv-product__subcopy {
    margin: 8px 0 7px;
    padding: 5px 8px;
    font-size: clamp(10px, 1.25vw, 12px);
    line-height: 1.35;
  }

  .top-fv-product__text {
    font-size: clamp(9px, 1.08vw, 11px);
    line-height: 1.42;
  }

  .top-fv-product__image--numbering {
    top: -18px;
    right: -10px;
    width: min(150%, 230px);
    transform: rotate(8deg);
  }

  .top-fv-product__image--nameplate {
    top: 2px;
    left: 18px;
    width: min(100%, 250px);
  }

  .top-fv-product__image--transparent {
    top: 10px;
    left: 22px;
    width: min(100%, 210px);
  }
}

@media screen and (min-width: 768px) and (max-width: 820px) {
  .top-current__fv-panel {
    padding: 16px 16px 18px;
  }

  .top-fv-price {
    padding-right: 16px;
    padding-left: 16px;
  }

  .top-fv-price__copy {
    min-height: 246px;
  }

  .top-fv-price__deal {
    width: 100%;
    min-height: 132px;
    margin-left: 0;
  }

  .top-fv-price__lead {
    top: 28px;
    font-size: 23px;
    transform: translateX(-47%) rotate(-3deg);
  }

  .top-fv-price__value {
    top: 70px;
    font-size: 42px;
  }

  .top-fv-price__heading {
    max-width: 78%;
    font-size: 30px;
  }

  .top-fv-price__photo {
    top: 82px;
    width: 40%;
  }

  .top-fv-price__features {
    max-width: 68%;
    gap: 8px 14px;
  }

  .top-fv-product,
  .top-fv-product--numbering {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.52fr);
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 10px;
    align-content: start;
    align-items: start;
    min-height: 0;
  }

  .top-fv-product__label {
    margin-bottom: 7px;
    font-size: 24px;
  }

  .top-fv-product__heading {
    font-size: 22px;
    line-height: 1.12;
  }

  .top-fv-product__subcopy {
    margin: 9px 0 7px;
    padding: 5px 8px;
    font-size: 10px;
    line-height: 1.35;
  }

  .top-fv-product__text {
    font-size: 10px;
    line-height: 1.42;
  }

  .top-fv-product__image--numbering {
    top: -10px;
    right: -8px;
    width: min(142%, 155px);
    transform: rotate(8deg);
  }

  .top-fv-product__image--nameplate {
    top: 8px;
    left: 10px;
    width: min(100%, 165px);
  }

  .top-fv-product__image--transparent {
    top: 14px;
    left: 12px;
    width: min(100%, 145px);
  }
}

.top-current__fv-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.top-current__fv-dot {
  display: block;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b8b8b8;
  cursor: pointer;
}

.top-current__fv-dot.is-active {
  background: #111;
}

.top-current__mobile-estimate {
  display: none;
}

/* 4つのメニューボタン */
.top-current__menu {
  margin-bottom: 60px;
}

.top-current__menu ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-current__menu li {
  width: 48.9%;
  margin-bottom: 15px;
}

.top-current__menu a,
.top-current__menu img {
  display: block;
  width: 100%;
}

/* 特色印刷について */
.top-current__about img {
  width: 100%;
}

/* 印刷データ */
.top-current__data {
  background: #f7f7f7;
}

.top-current__data h2 {
  margin: 0;
  padding: 0;
}

.top-current__data h2 img {
  width: 100%;
}

.top-current__data ul {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 45px 60px;
  list-style: none;
}

.top-current__data li {
  width: 45%;
}

.top-current__data li img {
  width: 100%;
}

/* 素材一覧 */
.top-current__material-row {
  display: flex;
  width: 100%;
  margin-bottom: 60px;
  border: 1px solid #eee;
}

.top-current__material-title {
  flex: 0 0 66px;
  width: 66px;
  padding: 25px 14px;
  background: #d61617;
}

.top-current__material-title img {
  width: 100%;
  max-width: 38px;
  margin: 0 auto;
}

.top-current__material-grid {
  display: grid;
  flex: 1;
  min-width: 0;
}

/* 紙素材は5列 */
.top-current__material-row:first-child .top-current__material-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* フィルム素材は4列 */
.top-current__material-row:nth-child(2) .top-current__material-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.top-current__material-card {
  min-width: 0;
  padding: 20px 0;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.top-current__material-card:nth-child(odd) {
  background: #eee;
}

.top-current__material-card h3 {
  min-height: 24px;
  margin: 0 5px 10px;
  text-align: center;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -1px;
}

.top-current__material-card > img {
  width: auto;
  max-width: calc(100% - 20px);
  height: 125px;
  margin: 0 auto;
  object-fit: contain;
}

.top-current__material-card p {
  margin: 0;
  padding: 5px 10px 0;
  font-size: 12px;
  line-height: 1.65;
}

/* 納期 */
.top-current__delivery img {
  width: 100%;
}

/* お知らせ */
.top-current__news {
  background: url("../img/top/bg_side_gw.png");
}

.top-current__news h2 {
  margin: 0;
}

.top-current__news h2 img {
  width: 100%;
}

.top-current__news-body {
  padding: 35px 100px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.8;
}

/* タブレット */
@media screen and (max-width: 1023px) {
  .top-current__material-row:first-child .top-current__material-grid,
  .top-current__material-row:nth-child(2) .top-current__material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-current__news-body {
    padding: 30px 40px;
  }
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .top-current__section {
    margin-bottom: 40px;
  }

  .top-current__fv {
    margin-bottom: 14px;
  }

  .top-current__fv-panel {
    height: auto;
    min-height: auto;
    padding: 12px 12px 11px;
  }

  .top-fv-price {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .top-fv-price__copy {
    display: grid;
    gap: 5px;
    min-height: auto;
  }

  .top-fv-price__deal {
    width: 100%;
    min-height: 108px;
    margin: 0 auto;
  }

  .top-fv-price__burst {
    inset: 4px 7px 0;
  }

  .top-fv-price__lead {
    top: 16px;
    left: 50%;
    width: max-content;
    max-width: none;
    padding: 0;
    font-size: clamp(13px, 3.6vw, 15px);
    -webkit-text-stroke-width: 1px;
    transform: translateX(-52%) rotate(-3deg);
  }

  .top-fv-price__value {
    top: 53px;
    left: 50%;
    padding: 0;
    font-size: clamp(29px, 8.4vw, 34px);
  }

  .top-fv-price__heading {
    width: auto;
    max-width: none;
    margin: -3px 0 0;
    font-size: clamp(22px, 6.1vw, 25px);
    text-align: center;
    white-space: nowrap;
  }

  .top-fv-price__heading span {
    display: inline;
  }

  .top-fv-price__photo {
    position: relative;
    top: -13%;
    right: auto;
    justify-self: center;
    width: min(94%, 195px);
    margin-top: -12px;
    margin-bottom: -7px;
    order: 2;
  }

  .top-fv-price__features {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 4px;
    max-width: none;
    order: 3;
  }

  .top-fv-price__features li:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .top-fv-price__features li {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 4px;
    align-items: start;
  }

  .top-fv-price__features img {
    width: 26px;
  }

  .top-fv-price__features h3 {
    font-size: 10px;
    line-height: 1.22;
  }

  .top-fv-price__features p {
    font-size: 8px;
    line-height: 1.28;
  }

  .top-fv-product,
  .top-fv-product--numbering {
    grid-template-columns: 1fr;
    gap: 9px;
    align-items: start;
    min-height: auto;
  }

  .top-fv-product__content {
    display: contents;
  }

  .top-fv-product__label,
  .top-fv-product__heading,
  .top-fv-product__subcopy,
  .top-fv-product__text,
  .top-fv-product__image {
    grid-column: auto;
    grid-row: auto;
  }

  .top-fv-product--numbering .top-fv-product__label,
  .top-fv-product--numbering .top-fv-product__heading,
  .top-fv-product--numbering .top-fv-product__subcopy,
  .top-fv-product--numbering .top-fv-product__text,
  .top-fv-product--nameplate .top-fv-product__label,
  .top-fv-product--nameplate .top-fv-product__heading,
  .top-fv-product--nameplate .top-fv-product__subcopy,
  .top-fv-product--nameplate .top-fv-product__text,
  .top-fv-product--transparent .top-fv-product__label,
  .top-fv-product--transparent .top-fv-product__heading,
  .top-fv-product--transparent .top-fv-product__subcopy,
  .top-fv-product--transparent .top-fv-product__text {
    grid-column: 1;
    max-width: none;
    justify-self: stretch;
    text-align: left;
  }

  .top-fv-product__label {
    order: 1;
    margin-bottom: 0;
    font-size: clamp(24px, 7.4vw, 30px);
  }

  .top-fv-product__heading {
    order: 2;
    font-size: clamp(21px, 6.2vw, 27px);
    line-height: 1.12;
  }

  .top-fv-product__image {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    order: 3;
    justify-self: center;
  }

  .top-fv-product__subcopy {
    order: 4;
    width: calc(100% - 12px);
    max-width: none;
    margin: 0;
    padding: 5px 8px;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .top-fv-product__text {
    order: 5;
    width: calc(100% - 12px);
    max-width: none;
    font-size: 10.5px;
    line-height: 1.45;
    word-break: break-all;
  }

  .top-fv-product__image--numbering {
    top: auto;
    right: auto;
    left: auto;
    width: min(52%, 145px);
    transform: rotate(5deg);
  }

  .top-fv-product__image--nameplate {
    top: auto;
    right: auto;
    left: auto;
    width: min(86%, 225px);
  }

  .top-fv-product__image--transparent {
    top: auto;
    right: auto;
    left: auto;
    width: min(80%, 195px);
  }

  .top-current__mobile-estimate {
    display: block;
    margin: 0 0 40px;
    line-height: 0;
  }

  .top-current__mobile-estimate img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }

  .top-current__menu li {
    width: 100%;
    margin-bottom: 10px;
  }

  .top-current__data ul {
    display: block;
    padding: 24px 20px;
  }

  .top-current__data li {
    width: 100%;
    margin-bottom: 15px;
  }

  .top-current__data li:last-child {
    margin-bottom: 0;
  }

  .top-current__material-row {
    display: block;
  }

  .top-current__material-title {
    width: 100%;
    padding: 12px;
  }

  .top-current__material-title img {
    width: auto;
    max-width: 100%;
    max-height: 34px;
  }

  .top-current__material-row:first-child .top-current__material-grid,
  .top-current__material-row:nth-child(2) .top-current__material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-current__material-card h3 {
    font-size: 14px;
  }

  .top-current__material-card > img {
    height: 100px;
  }

  .top-current__news-body {
    padding: 20px;
    font-size: 14px;
  }
}

/* TOPページではEC-CUBEレイアウト側の上下ブロックを表示しない */

body.front_page .ec-layoutRole__mainTop,
body.front_page .ec-layoutRole__mainBottom {
  display: none !important;
}

/* =========================================================
   2026-07 ヘッダーリニューアル仮レイアウト
   PSD素材の書き出し後にロゴ・LINE・ナビアイコンを差し替える
========================================================= */

.rotary-header {
  width: 100%;
  background: #fff;
}

.rotary-header__top {
  background: #fff;
}

.rotary-header__inner {
  width: min(1700px, calc(100% - 64px));
  min-height: 174px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.rotary-header__brand {
  display: flex;
  align-items: center;
  gap: 64px;
  min-width: 0;
}

.rotary-header__logo {
  display: block;
  flex-shrink: 0;
}

.rotary-header__logo img {
  display: block;
  width: min(360px, 100%);
  height: auto;
}

.rotary-header__specialty {
  margin: 0;
  color: #e5006f;
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
}

.rotary-header__contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.rotary-header__line-placeholder {
  width: 96px;
  height: 96px;
  border: 3px solid #18b965;
  display: grid;
  place-items: center;
  color: #18b965;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.rotary-header__phone-area {
  min-width: 360px;
}

.rotary-header__hours {
  margin: 0 0 4px;
  text-align: center;
  color: #111;
  font-size: 15px;
  font-weight: 700;
}

.rotary-header__phone {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 12px;
  color: #000;
  /* font-size: 48px; */
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.rotary-header__phone:hover {
  color: #000;
  opacity: 0.8;
}

.rotary-header__phone-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #18b965;
  color: #fff;
  font-size: 28px;
}

.rotary-header__member-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.rotary-header__member-link {
  min-height: 40px;
  padding: 9px 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.rotary-header__member-link:hover {
  color: #fff;
  opacity: 0.85;
}

.rotary-header__member-link--login {
  background: #d72b62;
}

.rotary-header__member-link--entry {
  background: #17b95f;
}

.rotary-global-nav {
  background: #2456a6;
}

.rotary-global-nav__inner {
  width: min(1360px, calc(100% - 40px));
  min-height: 80px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
}

.rotary-global-nav__link {
  min-width: 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.rotary-global-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.rotary-global-nav__icon {
  flex-shrink: 0;
  font-size: 30px;
  line-height: 1;
}

.rotary-global-nav__link--disabled {
  cursor: default;
  opacity: 0.9;
}

.rotary-global-nav__link--disabled:hover {
  background: transparent;
}

@media (max-width: 1100px) {
  .rotary-header__inner {
    width: min(100% - 32px, 1000px);
    padding-inline: 16px;
    gap: 24px;
  }

  .rotary-header__brand {
    gap: 24px;
  }

  .rotary-header__logo img {
    width: 280px;
  }

  .rotary-header__specialty {
    font-size: 18px;
  }

  .rotary-header__line {
    display: none;
  }

  .rotary-header__phone-area {
    min-width: 320px;
  }

  .rotary-header__phone {
    font-size: 34px;
  }

  .rotary-global-nav__link {
    padding-inline: 10px;
    font-size: 17px;
  }

  .rotary-global-nav__icon {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .rotary-header__inner {
    min-height: auto;
    padding-block: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .rotary-header__brand {
    justify-content: space-between;
  }

  .rotary-header__logo img {
    width: 230px;
  }

  .rotary-header__specialty {
    display: none;
  }

  .rotary-header__contact {
    display: block;
  }

  .rotary-header__phone-area {
    min-width: 0;
  }

  .rotary-header__hours {
    font-size: 12px;
  }

  .rotary-header__phone {
    font-size: 26px;
  }

  .rotary-header__phone-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .rotary-header__member-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .rotary-global-nav__inner {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .rotary-global-nav__link {
    min-height: 52px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    justify-content: flex-start;
    padding-inline: 24px;
    font-size: 16px;
  }

  .rotary-global-nav__icon {
    width: 32px;
    font-size: 21px;
    text-align: center;
  }
}

/* =========================================================
   ヘッダー微調整
========================================================= */

/* ログイン・会員ボタン内の文字を上下左右中央に配置 */
.rotary-header__member-link {
  min-height: 25px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ナビ全体の横幅を縮めて、項目間の広がりを抑える */
.rotary-global-nav__inner {
  width: min(1120px, calc(100% - 40px));
}

/* 各ナビ項目の余白とアイコン間隔を縮める */
.rotary-global-nav__link {
  padding: 16px 10px;
  gap: 8px;
}

/* 無料サンプル請求ページ内の共通ヘッダーを本文幅から画面幅へ広げる */
.autocalc-legacy-page .ec-layoutRole__main > .rotary-header {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 無料サンプル請求ページの本文幅を下層ページのHTML化ページと揃える */
.rotary-contact2-page .ec-contactRole,
.rotary-contact2-page .ec-contactConfirmRole,
.rotary-contact2-page .ec-contactCompleteRole,
.rotary-contact2-page .ec-role {
  width: 100%;
  max-width: var(--rotary-content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  color: var(--rotary-text-color);
  box-sizing: border-box;
}

.rotary-contact2-page .ec-contactRole p,
.rotary-contact2-page .ec-contactConfirmRole p,
.rotary-contact2-page .ec-contactCompleteRole p,
.rotary-contact2-page .ec-borderedDefs dt,
.rotary-contact2-page .ec-borderedDefs dd {
  color: var(--rotary-text-color);
}

.rotary-contact2-page .ec-pageHeader h1 {
  margin-left: 0;
  margin-right: 0;
}

.rotary-contact2-page .rotary-contact2-intro {
  margin: 0 0 40px;
}

.rotary-contact2-page .ec-off1Grid .ec-off1Grid__cell,
.rotary-contact2-page .ec-off3Grid .ec-off3Grid__cell,
.rotary-contact2-page .ec-off4Grid .ec-off4Grid__cell {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .rotary-contact2-page .ec-contactRole,
  .rotary-contact2-page .ec-contactConfirmRole,
  .rotary-contact2-page .ec-contactCompleteRole,
  .rotary-contact2-page .ec-role {
    max-width: none;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* =========================================================
   2026-07 ヘッダー画像差し替え後のサイズ調整
   デザインカンプに合わせて全体を縮小
========================================================= */

.rotary-header__inner {
  width: min(1250px, calc(100% - 48px));
  min-height: 112px;
  padding: 14px 30px;
  gap: 28px;
}

.rotary-header__brand {
  gap: 28px;
}

.rotary-header__logo img {
  display: block;
  width: 265px;
  max-width: 100%;
  height: auto;
}

.rotary-header__specialty {
  margin: 0;
}

.rotary-header__specialty img {
  display: block;
  width: 185px;
  height: auto;
}

.rotary-header__contact {
  gap: 16px;
}

.rotary-header__line {
  flex-shrink: 0;
}

.rotary-header__line img {
  display: block;
  width: 100px;
  height: auto;
}

.rotary-header__phone-area {
  min-width: 300px;
}

.rotary-header__hours {
  margin-bottom: 3px;
  font-size: 13px;
}

.rotary-header__phone {
  gap: 8px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.rotary-header__phone img {
  display: block;
  width: 35px;
  height: auto;
  flex-shrink: 0;
}

.rotary-header__member-nav {
  grid-template-columns: repeat(2, minmax(125px, 1fr));
  gap: 10px;
  margin-top: 5px;
}

.rotary-header__member-link {
  min-height: 34px;
  padding: 7px 16px;
  font-size: 12px;
}

/* グローバルナビ */
.rotary-global-nav__inner {
  min-height: 72px;
}

.rotary-global-nav__link {
  min-height: 72px;
  padding: 10px 16px;
  gap: 10px;
  font-size: 18px;
}

.rotary-global-nav__icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rotary-global-nav__icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

@media (max-width: 1100px) {
  .rotary-header__inner {
    width: calc(100% - 24px);
    min-height: 100px;
    padding: 12px;
    gap: 18px;
  }

  .rotary-header__brand {
    gap: 18px;
  }

  .rotary-header__logo img {
    width: 220px;
  }

  .rotary-header__specialty img {
    width: 150px;
  }

  .rotary-header__phone-area {
    min-width: 255px;
  }

  .rotary-header__phone {
    font-size: 25px;
  }

  .rotary-header__phone img {
    width: 30px;
  }

  .rotary-global-nav__link {
    padding-inline: 8px;
    font-size: 15px;
  }

  .rotary-global-nav__icon {
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 767px) {
  .rotary-header__inner {
    width: calc(100% - 20px);
    padding-block: 12px;
  }

  .rotary-header__logo img {
    width: 200px;
  }

  .rotary-header__specialty {
    display: none;
  }

  .rotary-header__phone {
    font-size: 23px;
  }

  .rotary-header__phone img {
    width: 28px;
  }

  .rotary-global-nav__inner {
    min-height: auto;
  }

  .rotary-global-nav__link {
    min-height: 50px;
    font-size: 15px;
  }

  .rotary-global-nav__icon {
    width: 28px;
    height: 28px;
  }
}

/* =================================================
   左サイドメニュー
================================================= */
.autocalc-sidebar {
  width: 100%;
  min-width: 0;
}

.autocalc-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.autocalc-sidebar__banner {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: var(--rotary-card-radius);
  line-height: 0;
  text-decoration: none;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.autocalc-sidebar__banner:hover {
  opacity: 0.8;
}

.autocalc-sidebar__banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* TOP・下層ページ共通メイン領域 */
.autocalc-page-main {
  width: 100%;
  min-width: 0;
}

.autocalc-page-main > :first-child {
  margin-top: 0;
}

.top-current {
  width: 100%;
}

.top-current__fv,
.top-current__fv a,
.top-current__fv img {
  display: block;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .autocalc-page-layout {
    display: block;
    width: min(100% - 24px, 720px);
    margin: 20px auto 40px;
  }

  .autocalc-sidebar {
    display: none;
  }

  .autocalc-page-main {
    width: 100%;
  }
}

/* =================================================
   下層ページ共通2カラムレイアウト
================================================= */
@media screen and (min-width: 768px) {
  .rotary-two-column-page .ec-layoutRole__contents {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    width: min(1150px, calc(100% - 32px));
    max-width: none;
    margin: 32px auto 60px;
  }

  .rotary-two-column-page .ec-layoutRole__left {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .rotary-two-column-page .ec-layoutRole__mainWithColumn {
    width: 100%;
    min-width: 0;
  }

  .rotary-two-column-page .ec-layoutRole__left .autocalc-sidebar {
    width: 100%;
  }

  .rotary-two-column-page .ec-layoutRole__left .autocalc-sidebar__nav {
    width: 100%;
  }

  .rotary-two-column-page .ec-layoutRole__mainWithColumn > :first-child {
    margin-top: 0;
  }
}

@media screen and (max-width: 767px) {
  .rotary-two-column-page .ec-layoutRole__contents {
    display: block;
    width: min(100% - 24px, 720px);
    max-width: none;
    margin: 20px auto 40px;
  }

  .rotary-two-column-page .ec-layoutRole__left {
    display: none;
  }

  .rotary-two-column-page .ec-layoutRole__mainWithColumn {
    width: 100%;
  }
}

/* =================================================
   共通フッター
================================================= */
.autocalc-footer {
  position: relative;
  margin-top: 60px;
  color: #fff;
  background: #b42121;
}

.autocalc-footer a {
  color: inherit;
  text-decoration: none;
}

.autocalc-footer__pagetop {
  position: absolute;
  top: 0;
  right: 24px;
  transform: translateY(-100%);
}

.autocalc-footer__pagetop img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.autocalc-footer__inner {
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: 56px;
  width: min(1150px, calc(100% - 32px));
  margin: 0 auto;
  padding: 50px 0 24px;
}

.autocalc-footer__company {
  min-width: 0;
}

.autocalc-footer__logo-link {
  display: inline-block;
}

.autocalc-footer__logo {
  display: block;
  width: min(100%, 300px);
  height: auto;
}

.autocalc-footer__address {
  margin-top: 24px;
  font-style: normal;
  font-size: 14px;
  line-height: 2;
}

.autocalc-footer__content {
  min-width: 0;
}

.autocalc-footer__nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.autocalc-footer__nav > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  padding: 10px 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}

.autocalc-footer__nav > a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}

.autocalc-footer__nav > a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.autocalc-footer__nav-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.autocalc-footer__nav-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.autocalc-footer__contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-top: 28px;
}

.autocalc-footer__telephone {
  display: flex;
  align-items: center;
  gap: 14px;
}

.autocalc-footer__telephone-icon {
  display: block;
  width: 42px;
  height: auto;
}

.autocalc-footer__telephone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.autocalc-footer__telephone-text strong {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.autocalc-footer__telephone-text small {
  margin-top: 8px;
  font-size: 13px;
}

.autocalc-footer__line img {
  display: block;
  width: 150px;
  height: auto;
}

.autocalc-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}

.autocalc-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.autocalc-footer__legal a {
  font-size: 13px;
}

.autocalc-footer__legal a::before {
  content: "■";
  margin-right: 5px;
}

.autocalc-footer__copy {
  margin: 0;
  padding: 0;
  background: transparent;
  text-align: right;
  font-size: 12px;
  white-space: nowrap;
}

@media screen and (max-width: 1023px) {
  .autocalc-footer__inner {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
  }

  .autocalc-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .autocalc-footer__nav > a:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
  }

  .autocalc-footer__nav > a:nth-child(5) {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-right: 1px solid rgba(255, 255, 255, 0.45);
  }

  .autocalc-footer__contact {
    align-items: flex-end;
    flex-direction: column;
    gap: 16px;
  }
}

@media screen and (max-width: 767px) {
  .autocalc-footer {
    margin-top: 40px;
  }

  .autocalc-footer__pagetop {
    right: 12px;
  }

  .autocalc-footer__inner {
    display: block;
    width: min(100% - 32px, 540px);
    padding: 40px 0 24px;
  }

  .autocalc-footer__logo {
    width: min(100%, 280px);
  }

  .autocalc-footer__address {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.9;
  }

  .autocalc-footer__content {
    margin-top: 32px;
  }

  .autocalc-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .autocalc-footer__nav > a {
    justify-content: flex-start;
    min-height: 58px;
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    font-size: 13px;
  }

  .autocalc-footer__nav > a:nth-child(1),
  .autocalc-footer__nav > a:nth-child(2) {
    border-top: 0;
  }

  .autocalc-footer__nav > a:nth-child(odd) {
    border-left: 1px solid rgba(255, 255, 255, 0.45);
  }

  .autocalc-footer__nav > a:nth-child(even) {
    border-right: 1px solid rgba(255, 255, 255, 0.45);
  }

  .autocalc-footer__nav > a:last-child {
    grid-column: 1 / -1;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.45);
  }

  .autocalc-footer__nav-icon {
    width: 24px;
    height: 24px;
  }

  .autocalc-footer__contact {
    align-items: center;
    margin-top: 28px;
  }

  .autocalc-footer__telephone {
    justify-content: center;
  }

  .autocalc-footer__telephone-icon {
    width: 34px;
  }

  .autocalc-footer__telephone-text strong {
    font-size: 30px;
  }

  .autocalc-footer__line img {
    width: 140px;
  }

  .autocalc-footer__bottom {
    align-items: center;
    flex-direction: column;
    margin-top: 28px;
  }

  .autocalc-footer__legal {
    justify-content: center;
  }

  .autocalc-footer__copy {
    text-align: center;
    white-space: normal;
  }
}

/* =================================================
   共通フッター：デザインカンプ調整
================================================= */
.autocalc-footer {
  position: relative;
  margin-top: 60px;
  overflow: hidden;
  color: #fff;
  background: #cb2d27;
}

/* フッター全体の横幅・高さを縮小 */
.autocalc-footer__inner {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  column-gap: 70px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 70px;
}

/* =========================
   左側：会社情報
========================= */
.autocalc-footer__company {
  min-width: 0;
}

.autocalc-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.autocalc-footer__logo {
  display: block;
  width: 310px;
  max-width: 100%;
  height: auto;
}

.autocalc-footer__address {
  margin: 0;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.85;
}

/* =========================
   右側全体
========================= */
.autocalc-footer__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin-top: 8px;
}

/* =========================
   上部ナビ
========================= */
.autocalc-footer__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  margin: 0;
  padding: 2px 0 0;
  border: 0 !important;
}

/* 以前の枠線指定をすべて解除 */
.autocalc-footer__nav > a,
.autocalc-footer__nav > a:last-child,
.autocalc-footer__nav > a:nth-child(4),
.autocalc-footer__nav > a:nth-child(5),
.autocalc-footer__nav > a:nth-child(6) {
  display: inline-flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0 !important;
  color: #fff;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.autocalc-footer__nav > a:hover {
  background: transparent;
  opacity: 0.75;
}

.autocalc-footer__nav-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.autocalc-footer__nav-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* =========================
   電話番号・LINE
========================= */
.autocalc-footer__contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 30px;
}

.autocalc-footer__telephone {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
}

.autocalc-footer__telephone-icon {
  display: block;
  width: 34px;
  height: auto;
  flex: 0 0 auto;
}

.autocalc-footer__telephone-text {
  display: flex;
  align-items: center;
  flex-direction: column;
  line-height: 1;
}

.autocalc-footer__telephone-text strong {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.autocalc-footer__telephone-text small {
  margin-top: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.autocalc-footer__line {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.autocalc-footer__line img {
  display: block;
  width: 70px;
  height: auto;
}

/* =========================
   下部リンク・コピーライト
========================= */
.autocalc-footer__bottom {
  display: block;
  /* align-items: center;
    justify-content: flex-end; */
  gap: 44px;
  margin-top: 30px;
}

.autocalc-footer__legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.autocalc-footer__legal a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: 0.75rem;
}

.autocalc-footer__legal a::before {
  content: none;
}

.autocalc-footer__copy {
  margin: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

/* =========================
   ページトップボタン
========================= */
.autocalc-footer__pagetop {
  position: absolute;
  right: 20px;
  bottom: 18px;
  top: auto;
  z-index: 2;
  transform: none;
}

.autocalc-footer__pagetop a {
  display: block;
  line-height: 0;
}

.autocalc-footer__pagetop img {
  display: block;
  width: 112px;
  height: auto;
}

/* =========================
   タブレット
========================= */
@media screen and (max-width: 1023px) {
  .autocalc-footer__inner {
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 36px;
    width: min(920px, calc(100% - 40px));
  }

  .autocalc-footer__logo {
    width: 270px;
  }

  .autocalc-footer__nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .autocalc-footer__contact {
    align-items: center;
    flex-direction: row;
    gap: 16px;
  }

  .autocalc-footer__telephone-text strong {
    font-size: 25px;
  }

  .autocalc-footer__line img {
    width: 64px;
  }

  .autocalc-footer__bottom {
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================
   スマートフォン
========================= */
@media screen and (max-width: 767px) {
  .autocalc-footer {
    margin-top: 40px;
  }

  .autocalc-footer__inner {
    display: block;
    width: min(100% - 32px, 500px);
    padding: 32px 0 88px;
  }

  .autocalc-footer__company {
    text-align: center;
  }

  .autocalc-footer__logo {
    width: min(270px, 100%);
    margin: 0 auto;
  }

  .autocalc-footer__address {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.8;
    text-align: left;
  }

  .autocalc-footer__content {
    margin-top: 28px;
  }

  .autocalc-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.35) !important;
  }

  .autocalc-footer__nav > a,
  .autocalc-footer__nav > a:last-child,
  .autocalc-footer__nav > a:nth-child(4),
  .autocalc-footer__nav > a:nth-child(5),
  .autocalc-footer__nav > a:nth-child(6) {
    justify-content: flex-start;
    min-height: 50px;
    padding: 8px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
    font-size: 11px;
    white-space: normal;
  }

  .autocalc-footer__nav-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .autocalc-footer__contact {
    align-items: center;
    flex-direction: column;
    gap: 16px;
    margin-top: 26px;
  }

  .autocalc-footer__telephone {
    justify-content: center;
  }

  .autocalc-footer__telephone-icon {
    width: 30px;
  }

  .autocalc-footer__telephone-text strong {
    font-size: clamp(24px, 8vw, 30px);
  }

  .autocalc-footer__telephone-text small {
    font-size: 11px;
  }

  .autocalc-footer__line img {
    width: 78px;
  }

  .autocalc-footer__bottom {
    align-items: center;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .autocalc-footer__legal {
    justify-content: center;
    gap: 18px;
  }

  .autocalc-footer__legal a {
    font-size: 11px;
  }

  .autocalc-footer__copy {
    font-size: 9px;
    text-align: center;
    white-space: normal;
  }

  .autocalc-footer__pagetop {
    right: 12px;
    bottom: 14px;
  }

  .autocalc-footer__pagetop img {
    width: 105px;
  }
}

/* EC-CUBE標準のページトップボタンをopacityで表示制御 */
.ec-blockTopBtn.pagetop {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ec-blockTopBtn.pagetop.is-visible {
  opacity: 0.8;
  visibility: visible;
  pointer-events: auto;
}

/* 新フッター内のページトップボタンは表示 */
.autocalc-footer__pagetop {
  display: block !important;
}

/* フッター内の旧PAGE TOP画像は非表示 */
.autocalc-footer__pagetop {
  display: none !important;
}

/* =================================================
   共通フッターを画面幅いっぱいに表示
================================================= */
.autocalc-footer {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* =================================================
   自動見積もり：見積もり金額表示
================================================= */
#fixedEstimateBar.autocalc-estimate-price {
  position: static;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  background: transparent;
  border: 0;
  box-sizing: border-box;
  color: #555563;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.autocalc-estimate-price__label,
#fixedEstimateBar #priceText,
.autocalc-estimate-price__tax {
  display: inline;
}

#fixedEstimateBar #priceText {
  margin-left: 4px;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.autocalc-estimate-price__tax {
  margin-left: 4px;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  #fixedEstimateBar.autocalc-estimate-price {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .autocalc-estimate-price__tax {
    font-size: 12px;
  }
}

/* =================================================
   自動見積もり
   通常金額表示＋スクロール時の黄色固定バー
================================================= */

/* フォーム上部の通常表示 */
.autocalc-estimate-summary {
  width: 100%;
  margin: 0 0 24px;
  color: #555;
}

.autocalc-estimate-summary__title {
  margin: 0 0 30px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
}

.autocalc-estimate-summary__price {
  margin: 0;
  font-size: 37px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.autocalc-estimate-summary__price {
  padding-bottom: 14px;
  border-bottom: 1px solid #aaa;
}

.autocalc-estimate-summary #priceText {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
}

/* スクロール後に表示される黄色バー */
#fixedEstimateBar.autocalc-fixed-estimate {
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 10000;

  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 16px;

  background: #ffec70;
  border: 0;
  border-bottom: 1px solid #d8c75a;
  box-sizing: border-box;

  color: #555;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

#fixedEstimateBar.autocalc-fixed-estimate.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

#fixedEstimateBar #fixedPriceText {
  display: inline;
  margin: 0 0 0 4px;
  color: inherit;
  font: inherit;
}

.autocalc-fixed-estimate__tax {
  display: inline;
  margin-left: 6px;
  font-size: 14px;
  font-weight: 700;
}

#fixedEstimateBar #estimateValidation {
  display: inline;
  margin: 0 0 0 12px;
  font-size: 13px;
  line-height: inherit;
}

.autocalc-estimate-input-validation {
  margin-top: 6px;
  color: #c33;
}

#uploadSubmissionArea[hidden],
#urlSubmissionArea[hidden] {
  display: none !important;
}

.autocalc-submission-methods {
  gap: 12px 28px;
}

.autocalc-file-info,
.autocalc-password-help {
  margin: 6px 0 0;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}

@media screen and (max-width: 767px) {
  .autocalc-estimate-summary__title {
    font-size: 22px;
  }

  .autocalc-estimate-summary__price {
    font-size: 24px;
  }

  #fixedEstimateBar.autocalc-fixed-estimate {
    padding: 8px 10px;
    font-size: 19px;
  }

  .autocalc-fixed-estimate__tax {
    font-size: 12px;
  }
}

/* =========================================
   Rotary responsive navigation
========================================= */

.rotary-mobile-nav {
  display: none;
}

@media screen and (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .rotary-mobile-nav {
    position: absolute;
    top: 14px;
    right: 14px;
    display: block;
    margin: 0;
  }

  .rotary-header__inner {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    margin: 0;
    padding: 10px 68px 12px 12px;
    box-sizing: border-box;
  }

  .rotary-header__brand {
    display: block;
    min-width: 0;
    flex: 0 1 auto;
  }

  .rotary-header__logo img {
    width: min(46vw, 170px);
    max-width: 100%;
  }

  .rotary-header__specialty,
  .rotary-header__line,
  .rotary-global-nav,
  .rotary-sp-navi {
    display: none !important;
  }

  .rotary-header__contact {
    display: block;
    min-width: 0;
    margin-top: 6px;
  }

  .rotary-header__phone-area {
    min-width: 0;
    text-align: left;
  }

  .rotary-header__hours {
    margin: 0 0 3px;
    color: #111;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
  }

  .rotary-header__phone {
    justify-content: flex-start;
    gap: 5px;
    width: max-content;
    max-width: 100%;
    color: #000;
    font-size: clamp(16px, 5vw, 22px);
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .rotary-header__phone img {
    width: 20px;
    flex: 0 0 auto;
  }

  .rotary-header__phone-area > .rotary-header__member-nav {
    display: none !important;
  }

  .rotary-mobile-nav__member {
    display: flex;
    width: min(100%, 260px);
    margin-top: 14px;
    gap: 8px;
    justify-content: flex-start;
  }

  .rotary-mobile-nav__member .rotary-header__member-link {
    min-width: 0;
    min-height: 32px;
    height: 32px;
    flex: 1 1 0;
    padding: 0 10px;
    font-size: 11px;
    line-height: 1;
  }

  .rotary-mobile-nav__toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(36, 86, 166, 0.32);
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(36, 86, 166, 0.12);
    cursor: pointer;
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      background-color 0.2s ease;
  }

  .rotary-mobile-nav__toggle-line {
    display: block;
    width: 21px;
    height: 1.5px;
    border-radius: 999px;
    background: #2456a6;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .rotary-mobile-nav.is-open .rotary-mobile-nav__toggle-line:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .rotary-mobile-nav.is-open .rotary-mobile-nav__toggle-line:nth-child(2) {
    opacity: 0;
  }

  .rotary-mobile-nav.is-open .rotary-mobile-nav__toggle-line:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .rotary-mobile-nav__overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(8, 20, 36, 0.42);
  }

  .rotary-mobile-nav__drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9001;
    display: block;
    width: min(75vw, 360px);
    height: 100vh;
    padding: 12px 16px calc(18px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    color: var(--rotary-text-color);
    box-shadow: none;
    transform: translateX(100%);
    transition: transform 0.24s ease;
  }

  .rotary-mobile-nav.is-open .rotary-mobile-nav__drawer {
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.16);
    transform: translateX(0);
  }

  .rotary-mobile-nav__drawer-header {
    display: flex;
    min-height: 36px;
    margin-bottom: 8px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .rotary-mobile-nav__drawer-title {
    margin: 0;
    color: #2456a6;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
  }

  .rotary-mobile-nav__close {
    display: flex;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    background: #f2f6fc;
    color: #2456a6;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }

  .rotary-mobile-nav__section {
    margin-top: 12px;
  }

  .rotary-mobile-nav__drawer-header + .rotary-mobile-nav__section {
    margin-top: 0;
  }

  .rotary-mobile-nav__section-title {
    margin: 0;
    padding: 11px 14px 11px 16px;
    border-left: 4px solid #2456a6;
    border-radius: 6px;
    background: #eef5ff;
    color: #2456a6;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
  }

  .rotary-mobile-nav__links {
    margin-top: 0;
    border-top: 1px solid #e8edf5;
  }

  .rotary-mobile-nav__links a {
    display: flex;
    min-height: 40px;
    padding: 8px 4px 8px 2px;
    border-bottom: 1px solid #e8edf5;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--rotary-text-color);
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    transition:
      background-color 0.16s ease,
      color 0.16s ease;
  }

  .rotary-mobile-nav__links a::after {
    content: "›";
    flex: 0 0 auto;
    color: #2456a6;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
  }

  .rotary-mobile-nav__links a:hover,
  .rotary-mobile-nav__links a:active {
    background: #f6f9ff;
    color: #2456a6;
  }

  .rotary-mobile-nav__links a:focus-visible,
  .rotary-mobile-nav__toggle:focus-visible,
  .rotary-mobile-nav__close:focus-visible {
    outline: 2px solid #2456a6;
    outline-offset: 3px;
  }

  .rotary-mobile-nav__welcome {
    margin: 0;
    padding: 11px 12px;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
    font-size: 13px;
    line-height: 1.5;
  }

  .rotary-mobile-nav-open {
    overflow: hidden;
  }

  .autocalc-page-layout,
  .rotary-two-column-page .ec-layoutRole__contents {
    width: min(100% - 24px, 720px);
    max-width: 100%;
    overflow-x: clip;
  }

  .autocalc-sidebar,
  .rotary-two-column-page .ec-layoutRole__left,
  .ec-layoutRole__mainTop .rotary-sp-navi,
  .ec-layoutRole__mainBottom .rotary-sp-navi,
  .ec-layoutRole__contentBottom .rotary-sp-navi {
    display: none !important;
  }

  .autocalc-footer {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    background: #cb2d27;
  }

  .autocalc-legacy-page .ec-layoutRole__footer,
  .rotary-two-column-page .ec-layoutRole__footer {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #cb2d27;
  }

  .autocalc-footer__inner {
    width: min(100% - 28px, 500px);
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    box-sizing: border-box;
  }
}

/* =========================================
   Rotary responsive content images
========================================= */

.rotary-cate-print-page__content,
.rotary-technical-page__content {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.rotary-cate-print-page__content img,
.rotary-technical-page__content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* =========================================
   Rotary mobile footer layout
========================================= */

@media screen and (max-width: 767px) {
  .autocalc-footer {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    border: 0;
    box-sizing: border-box;
    background: #cb2d27;
  }

  .autocalc-legacy-page .ec-layoutRole__footer,
  .rotary-two-column-page .ec-layoutRole__footer {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #cb2d27;
    box-sizing: border-box;
  }

  .autocalc-footer__inner {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px 20px calc(58px + env(safe-area-inset-bottom));
    box-sizing: border-box;
  }

  .autocalc-footer__company {
    text-align: left;
  }

  .autocalc-footer__logo-link {
    display: inline-block;
  }

  .autocalc-footer__logo {
    width: min(240px, 100%);
    margin: 0;
  }

  .autocalc-footer__address {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.75;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .autocalc-footer__content {
    margin-top: 26px;
  }

  .autocalc-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.35) !important;
  }

  .autocalc-footer__nav > a,
  .autocalc-footer__nav > a:last-child,
  .autocalc-footer__nav > a:nth-child(4),
  .autocalc-footer__nav > a:nth-child(5),
  .autocalc-footer__nav > a:nth-child(6) {
    display: flex;
    min-height: 48px;
    padding: 9px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    box-sizing: border-box;
  }

  .autocalc-footer__nav > a:last-child {
    grid-column: auto;
  }

  .autocalc-footer__nav-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }

  .autocalc-footer__contact {
    display: flex;
    margin-top: 24px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .autocalc-footer__telephone {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    text-align: center;
  }

  .autocalc-footer__telephone-icon {
    width: 28px;
    flex: 0 0 auto;
  }

  .autocalc-footer__telephone-text {
    align-items: center;
    text-align: center;
  }

  .autocalc-footer__telephone-text strong {
    font-size: clamp(24px, 8vw, 30px);
    line-height: 1.05;
    letter-spacing: 0.02em;
  }

  .autocalc-footer__telephone-text small {
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.35;
  }

  .autocalc-footer__line {
    margin-top: 2px;
  }

  .autocalc-footer__line img {
    width: 74px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .autocalc-footer__bottom {
    display: flex;
    margin-top: 22px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .autocalc-footer__legal {
    justify-content: center;
    gap: 10px 18px;
  }

  .autocalc-footer__legal a {
    font-size: 11px;
    white-space: normal;
  }

  .autocalc-footer__copy {
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
    white-space: normal;
  }

  .ec-blockTopBtn.pagetop {
    right: calc(10px + env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 20;
  }
}

/* =========================================
   FAQ page
========================================= */
.rotary-faq-page .rotary-content-page {
  width: 100%;
  max-width: 920px;
  margin: 0 auto 56px;
  padding: 0 20px;
  box-sizing: border-box;
  color: #333;
}

.rotary-faq-page .ec-pageHeader {
  margin: 0 0 26px;
}

.rotary-faq-page .ec-pageHeader h1.rotary-faq-page__heading {
  position: relative;
  margin: 0;
  padding: 8px 0 14px 18px;
  border-top: 0;
  border-bottom: 1px solid #dfe7f3;
  color: var(--rotary-text-color, #333);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

.rotary-faq-page .ec-pageHeader h1.rotary-faq-page__heading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 1.05em;
  border-radius: 999px;
  background: #2456a6;
  transform: translateY(-50%);
}

.rotary-faq-page .rotary-faq-page__lead {
  margin: 0 0 28px;
  color: var(--rotary-text-color, #333);
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.rotary-faq-page .rotary-faq-list {
  display: grid;
  gap: 14px;
}

.rotary-faq-page .rotary-faq-page__closing {
  margin: 34px 0 0;
}

.rotary-faq-page .rotary-faq-item {
  overflow: hidden;
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  background: #fff;
}

.rotary-faq-page .rotary-faq-item__title {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.rotary-faq-page .rotary-faq-item__button {
  display: flex;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--rotary-text-color, #333);
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.rotary-faq-page .rotary-faq-item__button:hover,
.rotary-faq-page .rotary-faq-item__button[aria-expanded="true"] {
  background: #f6f9ff;
  color: #2456a6;
}

.rotary-faq-page .rotary-faq-item__button:focus-visible {
  outline: 2px solid #2456a6;
  outline-offset: -4px;
}

.rotary-faq-page .rotary-faq-item__question {
  position: relative;
  display: block;
  min-width: 0;
  padding-left: 34px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.rotary-faq-page .rotary-faq-item__question::before {
  content: "Q";
  position: absolute;
  top: 0.1em;
  left: 0;
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  color: #2456a6;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.rotary-faq-page .rotary-faq-item__icon {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(36, 86, 166, 0.32);
  border-radius: 50%;
  background: #fff;
}

.rotary-faq-page .rotary-faq-item__icon::before,
.rotary-faq-page .rotary-faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: #2456a6;
  transform: translate(-50%, -50%);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.rotary-faq-page .rotary-faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rotary-faq-page
  .rotary-faq-item__button[aria-expanded="true"]
  .rotary-faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0);
}

.rotary-faq-page .rotary-faq-item__answer {
  padding: 10px 18px 18px 52px;
  color: #444;
  background: #fff;
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.rotary-faq-page .rotary-faq-item__answer p {
  margin: 0;
}

.rotary-faq-page .rotary-faq-list.is-enhanced .rotary-faq-item__answer {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.22s ease,
    padding 0.22s ease,
    opacity 0.18s ease;
}

.rotary-faq-page
  .rotary-faq-list.is-enhanced
  .rotary-faq-item.is-open
  .rotary-faq-item__answer {
  max-height: 320px;
  padding-top: 10px;
  padding-bottom: 18px;
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .rotary-faq-page .rotary-content-page {
    max-width: none;
    padding: 0 14px;
  }

  .rotary-faq-page .ec-pageHeader {
    margin-bottom: 20px;
  }

  .rotary-faq-page .ec-pageHeader h1.rotary-faq-page__heading {
    padding: 7px 0 12px 16px;
    font-size: 24px;
  }

  .rotary-faq-page .ec-pageHeader h1.rotary-faq-page__heading::before {
    width: 4px;
    height: 1em;
  }

  .rotary-faq-page .rotary-faq-page__lead {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .rotary-faq-page .rotary-faq-item__button {
    min-height: 56px;
    padding: 14px;
    gap: 12px;
  }

  .rotary-faq-page .rotary-faq-item__question {
    padding-left: 32px;
    font-size: 16px;
  }

  .rotary-faq-page .rotary-faq-item__answer {
    padding: 9px 14px 16px 46px;
    font-size: 14px;
  }

  .rotary-faq-page
    .rotary-faq-list.is-enhanced
    .rotary-faq-item.is-open
    .rotary-faq-item__answer {
    padding-top: 9px;
  }
}
.autocalc-entry-remaining {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff7e8;
  color: #9a5b00;
  font-size: 14px;
  font-weight: 700;
}

.autocalc-entry-remaining.is-complete {
  background: #effff1;
  color: #168329;
}

.autocalc-validation {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.autocalc-validation:empty {
  display: none !important;
}

/* 姓・名／セイ・メイの判定結果を、それぞれの入力欄の真下に揃える */
#entryArea .ec-halfInput .autocalc-validation {
  display: inline-block;
  width: 45%;
  margin-left: 15px;
  vertical-align: top;
}

#entryArea .ec-halfInput .autocalc-validation:first-of-type {
  margin-left: 0;
}

/* EC-CUBE共通の入力欄下余白を除き、EFO判定を入力欄の直下へ寄せる */
#entryArea .ec-input input,
#entryArea .ec-halfInput input,
#entryArea .ec-zipInput input,
#entryArea .ec-telInput input,
#entryArea .ec-select select {
  margin-bottom: 0;
}

#entryArea .autocalc-validation {
  margin-top: 2px !important;
  line-height: 1.25;
}

#entryArea .autocalc-auth-error {
  margin-top: 10px !important;
  color: #c33;
}

#page_entry .ec-input .ec-errorMessage,
#page_entry .ec-birth .ec-errorMessage,
#page_entry .ec-select .ec-errorMessage,
#page_entry .ec-telInput .ec-errorMessage,
#page_entry .ec-zipInput .ec-errorMessage,
#page_entry .ec-numberInput .ec-errorMessage,
#page_entry .ec-halfInput .ec-errorMessage,
#page_entry .ec-checkbox .ec-errorMessage,
#page_entry .ec-radio .ec-errorMessage,
.registration_page .ec-input .ec-errorMessage,
.registration_page .ec-birth .ec-errorMessage,
.registration_page .ec-select .ec-errorMessage,
.registration_page .ec-telInput .ec-errorMessage,
.registration_page .ec-zipInput .ec-errorMessage,
.registration_page .ec-numberInput .ec-errorMessage,
.registration_page .ec-halfInput .ec-errorMessage,
.registration_page .ec-checkbox .ec-errorMessage,
.registration_page .ec-radio .ec-errorMessage {
  margin: 2px 0 0 !important;
  color: #c33 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

#page_entry .error.ec-input input,
#page_entry .error.ec-birth input,
#page_entry .error.ec-select input,
#page_entry .error.ec-telInput input,
#page_entry .error.ec-zipInput input,
#page_entry .error.ec-numberInput input,
#page_entry .error.ec-halfInput input,
#page_entry .error.ec-input select,
#page_entry .error.ec-birth select,
#page_entry .error.ec-select select,
#page_entry .error.ec-telInput select,
#page_entry .error.ec-zipInput select,
#page_entry .error.ec-numberInput select,
#page_entry .error.ec-halfInput select,
#page_entry .error.ec-input textarea,
#page_entry .error.ec-birth textarea,
#page_entry .error.ec-select textarea,
#page_entry .error.ec-telInput textarea,
#page_entry .error.ec-zipInput textarea,
#page_entry .error.ec-numberInput textarea,
#page_entry .error.ec-halfInput textarea,
.registration_page .error.ec-input input,
.registration_page .error.ec-birth input,
.registration_page .error.ec-select input,
.registration_page .error.ec-telInput input,
.registration_page .error.ec-zipInput input,
.registration_page .error.ec-numberInput input,
.registration_page .error.ec-halfInput input,
.registration_page .error.ec-input select,
.registration_page .error.ec-birth select,
.registration_page .error.ec-select select,
.registration_page .error.ec-telInput select,
.registration_page .error.ec-zipInput select,
.registration_page .error.ec-numberInput select,
.registration_page .error.ec-halfInput select,
.registration_page .error.ec-input textarea,
.registration_page .error.ec-birth textarea,
.registration_page .error.ec-select textarea,
.registration_page .error.ec-telInput textarea,
.registration_page .error.ec-zipInput textarea,
.registration_page .error.ec-numberInput textarea,
.registration_page .error.ec-halfInput textarea {
  margin-bottom: 0 !important;
  border-color: #c64f4f !important;
  background: #fffafa !important;
}

#page_entry .error.ec-checkbox label,
#page_entry .error.ec-checkbox div,
#page_entry .error.ec-radio label,
#page_entry .error.ec-radio div,
.registration_page .error.ec-checkbox label,
.registration_page .error.ec-checkbox div,
.registration_page .error.ec-radio label,
.registration_page .error.ec-radio div {
  background: transparent !important;
}

/* =================================================
   自動見積もり：利用規約・注文ボタン
================================================= */

.autocalc-policy-agreement {
  margin-bottom: 24px;
  padding: 20px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.autocalc-policy-agreement__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 150%;
  line-height: 1.5;
  cursor: pointer;
}

.autocalc-policy-agreement__label input[type="checkbox"] {
  margin: 0;
}

.autocalc-policy-agreement__link {
  color: inherit;
  text-decoration: underline;
}

.autocalc-policy-agreement__error {
  margin-top: 8px;
}

#orderButton {
  display: block;
  width: 300px;
  min-height: 56px;
  margin: 0 auto;
  border: none;
  border-radius: 10px;
  background: #e89a2d;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 2.5;
  text-align: center;
  cursor: pointer;
}

#orderButton:hover:not(:disabled) {
  background: #d8840d;
}

#orderButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#orderHelpText {
  margin: 8px 0 0;
  color: #cc3333;
  font-size: 13px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .autocalc-policy-agreement {
    padding: 16px 10px;
  }

  .autocalc-policy-agreement__label {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 130%;
  }

  #orderButton {
    width: 100%;
  }

  #orderHelpText {
    font-size: 12px;
  }
}

/* =================================================
   FV Slide 3 / 4 release final adjustment
   スライド高は維持したままコンテンツを縦中央へ配置
================================================= */

@media screen and (min-width: 768px) {

  /* 3枚目・4枚目のみ、コンテンツ全体を縦中央へ */
  .top-fv-product--nameplate,
  .top-fv-product--transparent {
    align-content: center;
  }

  /* 4枚目に入っていた上方向への押し下げを解除 */
  .top-fv-product--transparent {
    padding-top: 0;
  }

  /* 左側画像もスライド中央を基準に配置 */
  .top-fv-product__image--nameplate,
  .top-fv-product__image--transparent {
    top: 50%;
    transform: translateY(-50%);
  }

  /* 3枚目：白枠と本文の開始位置を揃える */
  .top-fv-product--nameplate .top-fv-product__subcopy {
    justify-self: start;
    text-align: left;
  }

  .top-fv-product--nameplate .top-fv-product__text {
    width: auto;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}


/* 768〜1120px
   固定スライド高の中で本文が見切れないよう縦方向を圧縮 */
@media screen and (min-width: 768px) and (max-width: 1120px) {

  .top-fv-product--nameplate,
  .top-fv-product--transparent {
    grid-template-rows: auto auto auto auto;
    align-content: center;
    row-gap: 5px;
    column-gap: 14px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .top-fv-product--nameplate .top-fv-product__label,
  .top-fv-product--transparent .top-fv-product__label {
    margin-bottom: 0;
    font-size: clamp(21px, 2.75vw, 29px);
    line-height: 1.05;
  }

  .top-fv-product--nameplate .top-fv-product__heading,
  .top-fv-product--transparent .top-fv-product__heading {
    margin-bottom: 0;
    font-size: clamp(20px, 2.55vw, 28px);
    line-height: 1.08;
  }

  .top-fv-product--nameplate .top-fv-product__subcopy,
  .top-fv-product--transparent .top-fv-product__subcopy {
    margin-top: 4px;
    margin-bottom: 2px;
    padding: 4px 8px;
    font-size: clamp(10px, 1.18vw, 13px);
    line-height: 1.3;
  }

  .top-fv-product--nameplate .top-fv-product__text,
  .top-fv-product--transparent .top-fv-product__text {
    margin-top: 3px;
    font-size: clamp(9px, 1vw, 11px);
    line-height: 1.35;
  }

  .top-fv-product__image--nameplate {
    top: 50%;
    left: 18px;
    width: min(100%, 250px);
    transform: translateY(-50%);
  }

  .top-fv-product__image--transparent {
    top: 50%;
    left: 22px;
    width: min(100%, 210px);
    transform: translateY(-50%);
  }
}


/* =================================================
   FV Slide 3 / 4 final overlap fix
================================================= */

@media screen and (min-width: 768px) {

  /*
   画像をスライド全体の中央に置く指定を解除。
   上段の画像＋見出し、その下に白枠＋本文の構成へ戻す。
  */
  .top-fv-product__image--nameplate {
    top: 0;
    transform: none;
  }

  .top-fv-product__image--transparent {
    top: 8px;
    transform: none;
  }

  /* 3・4枚目の白枠と本文は画像より下へ */
  .top-fv-product--nameplate .top-fv-product__subcopy,
  .top-fv-product--transparent .top-fv-product__subcopy {
    position: relative;
    z-index: 3;
    margin-top: 12px;
  }

  .top-fv-product--nameplate .top-fv-product__text,
  .top-fv-product--transparent .top-fv-product__text {
    position: relative;
    z-index: 3;
    margin-top: 8px;
  }
}


/* タブレット：見出し切れ＋画像被り対策 */
@media screen and (min-width: 768px) and (max-width: 1120px) {

  .top-fv-product--nameplate,
  .top-fv-product--transparent {
    align-content: center;
    row-gap: 4px;
  }

  /* nowrapを解除して画面内に収める */
  .top-fv-product--nameplate .top-fv-product__heading,
  .top-fv-product--transparent .top-fv-product__heading {
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    font-size: clamp(18px, 2.35vw, 26px);
    line-height: 1.08;
  }

  .top-fv-product--nameplate .top-fv-product__label,
  .top-fv-product--transparent .top-fv-product__label {
    font-size: clamp(20px, 2.55vw, 28px);
    line-height: 1.05;
  }

  /*
   左画像を少し縮小。
   スライド高は変更せず、本文領域を確保。
  */
  .top-fv-product__image--nameplate {
    top: 6px;
    left: 14px;
    width: min(88%, 220px);
    transform: none;
  }

  .top-fv-product__image--transparent {
    top: 8px;
    left: 18px;
    width: min(88%, 185px);
    transform: none;
  }

  .top-fv-product--nameplate .top-fv-product__subcopy,
  .top-fv-product--transparent .top-fv-product__subcopy {
    margin-top: 7px;
    margin-bottom: 2px;
    padding: 4px 8px;
    font-size: clamp(9px, 1.08vw, 12px);
    line-height: 1.3;
  }

  .top-fv-product--nameplate .top-fv-product__text,
  .top-fv-product--transparent .top-fv-product__text {
    margin-top: 4px;
    font-size: clamp(8px, .92vw, 10.5px);
    line-height: 1.35;
  }
}

/* =================================================
   FV Slide 3 / 4 final position adjustment
================================================= */

/* PC：3・4枚目の画像も縦中央へ */
@media screen and (min-width: 1121px) {
  .top-fv-product__image--nameplate,
  .top-fv-product__image--transparent {
    top: 50%;
    transform: translateY(-50%);
  }
}

/* タブレット：画像と見出しの間を詰め、4枚目の見切れを防止 */
@media screen and (min-width: 768px) and (max-width: 1120px) {
  .top-fv-product--nameplate,
  .top-fv-product--transparent {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
    column-gap: 8px;
  }

  .top-fv-product--nameplate .top-fv-product__heading,
  .top-fv-product--transparent .top-fv-product__heading {
    font-size: clamp(18px, 2.35vw, 26px);
    white-space: normal;
  }

  .top-fv-product--transparent .top-fv-product__heading {
    line-height: 1.05;
  }

  .top-fv-product__image--nameplate {
    left: 8px;
    width: min(100%, 235px);
  }

  .top-fv-product__image--transparent {
    left: 8px;
    width: min(100%, 195px);
  }

  .top-fv-product--nameplate .top-fv-product__subcopy,
  .top-fv-product--transparent .top-fv-product__subcopy {
    max-width: 100%;
  }
}


/* =================================================
   FV Slide 3 / 4 release final position tuning
================================================= */

/* PC：画像を中央より少し上へ戻して本文との被りを防ぐ */
@media screen and (min-width: 1121px) {
  .top-fv-product__image--nameplate,
  .top-fv-product__image--transparent {
    top: 43%;
    transform: translateY(-50%);
  }
}

/* Tablet：画像は少し下げる / 見出し側は少し右へ戻す */
@media screen and (min-width: 768px) and (max-width: 1120px) {
  .top-fv-product__image--nameplate,
  .top-fv-product__image--transparent {
    top: 54%;
    transform: translateY(-50%);
  }

  .top-fv-product--nameplate .top-fv-product__label,
  .top-fv-product--nameplate .top-fv-product__heading,
  .top-fv-product--nameplate .top-fv-product__subcopy,
  .top-fv-product--transparent .top-fv-product__label,
  .top-fv-product--transparent .top-fv-product__heading,
  .top-fv-product--transparent .top-fv-product__subcopy {
    transform: translateX(8px);
  }
}


/* =================================================
   FV Slide 3 / 4 final micro adjustment
================================================= */

/* PC：画像をもう少し上へ戻し、白枠・本文との重なりを回避 */
@media screen and (min-width: 1121px) {

  .top-fv-product__image--nameplate {
    top: 34%;
    transform: translateY(-50%);
  }

  .top-fv-product__image--transparent {
    top: 36%;
    transform: translateY(-50%);
  }
}


/* Tablet：画像を上へ戻し、右側テキストを少し右へ */
@media screen and (min-width: 768px) and (max-width: 1120px) {

  .top-fv-product__image--nameplate {
    top: 39%;
    transform: translateY(-50%);
  }

  .top-fv-product__image--transparent {
    top: 41%;
    transform: translateY(-50%);
  }

  /* 見出し・白枠を少し右へ戻す */
  .top-fv-product--nameplate .top-fv-product__label,
  .top-fv-product--nameplate .top-fv-product__heading,
  .top-fv-product--nameplate .top-fv-product__subcopy,
  .top-fv-product--transparent .top-fv-product__label,
  .top-fv-product--transparent .top-fv-product__heading,
  .top-fv-product--transparent .top-fv-product__subcopy {
    transform: translateX(24px);
  }
}


/* =================================================
   FV Slide 3 / 4 final adjustment
================================================= */

/* PC：3枚目は画像位置を維持し、テキスト側のみ微調整 */
@media screen and (min-width: 1121px) {

  .top-fv-product--nameplate .top-fv-product__label,
  .top-fv-product--nameplate .top-fv-product__heading {
    transform: translateX(33px);
  }

  .top-fv-product--nameplate .top-fv-product__subcopy {
    transform: translate(23px, 21px);
  }

  .top-fv-product--nameplate .top-fv-product__text {
    transform: translateY(25px);
  }
}


/* Tablet：3・4枚目の画像を少し内側へ */
@media screen and (min-width: 768px) and (max-width: 1120px) {

  .top-fv-product__image--nameplate {
    left: 8px;
  }

  .top-fv-product__image--transparent {
    left: 20px;
  }
}


/* =================================================
   FV Slide 3 tablet text position tuning
================================================= */

@media screen and (min-width: 768px) and (max-width: 1120px) {

  /* 紫スライド：見出しを右＋少し下へ */
  .top-fv-product--nameplate .top-fv-product__label,
  .top-fv-product--nameplate .top-fv-product__heading {
    transform: translate(34px, 8px);
  }

  /* 白枠を右＋下へ */
  .top-fv-product--nameplate .top-fv-product__subcopy {
    transform: translate(26px, 16px);
  }

  /* 本文を右＋下へ */
  .top-fv-product--nameplate .top-fv-product__text {
    transform: translate(18px, 22px);
  }
}


/* =================================================
   FV Slide 3 PC subcopy / text center alignment
================================================= */

@media screen and (min-width: 1121px) {

  .top-fv-product--nameplate .top-fv-product__subcopy {
    justify-self: center;
    text-align: center;
  }

  .top-fv-product--nameplate .top-fv-product__text {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}


/* PC3枚目：本文ブロックを中央配置 */
@media screen and (min-width: 1121px) {
  .top-fv-product--nameplate .top-fv-product__text {
    justify-self: center;
    width: fit-content;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }
}

