/*
 * Design refresh for kobe-bestone.com
 * Loaded after the migrated SWELL styles. Keep original theme files untouched.
 */

:root {
  --bestone-navy: #003366;
  --bestone-deep: #00264d;
  --bestone-blue: #0b5f9e;
  --bestone-sky: #eaf3f9;
  --bestone-ink: #172b3d;
  --bestone-line: #d9e4ec;
  --bestone-shadow: 0 16px 40px rgba(0, 38, 77, .10);
  --swl-font_family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --swl-font_weight: 400;
  --swl-letter_spacing: .035em;
  --color_main: var(--bestone-navy);
  --color_text: var(--bestone-ink);
  --color_link: var(--bestone-blue);
  --color_htag: var(--bestone-navy);
  --color_bg: #f7f9fb;
  --color_header_bg: #f8fbfd;
  --color_header_text: var(--bestone-navy);
  --color_footer_bg: var(--bestone-deep);
  --color_footer_text: #fff;
  --color_border: var(--bestone-line);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f7f9fb;
  color: var(--bestone-ink);
  font-feature-settings: "palt" 1;
  line-height: 1.85;
}

#body_wrap {
  background: linear-gradient(180deg, #fff 0, #f7f9fb 50%, #fff 100%) !important;
}

a {
  text-underline-offset: .18em;
  transition: color .2s ease, opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

a:hover {
  color: var(--bestone-blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(11, 95, 158, .35);
  outline-offset: 3px;
}

/* Header and navigation */
.l-header {
  background: rgba(248, 251, 253, .96);
  border-bottom: 1px solid rgba(0, 51, 102, .12);
  box-shadow: 0 8px 24px rgba(0, 38, 77, .07);
}

.c-headLogo__img {
  filter: drop-shadow(0 2px 7px rgba(0, 38, 77, .08));
}

.c-gnav > .menu-item > a {
  color: var(--bestone-navy);
  font-weight: 700;
  letter-spacing: .06em;
}

.c-gnav > .menu-item > a .c-smallNavTitle {
  color: #617587;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  margin-top: 6px;
  opacity: 1;
}

.c-gnav > .menu-item > a::after {
  background: linear-gradient(90deg, var(--bestone-navy), #2d83bd) !important;
  bottom: 0;
  height: 3px !important;
  transform: scaleX(0);
  transform-origin: center;
  width: 100% !important;
}

.c-gnav > .menu-item:hover > a,
.c-gnav > .current-menu-item > a,
.c-gnav > .current_page_item > a {
  background: transparent !important;
  color: var(--bestone-blue) !important;
}

.c-gnav > .menu-item:hover > a::after,
.c-gnav > .current-menu-item > a::after,
.c-gnav > .current_page_item > a::after {
  transform: scaleX(1);
}

.l-fixHeader {
  box-shadow: 0 10px 26px rgba(0, 38, 77, .14);
}

.l-fixHeader::before {
  background: rgba(255, 255, 255, .98) !important;
}

.l-fixHeader .c-headLogo__img {
  max-height: 40px;
}

/* Page hero and content frame */
.l-topTitleArea {
  isolation: isolate;
  min-height: 250px;
}

.l-topTitleArea::after {
  background: linear-gradient(100deg, rgba(0, 38, 77, .74), rgba(0, 51, 102, .38));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.l-topTitleArea__body {
  color: #fff !important;
  text-align: left !important;
  text-shadow: none !important;
}

.c-pageTitle {
  font-size: clamp(2rem, 3.2vw, 3rem) !important;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.35;
  padding-left: 1.1em;
  position: relative;
}

.c-pageTitle::before {
  background: #fff;
  content: "";
  height: 2.5em;
  left: 0;
  position: absolute;
  top: .08em;
  width: 4px;
}

.p-breadcrumb {
  background: #fff !important;
  border-bottom: 1px solid var(--bestone-line);
  color: #667788;
}

.p-breadcrumb__list {
  padding-bottom: 13px;
  padding-top: 13px;
}

#content.l-content {
  margin-bottom: 7rem;
  padding-top: clamp(2.5rem, 5vw, 5rem);
}

.l-mainContent .post_content {
  font-size: clamp(15px, 1.35vw, 17px);
}

.post_content p {
  line-height: 2;
}

/* Replace the original solid SWELL title treatments. */
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  background: transparent !important;
  border-bottom: 1px solid var(--bestone-line);
  color: var(--bestone-navy) !important;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  letter-spacing: .08em;
  margin-bottom: 2rem;
  padding: 0 0 .75rem 1.05rem !important;
  position: relative;
}

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  background: linear-gradient(180deg, var(--bestone-navy), #2378b3) !important;
  border: 0 !important;
  content: "" !important;
  height: 100% !important;
  left: 0 !important;
  position: absolute !important;
  top: 0 !important;
  width: 5px !important;
}

.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  color: var(--bestone-navy);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: .06em;
  margin-top: 3rem;
  padding: 0 0 .65rem !important;
}

.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  background: linear-gradient(90deg, var(--bestone-navy) 0 22%, var(--bestone-line) 22% 100%) !important;
  height: 2px !important;
}

.post_content h4:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  border-left: 3px solid #2d83bd;
  color: var(--bestone-navy);
  margin-top: 2.25rem;
  padding-left: .85rem;
}

.post_content strong {
  color: #183f61;
}

.post_content hr.wp-block-separator {
  border-color: var(--bestone-line);
  margin: 2.25rem 0;
}

.post_content .wp-block-table table,
.post_content table:not(.inquiry) {
  background: #fff;
  border: 1px solid var(--bestone-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 38, 77, .05);
  overflow: hidden;
}

.post_content .wp-block-table td,
.post_content .wp-block-table th,
.post_content table:not(.inquiry) td,
.post_content table:not(.inquiry) th {
  border-color: var(--bestone-line);
  padding: .9em 1em;
}

/* Top page */
.home #content.l-content {
  padding-top: clamp(1.5rem, 3vw, 3.25rem);
}

.home #metaslider-id-168 {
  background: var(--bestone-deep);
  border: 1px solid rgba(0, 51, 102, .18);
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(0, 38, 77, .18);
  isolation: isolate;
  margin: 0 auto clamp(3.5rem, 6vw, 5.5rem);
  overflow: hidden;
  position: relative;
}

.home #metaslider-id-168 .slides {
  background: transparent !important;
  list-style: none !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.home #metaslider-id-168 .slides li {
  overflow: hidden;
}

.home #metaslider-id-168 .slides,
.home #metaslider-id-168 .flex-viewport,
.home #metaslider-id-168 .slides li,
.home #metaslider-id-168 img {
  border-radius: inherit;
}

.home #metaslider-id-168 img {
  display: block;
  width: 100%;
}

.home #main_content .bebas-neue-regular {
  color: var(--bestone-navy) !important;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 800 !important;
  letter-spacing: .17em !important;
  margin-bottom: 1.5rem !important;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only {
  counter-reset: pickup-card;
  margin-bottom: clamp(4.5rem, 7vw, 7rem);
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only > .swell-block-columns__inner {
  column-gap: 24px;
  flex-wrap: nowrap;
  row-gap: 0;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column {
  background: linear-gradient(145deg, #fff 0%, #f6f9fb 100%);
  border: 1px solid rgba(0, 51, 102, .10);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0, 38, 77, .08);
  counter-increment: pickup-card;
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3) !important;
  flex-direction: column;
  max-width: calc((100% - 48px) / 3);
  min-width: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column:hover {
  border-color: rgba(0, 51, 102, .28);
  box-shadow: 0 22px 40px rgba(0, 38, 77, .16);
  transform: translateY(-7px);
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column::before {
  align-items: center;
  background: var(--bestone-navy);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(0, 38, 77, .22);
  color: #fff;
  content: counter(pickup-card, decimal-leading-zero);
  display: flex;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  letter-spacing: .08em;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  z-index: 2;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column::after {
  background: linear-gradient(90deg, var(--bestone-navy), #2d83bd);
  border-radius: 999px;
  bottom: 14px;
  content: "";
  height: 3px;
  left: 24px;
  position: absolute;
  right: 24px;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only figure,
.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only figure img {
  border-radius: 0;
  overflow: hidden;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only figure {
  aspect-ratio: 4 / 3;
  margin: 0;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only figure a {
  display: block;
  height: 100%;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only figure img {
  box-shadow: none !important;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  width: 100%;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only a:hover img {
  transform: scale(1.035);
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swl-fz-l {
  display: inline-block;
  font-size: 1.35rem;
  margin-top: 0;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column > p:nth-of-type(1) {
  margin: 1.5rem 1.5rem .5rem !important;
  text-align: left !important;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column > p:nth-of-type(2) {
  color: #506475;
  font-size: .92rem;
  line-height: 1.8;
  margin: 0 1.5rem 2.5rem !important;
}

/* Pickup cards: sharp editorial treatment */
.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column {
  background: #fff;
  border: 1px solid #cbd9e3;
  border-radius: 0;
  box-shadow: 10px 10px 0 rgba(0, 51, 102, .12);
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column:hover {
  border-color: var(--bestone-navy);
  box-shadow: 14px 14px 0 rgba(0, 51, 102, .18);
  transform: translate(-3px, -5px);
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column::before {
  display: none;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column::after {
  align-items: center;
  background: #e9f1f6;
  border-radius: 0;
  bottom: 0;
  color: var(--bestone-navy);
  content: "→";
  display: flex;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  height: 54px;
  justify-content: center;
  left: auto;
  right: 0;
  width: 58px;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only figure,
.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only figure img {
  border-radius: 0;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column > p:nth-of-type(1) {
  background: var(--bestone-navy);
  color: #fff !important;
  margin: 0 !important;
  padding: 1.1rem 1.5rem !important;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column > p:nth-of-type(1) .swl-inline-color,
.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column > p:nth-of-type(1) .swl-fz-l {
  color: #fff !important;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column > p:nth-of-type(2) {
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 1.25rem 5rem 3.5rem 1.5rem;
}

/* Buttons and inquiry form */
.swell-block-button__link,
.wpcf7 .wpcf7-submit {
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(0, 51, 102, .18) !important;
  font-weight: 700;
  letter-spacing: .08em;
}

.swell-block-button__link:hover,
.wpcf7 .wpcf7-submit:hover {
  box-shadow: 0 12px 24px rgba(0, 51, 102, .25) !important;
  transform: translateY(-2px);
}

.wpcf7 {
  background: #fff;
  border: 1px solid var(--bestone-line);
  border-radius: 18px;
  box-shadow: var(--bestone-shadow);
  margin: 0 auto;
  max-width: 960px;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.inquiry {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  width: 100%;
}

.inquiry th,
.inquiry td {
  border-bottom: 1px solid var(--bestone-line);
  padding: 1.15rem 1.25rem;
  vertical-align: top;
}

.inquiry th {
  background: #eff6fa;
  color: var(--bestone-navy);
  font-weight: 700;
  text-align: left;
  width: 31%;
}

.inquiry tr:first-child th {
  border-radius: 10px 0 0 0;
}

.inquiry .haveto,
.inquiry .any {
  border-radius: 999px;
  font-size: .72em;
  letter-spacing: .08em;
  margin-right: .5rem;
  padding: .28em .65em;
}

.inquiry .haveto {
  background: var(--bestone-navy);
  color: #fff;
}

.inquiry .any {
  background: #dce7ee;
  color: #4e6475;
}

.wpcf7 input:not([type="checkbox"]),
.wpcf7 textarea {
  background: #fbfdff;
  border: 1px solid #c9d8e3;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(0, 38, 77, .03);
  padding: .75em .9em;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.wpcf7 textarea {
  min-height: 10em;
  resize: vertical;
}

.wpcf7 input:not([type="checkbox"]):focus,
.wpcf7 textarea:focus {
  border-color: #2d83bd;
  box-shadow: 0 0 0 4px rgba(45, 131, 189, .14);
}

.wpcf7 .wpcf7-submit {
  background: linear-gradient(135deg, var(--bestone-navy), #126ba7) !important;
  border: 0;
  color: #fff;
  display: block;
  margin: 2rem auto 0;
  min-width: min(100%, 320px);
  padding: .95em 2em;
}

/* Contact form: match the sharp pickup-card treatment. */
.home .wpcf7 {
  background: #fff;
  border: 1px solid #cbd9e3;
  border-radius: 0;
  border-top: 5px solid var(--bestone-navy);
  box-shadow: 12px 12px 0 rgba(0, 51, 102, .12);
  max-width: 980px;
  padding: 0 0 2.5rem;
}

.home .wpcf7::before {
  color: var(--bestone-navy);
  content: "CONTACT FORM";
  display: block;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 1.7rem 2rem 1.1rem;
}

.home .wpcf7 .inquiry {
  border-top: 1px solid #cbd9e3;
}

.home .inquiry .haveto {
  background: #c83c45 !important;
  border: 1px solid #c83c45;
  color: #fff !important;
  font-weight: 700;
}

/* CF7 ships an empty response box in the static HTML. Keep it hidden until needed. */
.home .wpcf7 .wpcf7-response-output:empty {
  display: none;
}

/* Footer partners: give the original banners the same sharp, structured finish. */
#before_footer_widget {
  background: linear-gradient(135deg, #f4f9fc 0%, #eaf2f7 100%);
  border-top: 1px solid #d6e1e8;
  padding: 4.75rem 0;
}

#before_footer_widget .l-container {
  max-width: 1200px;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type,
#before_footer_widget .p-blogParts > .swell-block-columns:nth-of-type(2) {
  margin: 0;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner {
  align-items: stretch;
  gap: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column,
#before_footer_widget .p-blogParts > .swell-block-columns:nth-of-type(2) > .swell-block-columns__inner > .swell-block-column {
  margin: 0 !important;
  max-width: none !important;
  min-width: 0;
  width: 100% !important;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child > .swell-block-columns > .swell-block-columns__inner {
  column-gap: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 1rem;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child > .swell-block-columns > .swell-block-columns__inner > .swell-block-column {
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type .wp-block-image {
  margin: 0;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child figure {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd9e3;
  box-shadow: 5px 5px 0 rgba(0, 51, 102, .1);
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 76px;
  padding: .8rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child figure a {
  display: block;
  line-height: 0;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child figure:hover {
  border-color: var(--bestone-navy);
  box-shadow: 8px 8px 0 rgba(0, 51, 102, .14);
  transform: translate(-2px, -2px);
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child figure img {
  height: auto;
  max-height: 44px;
  object-fit: contain;
  width: 100%;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:nth-child(2) > .wp-block-group {
  background: #fff !important;
  border: 1px solid #cbd9e3;
  border-radius: 0;
  border-top: 5px solid var(--bestone-navy);
  box-shadow: 9px 9px 0 rgba(0, 51, 102, .12);
  height: 100%;
  margin: 0;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:nth-child(2) > .wp-block-group > .wp-block-group__inner-container {
  padding: 1.7rem 2rem 1.55rem;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:nth-child(2) figure {
  border-bottom: 1px solid #d6e1e8;
  margin: 0 auto 1rem;
  padding-bottom: 1rem;
  text-align: center;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:nth-child(2) figure img {
  max-width: 172px;
  width: 100% !important;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:nth-child(2) p {
  border-bottom: 1px solid #e3ebf0;
  color: #294b63;
  font-size: .9rem;
  line-height: 1.7;
  margin: 0 !important;
  padding: .45rem 0;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:nth-child(2) p:last-child {
  border-bottom: 0;
}

#before_footer_widget .p-blogParts > .swell-block-columns:nth-of-type(2) {
  margin: 3.25rem 0;
}

#before_footer_widget .p-blogParts > .swell-block-columns:nth-of-type(2) > .swell-block-columns__inner {
  gap: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#before_footer_widget .p-blogParts > .swell-block-columns:nth-of-type(2) figure {
  background: #fff;
  border: 1px solid #cbd9e3;
  border-radius: 0;
  box-shadow: 8px 8px 0 rgba(0, 51, 102, .12);
  margin: 0;
  overflow: hidden;
  padding: .5rem;
}

#before_footer_widget .p-blogParts > .swell-block-columns:nth-of-type(2) figure a {
  display: block;
  line-height: 0;
  position: relative;
}

#before_footer_widget .p-blogParts > .swell-block-columns:nth-of-type(2) figure a::after {
  background: var(--bestone-navy);
  bottom: 0;
  color: #fff;
  content: "↗";
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 2.25rem;
  position: absolute;
  right: 0;
  text-align: center;
  width: 2.25rem;
}

#before_footer_widget .p-blogParts > .swell-block-columns:nth-of-type(2) img {
  display: block;
  width: 100%;
}

/* Company policy: editorial hierarchy and principle cards. */
#body_wrap.id_71 #content.l-content {
  max-width: 1180px;
}

#body_wrap.id_71 .l-mainContent__inner {
  max-width: 1040px;
}

#body_wrap.id_71 .post_content > h2 {
  margin-top: clamp(4.5rem, 8vw, 6.5rem);
}

#body_wrap.id_71 .post_content > h2:first-child {
  margin-top: 0;
}

#body_wrap.id_71 .post_content > h3 {
  margin-top: 2.75rem;
}

#body_wrap.id_71 .post_content > h2 + h3 {
  color: #294b63;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

#body_wrap.id_71 .post_content > h2 + h3::before {
  background: var(--bestone-navy) !important;
  height: 3px !important;
}

#body_wrap.id_71 .post_content > p:has(> strong) {
  align-items: center;
  background: var(--bestone-navy);
  border: 1px solid var(--bestone-navy);
  box-shadow: 6px 6px 0 rgba(0, 51, 102, .12);
  color: #fff;
  display: flex;
  font-size: 1.02rem;
  letter-spacing: .035em;
  margin: 1.15rem 0 0 !important;
  min-height: 58px;
  padding: .9rem 1.2rem;
}

#body_wrap.id_71 .post_content > p:has(> strong) strong {
  color: #fff;
}

#body_wrap.id_71 .post_content > p:has(> strong) + p {
  background: #fff;
  border: 1px solid #cbd9e3;
  border-top: 0;
  box-shadow: 6px 6px 0 rgba(0, 51, 102, .08);
  color: #385365;
  margin: 0 0 1.4rem !important;
  padding: 1rem 1.2rem 1.1rem;
}

#body_wrap.id_71 .post_content > h3:nth-of-type(n + 2) {
  align-items: center;
  background: #edf4f8;
  border-left: 4px solid var(--bestone-navy);
  color: var(--bestone-navy);
  display: flex;
  min-height: 58px;
  padding: .85rem 1.15rem !important;
}

#body_wrap.id_71 .post_content > h3:nth-of-type(n + 2)::before {
  display: none;
}

#body_wrap.id_71 .post_content > h3:nth-of-type(n + 2) + p {
  color: #25445b;
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

#body_wrap.id_71 .post_content > p.has-text-align-right {
  border-top: 1px solid #cbd9e3;
  color: #385365;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: .92rem;
  letter-spacing: .04em;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
}

/* Service contents: turn the operating principles into a clear editorial matrix. */
#body_wrap.id_74 #content.l-content {
  max-width: 1180px;
}

#body_wrap.id_74 .l-mainContent__inner {
  max-width: 1080px;
}

#body_wrap.id_74 #main_content > .l-mainContent__inner > .post_content {
  align-items: stretch;
  column-gap: 0;
  display: grid;
  grid-template-columns: minmax(220px, .82fr) minmax(0, 2.35fr);
  row-gap: .75rem;
}

#body_wrap.id_74 .post_content > h2,
#body_wrap.id_74 .post_content > h3 {
  grid-column: 1 / -1;
}

#body_wrap.id_74 .post_content > h2 {
  margin: 0 0 2.1rem;
}

#body_wrap.id_74 .post_content > h3 {
  color: #294b63;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 .95rem;
  text-transform: uppercase;
}

#body_wrap.id_74 .post_content > h3::before {
  background: var(--bestone-navy) !important;
  height: 3px !important;
}

#body_wrap.id_74 .post_content > p:has(> strong) {
  align-items: center;
  align-self: stretch;
  background: var(--bestone-navy);
  border: 1px solid var(--bestone-navy);
  box-shadow: 5px 5px 0 rgba(0, 51, 102, .12);
  color: #fff;
  display: flex;
  font-size: .95rem;
  grid-column: 1;
  letter-spacing: .025em;
  line-height: 1.55;
  margin: 0 !important;
  padding: 1rem 1.15rem;
}

#body_wrap.id_74 .post_content > p:has(> strong) strong {
  color: #fff;
}

#body_wrap.id_74 .post_content > p:has(> strong) + p {
  align-items: center;
  align-self: stretch;
  background: #fff;
  border: 1px solid #cbd9e3;
  border-left: 0;
  box-shadow: 5px 5px 0 rgba(0, 51, 102, .08);
  color: #385365;
  display: flex;
  grid-column: 2;
  line-height: 1.85;
  margin: 0 !important;
  padding: 1rem 1.5rem;
}

/* Staff: present team photos as a consistent, editorial card system. */
#body_wrap.id_77 #content.l-content {
  max-width: 1240px;
}

#body_wrap.id_77 .l-mainContent__inner {
  max-width: 1120px;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > h2 {
  margin-bottom: 2rem;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > h2 + figure {
  background: #fff;
  border: 1px solid #cbd9e3;
  box-shadow: 10px 10px 0 rgba(0, 51, 102, .12);
  margin: 0 auto clamp(3.5rem, 7vw, 5.5rem);
  max-width: 920px;
  padding: .65rem;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > h2 + figure img {
  display: block;
  width: 100%;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > h3 {
  align-items: center;
  background: linear-gradient(115deg, #003366 0%, #064d78 100%);
  border: 0;
  box-shadow: 9px 9px 0 rgba(0, 51, 102, .16);
  color: #fff;
  display: flex;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  gap: .8rem;
  letter-spacing: .075em;
  margin: 0 0 1.85rem -1.5rem;
  min-height: 68px;
  padding: 1.15rem 1.5rem;
  text-transform: uppercase;
  width: calc(100% + 1.5rem);
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > h3::before {
  background: #e6a052 !important;
  content: "";
  flex: 0 0 .55rem;
  height: .55rem !important;
  margin: 0 !important;
  position: static !important;
  width: .55rem !important;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > h3::after {
  background: rgba(255, 255, 255, .42);
  content: "";
  flex: 1 1 auto;
  height: 1px;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns {
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns > .swell-block-columns__inner {
  display: grid;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns:nth-of-type(1) > .swell-block-columns__inner {
  gap: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns:nth-of-type(2) > .swell-block-columns__inner {
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column {
  background: #fff;
  border: 1px solid #cbd9e3;
  border-radius: 0;
  box-shadow: 8px 8px 0 rgba(0, 51, 102, .11);
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  max-width: none !important;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  width: 100% !important;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column:hover {
  border-color: var(--bestone-navy);
  box-shadow: 12px 12px 0 rgba(0, 51, 102, .16);
  transform: translate(-2px, -3px);
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns figure {
  margin: 0;
  overflow: hidden;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns figure img {
  display: block;
  transition: transform .35s ease;
  width: 100%;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column:hover figure img {
  transform: scale(1.025);
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column > p:nth-of-type(1) {
  background: var(--bestone-navy);
  color: #fff !important;
  margin: 0 !important;
  padding: .9rem 1rem;
  text-align: center;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column > p:nth-of-type(1) strong,
#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column > p:nth-of-type(1) .swl-fz {
  color: #fff !important;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column > p:nth-of-type(2) {
  color: #527086;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: .76rem;
  letter-spacing: .08em;
  margin: 0 !important;
  padding: .8rem 1rem .2rem;
  text-align: center;
}

#body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column > p:nth-of-type(3) {
  color: #3c5669;
  flex: 1 1 auto;
  font-size: .83rem;
  line-height: 1.8;
  margin: 0 !important;
  padding: .65rem 1rem 1.25rem;
  text-align: left;
}

/* Company profile: keep the page focused on its facts; location lives in COMPANY INFO. */
#body_wrap:is(.id_80, .id_94) #content.l-content {
  max-width: 1080px;
}

#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner {
  max-width: 960px;
}

#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > h2 {
  margin-bottom: 2rem;
}

#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table {
  background: #fff;
  border: 1px solid #cbd9e3;
  box-shadow: 10px 10px 0 rgba(0, 51, 102, .12);
  margin: 0;
  overflow: hidden;
}

#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table table {
  background: #fff;
  border-collapse: collapse;
  margin: 0;
  width: 100%;
}

#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table th,
#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table td {
  border: 0;
  border-bottom: 1px solid #d8e2e9;
  padding: 1.05rem 1.5rem;
}

#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table th {
  background: var(--bestone-navy) !important;
  color: #fff !important;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-align: center;
  width: 28%;
}

#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table th strong {
  color: inherit;
}

#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table td {
  background: #fff;
  color: #294b63;
  font-size: 1.22rem;
  line-height: 1.9;
}

#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table tr:last-child > * {
  border-bottom: 0;
}

#body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > iframe {
  display: none;
}

/* Privacy policy: give the long-form policy a clear, consistent document hierarchy. */
#body_wrap.id_98 #content.l-content {
  max-width: 1080px;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner {
  max-width: 960px;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > h2 {
  margin-bottom: 2rem;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p.has-border {
  background: #fff;
  border: 1px solid #cbd9e3;
  border-left: 6px solid var(--bestone-navy);
  box-shadow: 8px 8px 0 rgba(0, 51, 102, .1);
  color: #294b63;
  font-size: 1.04rem;
  line-height: 2;
  margin: 0 0 3.25rem;
  padding: 1.45rem 1.6rem;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p:has(> strong) {
  background: var(--bestone-navy);
  box-shadow: 7px 7px 0 rgba(0, 51, 102, .13);
  color: #fff;
  font-size: 1.04rem;
  letter-spacing: .035em;
  margin: 2.75rem 0 0 !important;
  padding: .95rem 1.35rem;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p:has(> strong) strong {
  color: inherit;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p:has(> strong) + p {
  background: #fff;
  border: 1px solid #d5e0e7;
  border-top: 0;
  box-shadow: 7px 7px 0 rgba(0, 51, 102, .08);
  color: #365268;
  font-size: 1rem;
  line-height: 2;
  margin: 0 !important;
  padding: 1.2rem 1.35rem;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list {
  background: #f7fafc;
  border: 1px solid #d5e0e7;
  border-top: 0;
  box-shadow: 7px 7px 0 rgba(0, 51, 102, .08);
  color: #365268;
  line-height: 1.9;
  margin: 0 0 1rem;
  padding: .85rem 1.35rem 1.1rem 3rem;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list li::marker {
  color: #d89043;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(-n + 5) {
  background: #fff;
  border-left: 1px solid #d5e0e7;
  border-right: 1px solid #d5e0e7;
  box-shadow: none;
  color: #365268;
  font-size: 1rem;
  line-height: 1.9;
  margin: 0 !important;
  padding: .42rem 1.35rem;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(5) {
  border-top: 5px solid var(--bestone-navy);
  padding-top: 1.2rem;
}

#body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p:last-of-type {
  border-bottom: 1px solid #d5e0e7;
  box-shadow: 8px 8px 0 rgba(0, 51, 102, .1);
  padding-bottom: 1.2rem;
}

/* Solicitation policy: turn the original bullet list into a scannable policy document. */
#body_wrap.id_102 #content.l-content {
  max-width: 1080px;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner {
  max-width: 960px;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h2 {
  margin-bottom: 2rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p.has-border {
  background: #fff;
  border: 1px solid #cbd9e3;
  border-left: 6px solid var(--bestone-navy);
  box-shadow: 8px 8px 0 rgba(0, 51, 102, .1);
  color: #294b63;
  font-size: 1.04rem;
  line-height: 2;
  margin: 0 0 2.8rem;
  padding: 1.35rem 1.6rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h3 {
  background: var(--bestone-navy);
  box-shadow: 7px 7px 0 rgba(0, 51, 102, .13);
  color: #fff;
  font-size: 1.04rem;
  letter-spacing: .035em;
  margin: 2.75rem 0 1rem;
  padding: .95rem 1.35rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h3::before {
  display: none;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list {
  background: #fff;
  border: 1px solid #d5e0e7;
  border-left: 5px solid #d89043;
  box-shadow: 7px 7px 0 rgba(0, 51, 102, .08);
  color: #365268;
  font-size: 1rem;
  line-height: 1.95;
  margin: 1rem 0;
  padding: 1rem 1.35rem 1rem 3rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list li::marker {
  color: #d89043;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p.has-text-align-center {
  color: #d89043;
  font-size: 1.3rem;
  letter-spacing: .35em;
  margin: 3rem 0 2rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(n + 2):nth-last-of-type(-n + 6) {
  background: #fff;
  border-left: 1px solid #d5e0e7;
  border-right: 1px solid #d5e0e7;
  box-shadow: none;
  color: #365268;
  font-size: 1rem;
  line-height: 1.9;
  margin: 0 !important;
  padding: .42rem 1.35rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(6):nth-last-of-type(n + 2) {
  border-top: 5px solid var(--bestone-navy);
  padding-top: 1.2rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(2) {
  border-bottom: 1px solid #d5e0e7;
  box-shadow: 8px 8px 0 rgba(0, 51, 102, .1);
  padding-bottom: 1.2rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:empty {
  display: none;
}

/* Refine solicitation policy into connected information panels rather than isolated cards. */
#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h3 {
  align-items: center;
  background: linear-gradient(105deg, #003366 0%, #064f7c 100%);
  border: 0;
  box-shadow: 8px 8px 0 rgba(0, 51, 102, .14);
  color: #fff;
  display: flex;
  font-size: 1.36rem;
  gap: .85rem;
  letter-spacing: .055em;
  margin: 3.25rem 0 0;
  min-height: 76px;
  overflow: hidden;
  padding: 1.2rem 1.5rem;
  position: relative;
  width: 100%;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list {
  background: #fff;
  border: 0;
  border-left: 1px solid #d5e0e7;
  border-right: 1px solid #d5e0e7;
  box-shadow: none;
  color: #365268;
  font-size: 1rem;
  line-height: 1.95;
  margin: 0;
  padding: 1rem 1.45rem 1rem 3rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h3 + ul.wp-block-list {
  border-top: 0;
  padding-top: 1rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list + ul.wp-block-list {
  border-top: 1px solid #d5e0e7;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list li::marker {
  color: var(--bestone-navy);
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list:has(+ h3),
#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list:has(+ p.has-border),
#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list:has(+ p.has-text-align-center) {
  border-bottom: 1px solid #d5e0e7;
  box-shadow: 8px 8px 0 rgba(0, 51, 102, .1);
  margin-bottom: 3.25rem;
  padding-bottom: 1.2rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p.has-border {
  border-left-width: 6px;
  box-shadow: 8px 8px 0 rgba(0, 51, 102, .1);
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h3::before {
  background: #e3a053;
  content: "";
  display: block;
  flex: 0 0 .6rem;
  height: .55rem;
  margin: 0;
  position: static;
  width: .6rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h3::after {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 10px);
  bottom: 0;
  content: "";
  height: 100%;
  left: auto;
  position: absolute;
  right: 0;
  width: 15%;
}

/* The solicitation-policy contact point is a primary callout, not a footnote. */
#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(n + 2):nth-last-of-type(-n + 6) {
  background: linear-gradient(125deg, #003366 0%, #064b76 100%);
  border: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 1rem;
  line-height: 1.9;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(6) {
  border-top: 6px solid #e3a053;
  color: rgba(255, 255, 255, .82);
  padding-top: 1.3rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(5):nth-last-of-type(n + 2) {
  color: #fff;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: .055em;
  padding-top: 1.25rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(2) {
  border-bottom: 0;
  box-shadow: 12px 12px 0 rgba(0, 51, 102, .16);
  color: #fff;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .045em;
  padding-bottom: 1.35rem;
}

/* Build the contact information into distinct, intentional card layers. */
#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(6) {
  background: linear-gradient(125deg, #003366 0%, #064b76 100%);
  border-left: 1px solid #0d5d89;
  border-right: 1px solid #0d5d89;
  border-top: 6px solid #e3a053;
  color: rgba(255, 255, 255, .8);
  font-size: .92rem;
  line-height: 1.8;
  padding: 1.1rem 1.35rem .65rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(5) {
  background: linear-gradient(125deg, #003366 0%, #064b76 100%);
  border-left: 1px solid #0d5d89;
  border-right: 1px solid #0d5d89;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: .06em;
  padding: .7rem 1.35rem 1.15rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(4):nth-last-of-type(n + 2),
#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(3):nth-last-of-type(n + 2) {
  background: linear-gradient(125deg, #07547f 0%, #0b628f 100%);
  border-left: 1px solid #0d5d89;
  border-right: 1px solid #0d5d89;
  color: rgba(255, 255, 255, .94);
  padding: .7rem 1.35rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(3):nth-last-of-type(n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  padding-bottom: .9rem;
}

#body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(2):nth-last-of-type(n + 2) {
  background: #fff;
  border: 1px solid #0d5d89;
  border-top: 0;
  box-shadow: 12px 12px 0 rgba(0, 51, 102, .16);
  color: var(--bestone-navy);
  font-size: 1.18rem;
  letter-spacing: .035em;
  padding: 1rem 1.35rem 1.1rem;
}

/* Company info: make the footer location block a single, composed navy section. */
#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img {
  background: url(/wp-content/uploads/2025/06/office_bg.png) center / cover no-repeat !important;
  padding: 5.5rem 0 5.75rem !important;
  position: relative;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img::before {
  display: none;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img > .swell-block-fullWide__inner {
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .bebas-neue-regular {
  color: var(--bestone-navy) !important;
  font-family: "Bebas Neue", "Noto Sans JP", sans-serif !important;
  font-size: clamp(1.8rem, 2.9vw, 2.7rem) !important;
  font-weight: 400 !important;
  letter-spacing: .13em !important;
  margin-bottom: 2.5rem !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .bebas-neue-regular .swl-inline-color,
#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .bebas-neue-regular strong,
#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .bebas-neue-regular .swl-fz {
  color: var(--bestone-navy) !important;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .is-style-clmn-shadow > .swell-block-columns__inner {
  align-items: stretch;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .is-style-clmn-shadow > .swell-block-columns__inner > .swell-block-column {
  background: rgba(255, 255, 255, .96);
  border: 1px solid #cbd9e3;
  border-top: 5px solid var(--bestone-navy);
  box-shadow: 10px 10px 0 rgba(0, 51, 102, .14);
  margin: 0 !important;
  max-width: none !important;
  min-width: 0;
  padding: 2rem 2.25rem;
  width: 100% !important;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .is-style-clmn-shadow > .swell-block-columns__inner > .swell-block-column:first-child {
  display: flex;
  flex-direction: column;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .is-style-clmn-shadow > .swell-block-columns__inner > .swell-block-column:first-child > figure:first-child {
  border-bottom: 1px solid #d6e1e8;
  margin: 0 0 1.15rem;
  padding-bottom: 1.15rem;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .is-style-clmn-shadow > .swell-block-columns__inner > .swell-block-column:first-child > figure:first-child img {
  max-width: 300px;
  width: 100% !important;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table {
  margin: 0;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table table {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table td {
  border-color: #d6e1e8;
  color: #294b63;
  font-size: .95rem;
  padding: .8rem 0;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table tbody tr:first-child td {
  border-top: 0;
}

@media (min-width: 600px) {
  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table table,
  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table tbody {
    display: block;
    width: 100%;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table tbody {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: center;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table tr {
    display: contents;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table tr:nth-child(1) td,
  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table tr:nth-child(2) td {
    border-bottom: 0;
    border-top: 0;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table tr:nth-child(1) td {
    grid-column: 1;
    padding-right: 1rem;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table tr:nth-child(2) td {
    grid-column: 2;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .wp-block-table tr:nth-child(3) td {
    grid-column: 1 / -1;
    text-align: center;
  }
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .is-style-clmn-shadow > .swell-block-columns__inner > .swell-block-column:first-child > p {
  display: none;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .swell-block-button {
  margin: auto 0 0;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .swell-block-button__link {
  background: var(--bestone-navy) !important;
  border-radius: 0 !important;
  box-shadow: 5px 5px 0 #cbd9e3;
  color: #fff !important;
  display: inline-flex;
  justify-content: center;
  min-width: 210px;
  padding: .9rem 1.5rem;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .is-style-clmn-shadow > .swell-block-columns__inner > .swell-block-column:last-child {
  padding: .65rem;
}

#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .container,
#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img iframe {
  display: block;
  height: 100%;
  min-height: 330px;
  width: 100% !important;
}

.home .wpcf7 .inquiry th,
.home .wpcf7 .inquiry td {
  border-bottom-color: #cbd9e3;
  padding: 1.15rem 1.5rem;
}

.home .wpcf7 .inquiry th {
  background: var(--bestone-navy);
  border-right: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  width: 29%;
}

.home .wpcf7 .inquiry th p {
  color: inherit;
}

.home .wpcf7 .inquiry .haveto,
.home .wpcf7 .inquiry .any {
  border: 1px solid currentcolor;
  border-radius: 0;
  display: inline-block;
  line-height: 1;
  padding: .35em .55em;
}

.home .wpcf7 .inquiry .haveto {
  background: #fff;
  color: var(--bestone-navy);
}

.home .wpcf7 .inquiry .any {
  background: transparent;
  color: #fff;
}

.home .wpcf7 input:not([type="checkbox"]),
.home .wpcf7 textarea {
  background: #fbfdff;
  border-color: #b9ccd9;
  border-radius: 0;
  box-shadow: none;
}

.home .wpcf7 input:not([type="checkbox"]):focus,
.home .wpcf7 textarea:focus {
  border-color: var(--bestone-navy);
  box-shadow: inset 4px 0 0 var(--bestone-navy);
}

.home .wpcf7 .wpcf7-submit {
  background: var(--bestone-navy) !important;
  border-radius: 0 !important;
  box-shadow: 5px 5px 0 #9db8cb !important;
  min-width: min(100% - 3rem, 360px);
  padding: 1.05em 2.5em;
}

.home .wpcf7 .wpcf7-submit:hover {
  box-shadow: 2px 2px 0 #9db8cb !important;
  transform: translate(3px, 3px);
}

/* Shared lower area */
#before_footer_widget {
  background: linear-gradient(135deg, #eef5f8, #f8fafc);
  border-top: 1px solid var(--bestone-line);
  margin-top: 6rem;
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

#before_footer_widget .swell-block-column > .wp-block-group {
  border-color: rgba(0, 51, 102, .12) !important;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 38, 77, .06);
}

.l-footer {
  background: linear-gradient(125deg, #00264d, #003b70) !important;
}

.l-footer__foot {
  padding: 1.6rem 0;
}

.l-footer .copyright {
  letter-spacing: .05em;
  opacity: .86;
}

.p-fixBtnWrap .c-fixBtn {
  background: var(--bestone-navy);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 38, 77, .24);
}

@media (min-width: 960px) {
  .l-header.-parallel.-parallel-bottom .l-header__inner {
    align-items: center;
    display: grid !important;
    grid-template-areas:
      ". logo ."
      "nav nav nav";
    grid-template-columns: 1fr auto 1fr;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1240px !important;
    padding: 18px 32px 0 !important;
    position: static !important;
    width: 100% !important;
  }

  .l-header.-parallel.-parallel-bottom .l-header__logo {
    grid-area: logo;
    padding: 0 !important;
    text-align: center;
    width: auto !important;
  }

  .l-header.-parallel.-parallel-bottom .w-header {
    align-items: center;
    justify-content: flex-end;
    margin: 0 !important;
    position: absolute !important;
    right: clamp(20px, 2vw, 48px);
    top: 20px;
    width: auto !important;
  }

  .l-header.-parallel.-parallel-bottom .w-header,
  .l-header.-parallel.-parallel-bottom .w-header__inner,
  .l-header.-parallel.-parallel-bottom .w-header .wp-block-columns {
    flex: 0 0 auto !important;
    width: fit-content !important;
  }

  .l-header.-parallel.-parallel-bottom .l-header__gnav {
    grid-area: nav;
    margin-top: 16px;
    width: 100% !important;
  }

  .l-header.-parallel.-parallel-bottom .w-header img[src*="head_maill"] {
    height: 48px !important;
    max-width: none !important;
    width: 48px !important;
  }

  .-parallel-bottom .l-header__inner {
    align-items: center;
    display: grid !important;
    grid-template-areas:
      ". logo ."
      "nav nav nav";
    grid-template-columns: 1fr auto 1fr;
    max-width: 1240px;
    padding: 18px 32px 0;
    position: relative;
  }

  .-parallel-bottom .l-header__logo {
    grid-area: logo;
    padding: 0;
    text-align: left;
    width: auto;
  }

  .-parallel-bottom .l-header__logo .c-headLogo__img {
    height: 52px;
  }

  .-parallel-bottom .w-header {
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    position: absolute;
    right: 32px;
    top: 20px;
    width: auto;
  }

  .-parallel-bottom .w-header .wp-block-columns {
    align-items: center;
    column-gap: 12px;
    display: grid !important;
    grid-template-columns: 246px 48px;
    margin-bottom: 0;
  }

  .-parallel-bottom .w-header .wp-block-column {
    min-width: 0;
    width: auto !important;
  }

  .-parallel-bottom .w-header .wp-block-column:first-child,
  .-parallel-bottom .w-header .wp-block-column:last-child {
    flex-basis: auto !important;
  }

  .-parallel-bottom .w-header img[src*="head_tel"] {
    height: auto !important;
    width: 246px !important;
  }

  .-parallel-bottom .w-header img[src*="head_maill"] {
    display: block;
    height: 48px !important;
    max-width: none !important;
    object-fit: contain;
    width: 48px !important;
  }

  .-parallel-bottom .w-header .wp-block-column:last-child,
  .-parallel-bottom .w-header .wp-block-column:last-child .wp-block-image,
  .-parallel-bottom .w-header .wp-block-column:last-child figure,
  .-parallel-bottom .w-header .wp-block-column:last-child a {
    aspect-ratio: 1;
    display: block;
    height: 48px;
    overflow: visible;
    width: 48px;
  }

  .-parallel-bottom .l-header__gnav {
    grid-area: nav;
    border-top: 1px solid rgba(0, 51, 102, .10);
    margin-top: 16px;
    width: 100%;
  }

  .-parallel-bottom .l-header__gnav .c-gnav {
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1020px;
    width: 100%;
  }

  .-parallel-bottom .l-header__gnav .c-gnav > li {
    flex: 1 1 0;
  }

  .-parallel-bottom .l-header__gnav .c-gnav > li > a {
    min-height: 68px;
    padding: 11px 8px;
  }

  .l-fixHeader__inner {
    max-width: 1280px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 959px) {
  :root {
    --swl-pad_container: 20px;
  }

  body {
    line-height: 1.75;
  }

  .l-header {
    position: sticky;
    top: 0;
  }

  .l-header__inner {
    min-height: 64px;
  }

  .l-header__logo {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 64px;
  }

  .l-header__logo .c-headLogo__img {
    height: auto;
    max-height: 38px;
    max-width: 220px;
  }

  .l-header__menuBtn,
  .l-header__customBtn {
    color: var(--bestone-navy);
    height: 64px;
    width: 64px;
  }

  .l-header__menuBtn {
    border-right: 1px solid rgba(0, 51, 102, .10);
  }

  .l-header__customBtn {
    border-left: 1px solid rgba(0, 51, 102, .10);
  }

  .c-iconBtn__label {
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
  }

  .p-spMenu__inner::before {
    background: #f8fbfd !important;
  }

  .p-spMenu .c-widget__title.-spmenu {
    background: var(--bestone-navy);
    border-radius: 8px;
  }

  .l-topTitleArea {
    min-height: 165px;
  }

  .l-topTitleArea__body {
    text-align: center !important;
  }

  .c-pageTitle {
    font-size: 1.7rem !important;
    padding: 0 0 0 .9rem;
    text-align: left;
  }

  .c-pageTitle::before {
    height: 2.25em;
  }

  .p-breadcrumb__list {
    font-size: 11px;
    overflow: hidden;
    padding-bottom: 10px;
    padding-top: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #content.l-content {
    margin-bottom: 4.5rem;
    padding-top: 2.75rem;
  }

  .post_content p {
    line-height: 1.9;
  }

  .post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    font-size: 1.42rem;
    margin-bottom: 1.5rem;
  }

  .post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    font-size: 1.12rem;
    margin-top: 2.35rem;
  }

  .home #content.l-content {
    padding-top: 1.5rem;
  }

  .home #metaslider-id-168 {
    border-radius: 12px;
    margin-bottom: 3.2rem;
  }

  .home #main_content .bebas-neue-regular {
    font-size: 2.35rem !important;
    line-height: .95;
    letter-spacing: .12em !important;
    margin-bottom: 1.25rem !important;
  }

  .home #main_content .bebas-neue-regular .swl-fz-l {
    font-size: 1em !important;
  }

  .home #main_content > .l-mainContent__inner > .post_content > .wp-block-media-text.sp_only {
    background: #fff;
    border: 1px solid rgba(0, 51, 102, .09);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 38, 77, .06);
    margin-top: 1.6rem;
    overflow: hidden;
    padding: 8px;
  }

  .home #main_content > .l-mainContent__inner > .post_content > .wp-block-media-text.sp_only .wp-block-media-text__media,
  .home #main_content > .l-mainContent__inner > .post_content > .wp-block-media-text.sp_only .wp-block-media-text__media img {
    border-radius: 9px;
  }

  .home #main_content > .l-mainContent__inner > .post_content > .wp-block-media-text.sp_only .wp-block-media-text__content {
    padding: 1rem .8rem;
  }

  .home #main_content > .l-mainContent__inner > .post_content > .wp-block-media-text.sp_only + p.sp_only {
    background: #fff;
    border: 1px solid rgba(0, 51, 102, .09);
    border-radius: 0 0 14px 14px;
    border-top: 0;
    box-shadow: 0 8px 20px rgba(0, 38, 77, .06);
    margin: -1.6rem 0 0;
    padding: 1rem 1rem 1.15rem;
  }

  .home #main_content > .l-mainContent__inner > .post_content > span.sp_only > .wp-block-separator {
    margin: 1.2rem 0 0;
  }

  .wpcf7 {
    border-radius: 14px;
    padding: 1.1rem;
  }

  .inquiry,
  .inquiry tbody,
  .inquiry tr,
  .inquiry th,
  .inquiry td {
    display: block;
    width: 100%;
  }

  .inquiry tr {
    border-bottom: 1px solid var(--bestone-line);
    padding: 1rem 0;
  }

  .inquiry tr:last-child {
    border-bottom: 0;
  }

  .inquiry th,
  .inquiry td {
    border: 0;
    padding: 0;
  }

  .inquiry th {
    background: transparent;
    margin-bottom: .65rem;
  }

  .inquiry tr:first-child th {
    border-radius: 0;
  }

  .inquiry td p {
    line-height: 1.65;
  }

  #before_footer_widget {
    margin-top: 4rem;
    padding-top: 3rem;
  }
}

@media (min-width: 960px) and (max-width: 1100px) {
  .l-header.-parallel.-parallel-bottom .l-header__logo .c-headLogo__img {
    height: 40px;
  }

  .l-header.-parallel.-parallel-bottom .w-header .wp-block-columns {
    grid-template-columns: 200px 42px;
  }

  .l-header.-parallel.-parallel-bottom .w-header img[src*="head_tel"] {
    width: 200px !important;
  }

  .l-header.-parallel.-parallel-bottom .w-header img[src*="head_maill"],
  .l-header.-parallel.-parallel-bottom .w-header .wp-block-column:last-child,
  .l-header.-parallel.-parallel-bottom .w-header .wp-block-column:last-child .wp-block-image,
  .l-header.-parallel.-parallel-bottom .w-header .wp-block-column:last-child figure,
  .l-header.-parallel.-parallel-bottom .w-header .wp-block-column:last-child a {
    height: 42px !important;
    width: 42px !important;
  }
}

@media (max-width: 959px) {
  .home .wpcf7 {
    box-shadow: 7px 7px 0 rgba(0, 51, 102, .12);
    padding-bottom: 1.5rem;
  }

  .home .wpcf7::before {
    padding: 1.25rem 1rem .9rem;
  }

  .home .wpcf7 .inquiry tr {
    padding: 0;
  }

  .home .wpcf7 .inquiry th,
  .home .wpcf7 .inquiry td {
    display: block;
    width: 100% !important;
  }

  .home .wpcf7 .inquiry th {
    background: var(--bestone-navy);
    border-bottom: 0;
    margin: 0;
    padding: .8rem 1rem;
  }

  .home .wpcf7 .inquiry td {
    padding: 1rem;
  }

  #before_footer_widget {
    padding: 3.25rem 0;
  }

  #before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner {
    gap: 1.5rem;
    display: block;
  }

  #before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child figure {
    min-height: 64px;
    padding: .65rem .75rem;
  }

  #before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child figure img {
    max-height: 35px;
  }

  #before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:nth-child(2) > .wp-block-group > .wp-block-group__inner-container {
    padding: 1.4rem 1.2rem;
  }

  #before_footer_widget .p-blogParts > .swell-block-columns:nth-of-type(2) {
    margin: 2rem 0;
  }

  #before_footer_widget .p-blogParts > .swell-block-columns:nth-of-type(2) > .swell-block-columns__inner {
    gap: 1.25rem;
    grid-template-columns: 1fr;
  }

  #body_wrap.id_71 .post_content > h2 {
    margin-top: 4rem;
  }

  #body_wrap.id_71 .post_content > p:has(> strong) {
    box-shadow: 4px 4px 0 rgba(0, 51, 102, .12);
    font-size: .95rem;
    min-height: 52px;
    padding: .8rem 1rem;
  }

  #body_wrap.id_71 .post_content > p:has(> strong) + p {
    box-shadow: 4px 4px 0 rgba(0, 51, 102, .08);
    padding: .9rem 1rem 1rem;
  }

  #body_wrap.id_71 .post_content > h3:nth-of-type(n + 2) {
    min-height: 52px;
    padding: .75rem 1rem !important;
  }

  #body_wrap.id_74 #main_content > .l-mainContent__inner > .post_content {
    display: block;
  }

  #body_wrap.id_74 .post_content > h2 {
    margin-bottom: 1.5rem;
  }

  #body_wrap.id_74 .post_content > h3 {
    margin-bottom: 1.15rem;
  }

  #body_wrap.id_74 .post_content > p:has(> strong) {
    box-shadow: 4px 4px 0 rgba(0, 51, 102, .12);
    font-size: .92rem;
    margin-top: 1rem !important;
    padding: .8rem 1rem;
  }

  #body_wrap.id_74 .post_content > p:has(> strong) + p {
    border-left: 1px solid #cbd9e3;
    border-top: 0;
    box-shadow: 4px 4px 0 rgba(0, 51, 102, .08);
    padding: .9rem 1rem 1rem;
  }

  #body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > h2 + figure {
    box-shadow: 6px 6px 0 rgba(0, 51, 102, .12);
    margin-bottom: 3rem;
    padding: .45rem;
  }

  #body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > h3 {
    font-size: 1.08rem;
    gap: .6rem;
    letter-spacing: .025em;
    margin-left: -1.25rem;
    margin-bottom: 1.35rem;
    min-height: 58px;
    padding: .9rem 1rem;
    width: calc(100% + 1.25rem);
  }

  #body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > h3::before {
    flex-basis: .45rem;
    height: .45rem !important;
    width: .45rem !important;
  }

  #body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns:nth-of-type(1) > .swell-block-columns__inner {
    grid-template-columns: 1fr;
  }

  #body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns:nth-of-type(2) > .swell-block-columns__inner {
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns {
    margin-bottom: 3rem;
  }

  #body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column {
    box-shadow: 5px 5px 0 rgba(0, 51, 102, .11);
  }

  #body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column > p:nth-of-type(1) {
    font-size: .88rem;
    padding: .75rem .5rem;
  }

  #body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column > p:nth-of-type(2) {
    font-size: .64rem;
    padding: .65rem .5rem .05rem;
  }

  #body_wrap.id_77 #main_content > .l-mainContent__inner > .post_content > .swell-block-columns .swell-block-column > p:nth-of-type(3) {
    font-size: .76rem;
    padding: .55rem .65rem .85rem;
  }

  #body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > h2 {
    margin-bottom: 1.35rem;
  }

  #body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table {
    box-shadow: 6px 6px 0 rgba(0, 51, 102, .12);
  }

  #body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table th,
  #body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table td {
    padding: .8rem .85rem;
  }

  #body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table th {
    font-size: .9rem;
    letter-spacing: .04em;
    width: 31%;
  }

  #body_wrap:is(.id_80, .id_94) #main_content > .l-mainContent__inner > .post_content > .wp-block-table td {
    font-size: 1rem;
    line-height: 1.75;
  }

  #body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > h2 {
    margin-bottom: 1.35rem;
  }

  #body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p.has-border {
    box-shadow: 5px 5px 0 rgba(0, 51, 102, .1);
    font-size: .92rem;
    line-height: 1.85;
    margin-bottom: 2.5rem;
    padding: 1.05rem 1.1rem;
  }

  #body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p:has(> strong) {
    box-shadow: 5px 5px 0 rgba(0, 51, 102, .13);
    font-size: .95rem;
    margin-top: 2.25rem !important;
    padding: .8rem 1rem;
  }

  #body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p:has(> strong) + p,
  #body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(-n + 5) {
    font-size: .9rem;
    line-height: 1.8;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #body_wrap.id_98 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list {
    font-size: .9rem;
    padding-left: 2.45rem;
    padding-right: 1rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h2 {
    margin-bottom: 1.35rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p.has-border {
    box-shadow: 5px 5px 0 rgba(0, 51, 102, .1);
    font-size: .92rem;
    line-height: 1.85;
    margin-bottom: 2.25rem;
    padding: 1.05rem 1.1rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h3 {
    box-shadow: 5px 5px 0 rgba(0, 51, 102, .14);
    font-size: 1.12rem;
    gap: .65rem;
    margin-top: 2.75rem;
    min-height: 64px;
    padding: 1rem 1.1rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h3::before {
    flex-basis: .5rem;
    height: .5rem;
    margin: 0;
    width: .5rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > h3::after {
    width: 22%;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(n + 2):nth-last-of-type(-n + 6) {
    font-size: .9rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(5) {
    font-size: 1rem;
    padding-top: 1.05rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(6):nth-last-of-type(n + 2) {
    font-size: .83rem;
    padding: .95rem 1rem .6rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(5):nth-last-of-type(n + 2) {
    font-size: 1.05rem;
    padding: .6rem 1rem .95rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(4):nth-last-of-type(n + 2),
  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(3):nth-last-of-type(n + 2) {
    padding: .6rem 1rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(2):nth-last-of-type(n + 2) {
    box-shadow: 7px 7px 0 rgba(0, 51, 102, .16);
    font-size: 1rem;
    padding: .85rem 1rem .95rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list,
  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > p:nth-last-of-type(n + 2):nth-last-of-type(-n + 6) {
    font-size: .9rem;
    line-height: 1.8;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list {
    padding: .85rem 1rem .85rem 2.45rem;
  }

  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list:has(+ h3),
  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list:has(+ p.has-border),
  #body_wrap.id_102 #main_content > .l-mainContent__inner > .post_content > ul.wp-block-list:has(+ p.has-text-align-center) {
    box-shadow: 5px 5px 0 rgba(0, 51, 102, .1);
    margin-bottom: 2.75rem;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img {
    padding: 3.5rem 0 3.75rem !important;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .bebas-neue-regular {
    font-size: 1.65rem !important;
    margin-bottom: 1.7rem !important;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .is-style-clmn-shadow > .swell-block-columns__inner {
    display: block;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .is-style-clmn-shadow > .swell-block-columns__inner > .swell-block-column {
    box-shadow: 6px 6px 0 rgba(0, 18, 42, .28);
    padding: 1.35rem;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .is-style-clmn-shadow > .swell-block-columns__inner > .swell-block-column + .swell-block-column {
    margin-top: 1.25rem !important;
  }

  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img .container,
  #before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img iframe {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================================
   Session 2 brush-up
   ============================================================ */

/* 提携会社カードの見出し（旧: オレンジの画像 company_tit.png をテキスト化） */
#before_footer_widget .bo-partner-title {
  border-bottom: 1px solid #d6e1e8 !important;
  color: var(--bestone-navy) !important;
  font-size: 1.05rem !important;
  font-weight: 700;
  letter-spacing: .45em;
  line-height: 1.4;
  margin: 0 0 1rem !important;
  padding: 0 0 1rem !important;
  text-align: center;
  text-indent: .45em;
}

#before_footer_widget .bo-partner-title__en {
  color: #617587;
  display: block;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  margin-top: .4rem;
  text-indent: .18em;
  text-transform: uppercase;
}

/* フォーム同意チェック（旧: 赤字太字インラインスタイル） */
.bo-acceptance {
  color: #44576a;
  font-size: 14px;
  margin: 0 auto 2em;
}

.bo-acceptance a {
  color: var(--bestone-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.bo-acceptance label {
  cursor: pointer;
}

.bo-acceptance input[type="checkbox"] {
  accent-color: var(--bestone-navy);
  height: 1.05em;
  margin-right: .45em;
  vertical-align: -.12em;
  width: 1.05em;
}

.bo-acceptance .wpcf7-not-valid-tip {
  display: block;
  margin-top: .5em;
}

/* COMPANY INFO: 背景写真の上端をページ背景に馴染ませるフェード */
#before_footer_widget .p-blogParts > .swell-block-fullWide.has-bg-img::after {
  background: linear-gradient(180deg, #edf3f8 0%, rgba(237, 243, 248, 0) 100%);
  content: "";
  height: 140px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

/* パートナーロゴ 2x2 と提携会社カードの高さを揃える */
#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child {
  display: flex;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child > .swell-block-columns {
  flex: 1;
  margin: 0;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child > .swell-block-columns > .swell-block-columns__inner {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 100%;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child > .swell-block-columns > .swell-block-columns__inner > .swell-block-column {
  display: flex;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child figure {
  flex: 1;
  min-height: 96px;
}

#before_footer_widget .p-blogParts > .swell-block-columns:first-of-type > .swell-block-columns__inner > .swell-block-column:first-child figure img {
  max-height: 52px;
}

/* フッター拡充（会社情報 + ナビ + お問い合わせ） */
.bo-footer {
  padding: 3.2rem 0 2.4rem;
}

.bo-footer__grid {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.bo-footer__name {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 .85rem;
}

.bo-footer__addr,
.bo-footer__tel {
  color: rgba(255, 255, 255, .78);
  font-size: .88rem;
  line-height: 1.9;
  margin: 0;
}

.bo-footer__nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 0;
  justify-content: flex-end;
  padding-top: .3rem;
}

.bo-footer__nav a {
  border-left: 1px solid rgba(255, 255, 255, .28);
  padding: 0 .95rem;
  white-space: nowrap;
}

.bo-footer__nav a:first-child {
  border-left: 0;
  padding-left: 0;
}

.bo-footer__nav a:last-child {
  padding-right: 0;
}

.bo-footer__nav a {
  color: rgba(255, 255, 255, .85);
  font-size: .88rem;
}

.bo-footer__nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.l-footer .l-footer__foot {
  border-top: 1px solid rgba(255, 255, 255, .16);
}

@media (max-width: 959px) {
  .bo-footer {
    padding: 2.4rem 0 1.8rem;
  }

  .bo-footer__grid {
    gap: 1.7rem;
    grid-template-columns: 1fr;
  }

  .bo-footer__nav {
    justify-content: flex-start;
  }
}

/* ヒーロー（メインビジュアル）: 神戸名所6カットのループ動画 + HTMLテキストオーバーレイ */
body {
  overflow-x: clip;
}

.bo-hero {
  height: clamp(340px, 36vw, 480px);
  margin: 0 0 0 calc(50% - 50vw);
  overflow: hidden;
  position: relative;
  width: 100vw;
}

.bo-hero__video {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.bo-hero__scrim {
  background:
    linear-gradient(90deg, rgba(0, 22, 45, .78) 0%, rgba(0, 22, 45, .48) 40%, rgba(0, 22, 45, .12) 68%, rgba(0, 22, 45, 0) 100%),
    linear-gradient(0deg, rgba(0, 22, 45, .38) 0%, rgba(0, 22, 45, 0) 45%);
  inset: 0;
  position: absolute;
}

.bo-hero__body {
  left: 50%;
  max-width: 1200px;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 1;
}

.bo-hero__eyebrow {
  align-items: center;
  color: rgba(255, 255, 255, .85);
  display: flex;
  font-family: "Bebas Neue", "Montserrat", sans-serif;
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  letter-spacing: .38em;
  margin: 0 0 1.1rem;
}

.bo-hero__eyebrow::after {
  background: rgba(255, 255, 255, .55);
  content: "";
  height: 1px;
  margin-left: 1.1rem;
  width: 58px;
}

.bo-hero__title {
  color: #fff;
  font-size: clamp(1.42rem, 3.1vw, 2.5rem);
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.6;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 22px rgba(0, 22, 45, .5);
}

.bo-hero__sub {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(.85rem, 1.35vw, 1.02rem);
  letter-spacing: .06em;
  line-height: 1.9;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 22, 45, .45);
}





.bo-hero__eyebrow,
.bo-hero__title,
.bo-hero__sub {
  animation: bo-hero-in .9s ease-out backwards;
}

.bo-hero__title {
  animation-delay: .15s;
}

.bo-hero__sub {
  animation-delay: .3s;
}

@keyframes bo-hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 599px) {
  .bo-hero {
    height: 380px;
  }

  .bo-hero__title {
    font-size: 1.38rem;
    letter-spacing: .04em;
  }

  .bo-hero__sub {
    font-size: .82rem;
  }
}

/* PICKUPカード: 矢印ボックスのホバー演出 */
.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column::after {
  transition: background .25s ease, color .25s ease;
}

.home #main_content > .l-mainContent__inner > .post_content > .swell-block-columns.pc_only .swell-block-column:hover::after {
  background: var(--bestone-navy);
  color: #fff;
}
