/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .crest-ttl(--white/--gap*/--mb*)  - 白抜き英字（stroke 1.5px）＋日本語のセクション見出し（heading と併用）
 * .crest-minsa(--flip/--white)    - ミンサー柄ライン（22px）
 * .crest-glow(--left/--right)     - セクション背景のぼかし円（rgba(21,111,198,.15/.13)）
 * .crest-btn--*                   - btn-pill ベースの各ボタン（primary/primary-lg/outline/yellow/white/sm）
 * .crest-cmsform                  - CMSフォーム埋め込み（cdn.rs-sys.jp の mail-form.css を上書き）
 * .crest-script(--top-left/...)   - 枠からはみ出す筆記体（Allura）装飾
 * .crest-box                      - 白地＋1px #1f2f44 枠＋角丸14px のカード
 * .crest-header / .crest-logo     - sticky ヘッダー、テキストロゴ（header / header-logo を上書き）
 * .crest-cta / .crest-bottom      - 写真からはみ出すお問い合わせ箱、水彩背景
 * .crest-hero / .crest-breadcrumb - 下層ヒーロー（page-hero を上書き）
 * .crest-mv / .crest-news / .crest-about / .crest-merit / .crest-top-service - TOP 各セクション
 * .crest-split / .crest-dl / .crest-steps / .crest-merits / .crest-checks   - 下層の共通レイアウト
 * .crest-entries / .crest-side-* / .crest-article / .crest-pagination      - お知らせ一覧・詳細
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * 値の粒度不足  : 余白・文字サイズが clamp() の流体値（例 clamp(64px,8vw,104px)）。utility は固定px＋tablet半減のため一致しない
 *                 gap に 4/6/8/12/14/28px、fz に 15/17px が無い
 * 指定方向不足  : 画面端まで広がる写真（max(gutter,(100vw - 1400px)/2) の負マージン）
 * 状態不足      : nav 現在地の「青文字＋6pxドット」、hover で色のみ変化（共通は下線アニメ／opacity）
 * 構造不足      : 白抜き英字見出し（text-stroke）、ヘッダー内2段（TEL+CTA／ナビ）、SP用ドロップダウン型メニュー
 *                 写真が枠外にはみ出すカード、写真2枚の重ね配置、dl の項目リスト
 * 装飾パターン不足: ミンサー柄ライン、radial-gradient のぼかし円、斜めカットの帯（clip-path）、筆記体装飾
 *
 */

/* ==========================================================================
   Base（デザインの本文設定：17px / 1.8 / 500 / 0.04em を全幅で固定）
   ========================================================================== */
body {
  font-weight: 500;
  font-size: 1.7rem;
}
@media (max-width: 896px) {
  body { font-size: 1.7rem; }
}
@media (max-width: 639px) {
  body { font-size: 1.5rem; }
}
a:hover {
  opacity: 1;
  color: #0e3f73;
}
input,
textarea,
select,
button {
  font-family: inherit;
  font-weight: 500;
}
main {
  overflow-x: clip;
}

/* ==========================================================================
   共通パーツ
   ========================================================================== */

/* ミンサー柄ライン */
.crest-minsa {
  height: 22px;
  background-image: url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28789/pattern_minsa.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: left center;
}
.crest-minsa--flip {
  background-color: #fff;
  transform: rotate(180deg);
}
.crest-minsa--white {
  background-color: #fff;
}

/* セクション見出し（白抜き英字＋日本語） */
.crest-ttl {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.crest-ttl.heading--left {
  align-items: flex-start;
}
.crest-ttl:not(.heading--left) {
  align-items: center;
}
.crest-ttl .heading__en {
  display: block;
  font-family: "Sulphur Point", sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 0.85;
  margin-bottom: -6px;
  color: transparent;
  -webkit-text-stroke: 1.5px #156fc6;
  letter-spacing: 0.06em;
}
.crest-ttl .heading__ja {
  margin-top: 0;
  font-size: clamp(18px, 2vw, 22px);
  color: #156fc6;
  font-weight: 700;
  line-height: 1.4;
}
.crest-ttl--white .heading__en {
  -webkit-text-stroke-color: #fff;
}
.crest-ttl--white .heading__ja {
  color: #fff;
}
.crest-ttl--gap4 { gap: 4px; }
.crest-ttl--gap12 { gap: 12px; }

/* 背景のぼかし円（左・右） */
.crest-glow-host {
  position: relative;
  isolation: isolate;
}
.crest-glow {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: clamp(480px, 56vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
}
.crest-glow--left {
  left: calc(50% - 50vw - 245px);
  top: 12%;
  background: radial-gradient(circle, rgba(21, 111, 198, 0.24), rgba(21, 111, 198, 0) 70%);
}
.crest-glow--right {
  right: calc(50% - 50vw - 270px);
  top: -8%;
  background: radial-gradient(circle, rgba(21, 111, 198, 0.21), rgba(21, 111, 198, 0) 70%);
}

/* 黄色マーカー */
.crest-marker {
  background: linear-gradient(transparent 62%, #ffea34 62%);
  color: #1f2f44;
}
.crest-marker--60 {
  background: linear-gradient(transparent 60%, #ffea34 60%);
  font-weight: 700;
}

/* 段落（本文 17px / 1.8） */
.crest-text {
  font-size: 17px;
  line-height: 1.8;
  text-wrap: pretty;
}

/* POINT 01 ラベル */
.crest-point {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #156fc6;
}
.crest-point__label {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.06em;
}
.crest-point__num {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1;
}

/* 筆記体の装飾テキスト（Training / Area / Welcome） */
.crest-script {
  position: absolute;
  font-family: "Allura", cursive;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  color: #156fc6;
  text-shadow: 0 0 1px #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff;
  white-space: nowrap;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
  letter-spacing: inherit;
}
.crest-script--top-left {
  left: clamp(7px, calc(15px - 1vw), 11px);
  top: clamp(-25px, calc(15px - 3vw), -13px);
  transform-origin: left center;
}
.crest-script--bottom-right {
  right: clamp(31px, calc(15px + 3vw), 55px);
  bottom: clamp(-25px, calc(15px - 3vw), -13px);
  transform-origin: right center;
}

/* 細枠の白カード */
.crest-box {
  background: #fff;
  border: 1px solid #1f2f44;
  border-radius: 14px;
}

/* ボタン（btn-pill をベースに色・サイズを上書き） */
.crest-btn {
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: inherit;
  white-space: nowrap;
  transition: none;
}
.crest-btn:hover {
  opacity: 1;
}
.crest-btn--primary-lg {
  gap: 14px;
  background: #156fc6;
  color: #fff;
  font-size: 18px;
  padding: 20px 40px;
}
.crest-btn--primary-lg:hover {
  color: #fff;
}
.crest-btn__circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #156fc6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.crest-btn--outline {
  background: #fff;
  color: #156fc6;
  font-size: 15px;
  padding: 14px 30px;
  border: 2px solid #156fc6;
}
.crest-btn--outline:hover {
  background: #e8f3ff;
  color: #156fc6;
}
.crest-btn--outline .crest-btn__arrow {
  font-size: 13px;
}
.crest-btn--primary {
  background: #156fc6;
  color: #fff;
  font-size: 15px;
  padding: 14px 32px;
}
.crest-btn--primary:hover {
  background: #0e3f73;
  color: #fff;
}
.crest-btn--yellow {
  gap: 12px;
  background: #ffea34;
  color: #0e3f73;
  font-size: 16px;
  padding: 18px 44px;
}
.crest-btn--yellow:hover {
  color: #0e3f73;
}
.crest-btn--white {
  gap: 12px;
  background: #fff;
  color: #1f2f44;
  font-size: 16px;
  padding: 16px 34px;
  border: 1px solid #1f2f44;
}
.crest-btn--white:hover {
  background: #e8f3ff;
  color: #1f2f44;
}
.crest-btn--sm {
  background: #156fc6;
  color: #fff;
  font-size: 14px;
  padding: 8px 24px;
}
.crest-btn--sm:hover {
  background: #0e3f73;
  color: #fff;
}

/* ==========================================================================
   Header
   ========================================================================== */
.crest-header {
  position: sticky;
  top: 0;
  left: auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.crest-header__inner {
  /* 画面幅の96%（MVと左右端を揃える） */
  width: 96%;
  max-width: none;
  height: auto;
  padding: 18px 0;
  gap: 24px;
}
@media (max-width: 899px) {
  /* デザインはヘッダー内に48pxのメニューボタンがあり行高が48px。ボタンを外出ししたため高さを確保 */
  .crest-header__inner { min-height: 84px; }
}

/* ロゴ（テキストロゴ） */
.crest-logo {
  display: flex;
  line-height: 1;
  color: #156fc6;
}
.crest-logo:hover {
  color: #156fc6;
}
.crest-logo__body {
  gap: 4px;
}
.crest-logo__sub {
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.2em;
  color: #4a5b70;
  font-weight: 700;
  line-height: 1;
}
.crest-logo__name {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #156fc6;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.crest-logo__dot {
  width: 12px;
  height: 12px;
  background: #ffea34;
  border-radius: 50%;
  margin-top: 4px;
  box-shadow: 0 0 0 2px #156fc6;
}

/* PC：右側2段 */
.crest-header__pc {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
@media (max-width: 899px) {
  .crest-header__pc { display: none; }
}
.crest-header__right {
  gap: 24px;
  height: auto;
}
.crest-header .header__tel {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: #156fc6;
}
.crest-header .header__tel::before {
  display: none;
}
.crest-header .header__tel:hover {
  opacity: 1;
  color: #0e3f73;
}
.crest-header .header__cta {
  flex-direction: row;
  gap: 12px;
  height: auto;
  background: #ffea34;
  color: #0e3f73;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  padding: 8px 24px;
  border-radius: 999px;
  white-space: nowrap;
  transition: none;
}
.crest-header .header__cta:hover {
  background: #ffe000;
  color: #0e3f73;
}
.crest-header__cta-arrow {
  font-size: 16px;
}

/* PCナビ：現在地＝青文字＋青ドット、hover＝青文字 */
.crest-header .header__nav {
  gap: clamp(16px, 2.4vw, 36px);
  margin: 0;
}
.crest-header .header__nav-item a {
  gap: 2px;
  padding: 0 0 10px;
  line-height: 1.4;
  color: #1f2f44;
  transition: none;
}
.crest-header .header__nav-item a::after,
.crest-header .header__nav-item a:hover::after {
  width: 6px;
  height: 6px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 50%;
  background: transparent;
  transition: none;
}
.crest-header .header__nav-ja {
  margin-top: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: inherit;
}
.crest-header .header__nav-item a:hover {
  color: #156fc6;
}
.crest-header .header__nav-item--current a {
  color: #156fc6;
}
.crest-header .header__nav-item--current a::after {
  width: 6px;
  background: #156fc6;
}

/* ハンバーガー（青丸・中央線イエロー） */
.nav-toggle {
  top: 40px;
  right: 2%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #156fc6;
  backdrop-filter: none;
}
.nav-toggle__line {
  width: 20px;
  background: #fff;
  border-radius: 2px;
}
.nav-toggle__line:nth-child(1) { top: 16px; }
.nav-toggle__line:nth-child(2) { top: 23px; background: #ffea34; }
.nav-toggle__line:nth-child(3) { top: 30px; }
.nav-toggle.is-active .nav-toggle__line:nth-child(1),
.nav-toggle.is-active .nav-toggle__line:nth-child(3) {
  top: 23px;
}

/* SPメニュー（ヘッダー直下に開く青パネル） */
.sp-nav {
  top: 106px;
  bottom: auto;
  max-height: calc(100vh - 106px);
  background: #156fc6;
  align-items: stretch;
  justify-content: flex-start;
  gap: 4px;
  padding: 16px 20px 28px;
  transition: none;
}
.sp-nav__list {
  max-width: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sp-nav__item,
.sp-nav__item:first-child {
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transform: none;
  opacity: 1;
  transition: none;
}
.sp-nav__link {
  justify-content: flex-start;
  align-items: baseline;
  gap: 12px;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}
.sp-nav__link::after {
  display: none;
}
.sp-nav__link:hover {
  background: none;
  color: #fff;
}
.sp-nav__en {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 700;
  color: #ffea34;
  font-size: 13px;
  width: 72px;
  flex-shrink: 0;
  letter-spacing: inherit;
  opacity: 1;
  margin-right: 0;
  padding-left: 0;
}
.sp-nav__bottom {
  max-width: none;
  margin-top: 16px;
  opacity: 1;
  transform: none;
  transition: none;
}
.crest-sp-cta {
  display: block;
  background: #ffea34;
  color: #0e3f73;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
}
.crest-sp-cta:hover {
  color: #0e3f73;
}

/* ==========================================================================
   お問い合わせセクション〜フッター
   ========================================================================== */
.crest-bottom {
  background-image: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28789/bg_watercolor.jpg");
  background-size: cover;
  background-position: center;
}
.crest-cta {
  position: relative;
}
.crest-cta__photo {
  position: relative;
  height: clamp(280px, 32vw, 460px);
  background: url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28789/photo_buildings_sky.jpg") center / cover no-repeat;
}
.crest-cta__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21, 111, 198, 0.55);
}
.crest-cta__wrap {
  position: relative;
  max-width: 1200px;
  margin: calc(-1 * clamp(110px, 12vw, 180px)) auto 0;
  padding: 0 clamp(20px, 4vw, 40px);
}
.crest-cta__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  background-color: #0e3f73;
  background-image: url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28789/bg_contact_gradient.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: #fff;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 6vw, 80px);
  border-radius: 32px;
}
@media (max-width: 639px) {
  .crest-cta__box { border-radius: 16px; }
  .crest-cta__btn { margin-right: auto; } /* 折り返し時に右寄せにならないよう中央へ */
}
.crest-cta__box:hover {
  background-color: #0b3462;
  color: #fff;
}
.crest-cta__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.crest-cta__en {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 0.9;
  margin-bottom: 4px;
  color: transparent;
  -webkit-text-stroke: 1.2px #fff;
  letter-spacing: 0.06em;
}
.crest-cta__text {
  font-size: 17px;
  color: #fff;
  font-weight: 700;
  line-height: 1.8;
}
.crest-cta__btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffea34;
  color: #0e3f73;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 36px;
  border-radius: 999px;
}

.crest-footer {
  color: #1f2f44;
}
.crest-footer__body {
  padding: 0;
}
.crest-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 40px) 28px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px 48px;
}
.crest-footer__left {
  width: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.crest-logo--footer {
  margin-bottom: 0;
}
.crest-logo--footer .crest-logo__body {
  gap: 0;
}
.crest-logo--footer .crest-logo__sub {
  font-size: 10px;
}
.crest-logo--footer .crest-logo__name {
  font-size: 40px;
}
.crest-logo--footer .crest-logo__dot {
  width: 10px;
  height: 10px;
}
.crest-footer__info {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #1f2f44;
}
.crest-footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px 32px;
  flex: 0 1 520px;
  align-content: start;
}
@media (max-width: 639px) {
  .crest-footer__nav {
    display: none; /* SP はハンバーガーメニューで遷移するためフッターナビは非表示 */
  }
}
.crest-footer__nav .footer-body__nav-item a {
  color: #1f2f44;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: none;
}
.crest-footer__nav .footer-body__nav-item a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #156fc6;
}
.crest-footer__nav .footer-body__nav-item a:hover {
  color: #156fc6;
}
.crest-footer__bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 40px) 28px;
  border-top: 1px solid #cfe3f8;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  text-align: left;
}
.crest-footer__privacy {
  color: #4a5b70;
}
.crest-footer__privacy:hover {
  color: #156fc6;
}
.crest-footer__bottom .footer-bottom__copyright {
  font-family: "Sulphur Point", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #4a5b70;
}

/* ==========================================================================
   TOP：MV
   ========================================================================== */
.crest-mv {
  padding: 0;
}
.crest-mv__inner {
  position: relative;
  /* 画面幅の96% */
  width: 96%;
  margin: 0 auto;
  height: clamp(520px, 72vh, 700px);
  background: #e8f3ff;
  border-radius: 32px;
}
.crest-mv #slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(520px, 72vh, 700px);
  border-radius: 32px;
  overflow: hidden; /* 角丸は写真のみ。Reach Your Crest のはみ出しは維持 */
}
.crest-mv .swiper-slide {
  width: 100%;
  height: 100%;
}
.crest-mv__grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  grid-auto-rows: 1fr;
}
.crest-mv__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  display: block;
}
.crest-mv__img--45 {
  object-position: 45% center;
}
.crest-mv__catch {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: clamp(64px, 8vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  z-index: 2;
}
.crest-mv__copy {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(8px, 1vw, 14px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: #fff;
}
.crest-mv__copy span {
  font-size: clamp(24px, 4vw, 56px);
  background: linear-gradient(90deg, #0e3f73, #156fc6 55%, #2aa3c4);
  padding: 8px clamp(28px, 3.4vw, 52px) 12px;
  clip-path: polygon(24px 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
}
@media (max-width: 639px) {
  /* SP：「自信に／なる。」と途中で折り返すため、画面幅に合わせて縮めて1行に収める */
  .crest-mv__copy span {
    font-size: min(24px, 5.1vw);
    padding: 8px 26px 12px;
    white-space: nowrap;
  }
}
.crest-mv__script {
  position: absolute;
  right: clamp(8px, 3vw, 48px);
  bottom: clamp(-22px, -2vw, -14px);
  font-family: "Allura", cursive;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: inherit;
  color: #156fc6;
  text-shadow: 0 0 1px #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff;
  white-space: nowrap;
  transform: rotate(-6deg);
  transform-origin: right bottom;
  pointer-events: none;
  z-index: 3;
}
.crest-mv__lead {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 2% 0;
  text-align: center;
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.8;
  text-wrap: pretty;
}

/* ==========================================================================
   TOP：NEWS
   ========================================================================== */
.crest-news {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 40px) 0;
}
.crest-news__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px clamp(40px, 6vw, 96px);
  align-items: flex-start;
}
.crest-news__head {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crest-news__list {
  flex: 1 1 420px;
}
.crest-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  margin-top: 8px;
  color: #156fc6;
  transition: none;
}
.crest-more__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #156fc6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* お知らせリスト（blog-list の値をデザインに合わせて上書き） */
.crest-blog-list {
  border-top: none;
  display: flex;
  flex-direction: column;
}
.crest-blog-list .blog-list__item {
  border-bottom: 1px solid #b9d5f2;
}
.crest-blog-list .blog-list__link {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 16px 4px;
  color: #1f2f44;
  transition: none;
}
.crest-blog-list .blog-list__link:hover {
  background: none;
  color: #156fc6;
}
.crest-blog-list .blog-list__link:hover .blog-list__title {
  color: #156fc6;
}
.crest-blog-list .blog-list__date {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
  color: #4a5b70;
}
.crest-blog-list .blog-list__title {
  flex: 1 1 240px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  transition: none;
}
@media (max-width: 639px) {
  /* SP：日付をタイトルの上に置き、タイトルは本文と同じ15pxに */
  .crest-blog-list .blog-list__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .crest-blog-list .blog-list__title {
    flex: none;
    font-size: 15px;
  }
}

/* ==========================================================================
   TOP：ABOUT
   ========================================================================== */
.crest-about {
  position: relative;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 40px) clamp(72px, 9vw, 120px);
  overflow: hidden;
}
@media (max-width: 639px) {
  .crest-about { padding-top: 56px; } /* SP：NEWS一覧の直下に ABOUT が詰まって見えるため */
}
.crest-about__glow {
  position: absolute;
  border-radius: 50%;
}
.crest-about__glow--left {
  width: 700px;
  height: 700px;
  left: -270px;
  top: 120px;
  background: radial-gradient(circle, rgba(21, 111, 198, 0.25), rgba(21, 111, 198, 0) 70%);
}
.crest-about__glow--right {
  width: 800px;
  height: 800px;
  right: -300px;
  top: -60px;
  background: radial-gradient(circle, rgba(21, 111, 198, 0.22), rgba(21, 111, 198, 0) 70%);
}
.crest-about__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.crest-about__stage {
  position: relative;
  width: 100%;
  max-width: 1400px;
  min-height: clamp(600px, 50vw, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.crest-about__photo {
  position: absolute;
  border-radius: 8px;
  display: block;
}
.crest-about__photo--1 {
  left: 0;
  top: 0;
  width: clamp(150px, 12vw, 200px);
  aspect-ratio: 1;
}
.crest-about__photo--2 {
  left: 0;
  bottom: 0;
  width: clamp(200px, 16vw, 280px);
  aspect-ratio: 16 / 10;
}
.crest-about__photo--3 {
  right: 0;
  top: 12%;
  width: clamp(200px, 16vw, 280px);
  aspect-ratio: 1;
}
.crest-about__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 0 20px;
}
.crest-about__texts {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.crest-about__photos-sp {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.crest-about__photos-sp img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  display: block;
}
.crest-about__photos-sp img:nth-child(2) {
  margin-top: 32px;
}
@media (max-width: 1279px) {
  .crest-about__photo { display: none; }
  .crest-about__stage { min-height: 0; }
}
@media (min-width: 1280px) {
  .crest-about__photos-sp { display: none; }
}

/* Crestで働く魅力（スラッシュ見出し） */
.crest-merit-ttl {
  margin: -16px 0 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 16px;
}
.crest-merit-ttl__slash {
  color: #156fc6;
  font-size: 28px;
  font-weight: 500;
}
.crest-merit-ttl__blue {
  color: #156fc6;
}

/* 横長カード（右上に写真がはみ出す：overflow で clip しない） */
.crest-merit {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 72px);
  padding: clamp(12px, 2.4vw, 28px) clamp(12px, 2.4vw, 28px) 0 0;
}
.crest-merit__card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px clamp(32px, 4vw, 56px);
  padding-left: clamp(24px, 4vw, 48px);
}
.crest-merit__body {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(32px, 4vw, 56px) 0 clamp(8px, 4vw, 56px);
}
.crest-merit__title {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  color: #1f2f44;
}
.crest-merit__photo {
  flex: 1 1 300px;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  margin: calc(-1 * clamp(12px, 2.4vw, 28px)) calc(-1 * clamp(12px, 2.4vw, 28px)) clamp(12px, 2.4vw, 28px) 0;
  border: 1px solid #1f2f44;
  border-radius: 14px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
@media (max-width: 639px) {
  /* SP：写真の右上はみ出しをやめ、カード内の左右余白を揃えて写真を中央に */
  .crest-merit { padding: 0; }
  .crest-merit__card { padding: 0 24px 24px; }
  .crest-merit__body { padding: 32px 0 0; }
  .crest-merit__photo {
    flex: 1 1 100%;
    max-width: none;
    margin: 0;
  }
}
.crest-about__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
  margin-top: 12px;
}

/* ==========================================================================
   TOP：SERVICE
   ========================================================================== */
.crest-top-service {
  padding: clamp(72px, 9vw, 112px) clamp(20px, 4vw, 40px);
}
.crest-top-service__notch {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-top: 24px solid #fff;
}
.crest-top-service__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
}
.crest-top-service__media {
  flex: 1 1 400px;
  position: relative;
  margin-left: calc(-1 * max(clamp(20px, 4vw, 40px), (100vw - 1400px) / 2));
}
.crest-top-service__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0 32px 32px 0;
}
.crest-top-service__label {
  position: absolute;
  left: max(clamp(20px, 4vw, 40px), (100vw - 1400px) / 2);
  top: 0;
  writing-mode: vertical-rl;
  background: #fff;
  color: #0e3f73;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.16em;
  padding: 20px 12px;
}
.crest-top-service__body {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.crest-top-service__btn {
  align-self: flex-start;
}
.crest-top-spacer {
  height: clamp(72px, 9vw, 120px);
}

/* ==========================================================================
   下層：ヒーロー＋パンくず
   ========================================================================== */
.crest-hero {
  padding: 0;
}
.crest-hero__inner {
  /* 画面幅の96%（ヘッダー・TOPのMVと揃える） */
  width: 96%;
  margin: 0 auto;
  height: clamp(240px, 28vw, 400px);
  background: #cfe3f8;
  border-radius: 32px;
}
@media (max-width: 639px) {
  .crest-hero__inner,
  .crest-mv__inner,
  .crest-mv #slideshow {
    border-radius: 16px;
  }
}
.crest-hero__bg {
  object-position: center 40%;
  display: block;
}
.crest-hero__overlay {
  background: linear-gradient(90deg, rgba(14, 63, 115, 0.45), rgba(14, 63, 115, 0.1));
}
.crest-hero__content {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  top: 50%;
  height: auto;
  transform: translateY(-50%);
}
.crest-hero__ttl .heading__ja {
  text-shadow: 0 1px 8px rgba(14, 63, 115, 0.4);
}
.crest-breadcrumb {
  width: 96%;
  margin: 0 auto;
  padding: 14px 0 0;
  font-size: 12px;
  color: #4a5b70;
}
.crest-breadcrumb .breadcrumb__list {
  gap: 8px;
}
.crest-breadcrumb .breadcrumb__item:not(:last-child)::after {
  margin: 0 0 0 8px;
  color: #4a5b70;
}
.crest-breadcrumb .breadcrumb__link {
  color: #156fc6;
}
.crest-breadcrumb .breadcrumb__link:hover {
  text-decoration: none;
  color: #0e3f73;
}

/* 下層セクション共通 */
.crest-sec {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) clamp(20px, 4vw, 40px);
}
.crest-sec--1000 { max-width: 1000px; }
.crest-sec--820 { max-width: 820px; }
.crest-inner--850 { max-width: 850px; margin: 0 auto; }
.crest-ttl--mb40 { margin-bottom: 40px; }
.crest-ttl--mb32 { margin-bottom: 32px; }
.crest-ttl--gap20 { gap: 20px; }
.crest-ttl--dark .heading__ja { color: #1f2f44; }

/* 本文＋写真2枚重ね（事業紹介 BUSINESS／採用 MESSAGE） */
.crest-split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: stretch;
}
.crest-split__body {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.crest-split__photos {
  flex: 1 1 360px;
  position: relative;
  min-height: clamp(380px, 40vw, 560px);
}
.crest-split__photo {
  position: absolute;
  display: block;
  border-radius: 32px;
}
.crest-split__photo--main {
  left: 0;
  top: 0;
  width: 82%;
  height: 72%;
}
.crest-split__photo--sub {
  right: 0;
  bottom: 0;
  width: 56%;
  height: 46%;
  border: 8px solid #fff;
}
.crest-lead {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.7;
  color: #156fc6;
  text-wrap: pretty;
}
.crest-lead--mt12 {
  margin-top: 12px;
}
.crest-mt36 {
  margin-top: 36px; /* 16px spacer + 20px gap（デザインの空divを再現） */
}

/* 項目リスト（会社情報／募集要項） */
.crest-dl {
  border-top: 2px solid #156fc6;
}
.crest-dl__row {
  display: grid;
  grid-template-columns: minmax(96px, 220px) minmax(0, 1fr);
  border-bottom: 1px solid #cfe3f8;
}
.crest-dl__row dt {
  padding: 20px 16px;
}
.crest-dl__row dd {
  margin: 0;
  padding: 20px;
}
@media (max-width: 639px) {
  /* SP：minmax(96px,220px) だと見出し列が220pxまで広がり dd が細切れになるため固定幅に */
  .crest-dl__row { grid-template-columns: 6.5em minmax(0, 1fr); }
  .crest-dl__row dt { padding: 16px 8px; }
  .crest-dl__row dd { padding: 16px 8px 16px 12px; }
  /* 項目→内容の上下積み（会社情報） */
  .crest-dl--stack-sp .crest-dl__row { grid-template-columns: minmax(0, 1fr); }
  .crest-dl--stack-sp .crest-dl__row dt { padding: 16px 8px 0; font-weight: 700; color: #156fc6; }
  .crest-dl--stack-sp .crest-dl__row dd { padding: 4px 8px 16px; }
}

/* ==========================================================================
   会社概要
   ========================================================================== */
.crest-message {
  display: flex;
  justify-content: center;
}
.crest-message__inner {
  flex: 1 1 420px;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.crest-message__inner p:not(.crest-lead) {
  line-height: 1.8;
  text-wrap: pretty;
  word-break: auto-phrase;
}
.crest-message__inner .crest-lead {
  line-height: 1.7;
}
.crest-message__sign {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 14px;
  font-size: 13px;
}
.crest-message__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.crest-origin {
  position: relative;
  overflow: hidden;
  background-image: url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28789/bg_origin.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(64px, 8vw, 104px) clamp(20px, 4vw, 40px);
}
.crest-origin::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #156fc6;
  mix-blend-mode: multiply;
  opacity: 0.85;
  pointer-events: none;
}
.crest-origin__bgtext {
  position: absolute;
  right: -4%;
  bottom: -0.18em;
  font-family: "Sulphur Point", sans-serif;
  font-weight: 700;
  font-size: clamp(120px, 22vw, 300px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: 0.02em;
  pointer-events: none;
}
.crest-origin__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.crest-origin__eq {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  margin: 8px 0;
}
.crest-origin__word {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1;
  color: #fff;
}
.crest-origin__equal {
  font-size: 24px;
  color: #ffea34;
}
.crest-origin__mean {
  background: #ffea34;
  color: #0e3f73;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  padding: 8px 24px;
  border-radius: 999px;
}

/* ==========================================================================
   事業紹介
   ========================================================================== */
.crest-service-cards-sec {
  padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 40px) clamp(32px, 4vw, 48px);
}
.crest-service-cards {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 64px 28px;
}
.crest-service-card {
  flex: 1 1 520px;
  min-width: 0;
  position: relative;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px clamp(28px, 3.4vw, 48px);
}
.crest-service-card__illust {
  flex: 0 0 auto;
  width: clamp(150px, 14vw, 200px);
  aspect-ratio: 1;
}
.crest-service-card__illust--map {
  display: block;
  object-fit: contain;
  transform: scale(1.45);
  transform-origin: center;
}
.crest-service-card__body {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 639px) {
  /* SP：対応エリアは「見出し → バッジ → 地図 → 本文」の順に並べ替え（body を display:contents で展開して order 指定） */
  .crest-service-card--area {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .crest-service-card--area .crest-service-card__body { display: contents; }
  .crest-service-card--area .crest-h3 { order: 1; }
  .crest-service-card--area .crest-tags { order: 2; }
  .crest-service-card--area .crest-service-card__illust--map {
    order: 3;
    align-self: center;
    margin: 36px 0; /* scale(1.45) のはみ出し分 */
  }
  .crest-service-card--area .crest-text { order: 4; }
}
.crest-h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  color: #1f2f44;
  font-weight: 700;
  line-height: 1.5;
}
.crest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.crest-tag {
  background: #e8f3ff;
  color: #156fc6;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 999px;
}
.crest-tag--fill {
  background: #156fc6;
  color: #fff;
}

.crest-join-sec {
  padding: clamp(72px, 8vw, 104px) clamp(20px, 4vw, 40px) clamp(64px, 8vw, 104px);
}
.crest-join {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 14px;
  background-color: #1f2f44;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 14px, rgba(255, 255, 255, 0) 14px 28px);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 48px;
}
.crest-join__photo {
  flex: 0 0 auto;
  display: block;
  width: clamp(220px, 28vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  align-self: flex-start;
  margin-top: calc(-1 * (clamp(36px, 5vw, 64px) + clamp(48px, 6vw, 80px)));
  border: 6px solid #fff;
}
.crest-join__body {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.crest-join__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
}
.crest-join__en {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.2px #fff;
  letter-spacing: 0.06em;
}
.crest-join__ja {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}
.crest-join__text {
  line-height: 1.8;
  text-wrap: pretty;
  margin-bottom: 18px;
}
.crest-join__btn {
  position: absolute;
  right: clamp(28px, 6vw, 80px);
  bottom: 0;
  transform: translateY(50%);
}

/* ==========================================================================
   採用情報
   ========================================================================== */
.crest-bg-pale {
  background: #f4f9ff;
}
.crest-steps-sec {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 4vw, 40px);
}
.crest-steps-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.crest-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
.crest-steps__item {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.crest-steps__badge {
  align-self: flex-start;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  background: #156fc6;
  color: #fff;
  padding: 2px 14px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.crest-steps__badge--yellow {
  background: #ffea34;
  color: #0e3f73;
}
.crest-steps__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.crest-steps__text {
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}

.crest-merits-sec {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 4vw, 40px) clamp(16px, 2vw, 24px);
}
.crest-merits-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.crest-merits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
}
.crest-merits__card {
  /* 4枚：PC 4列／タブレット 2列×2段／SP 1列 */
  flex: 0 1 calc((100% - 3 * clamp(16px, 2vw, 28px)) / 4);
  min-width: min(100%, 230px);
  background: #fff;
  border-radius: 14px;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 1023px) {
  .crest-merits__card { flex-basis: calc((100% - clamp(16px, 2vw, 28px)) / 2); }
}
@media (max-width: 599px) {
  .crest-merits__card { flex: 1 1 100%; }
}
.crest-merits__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}
.crest-merits__title {
  min-height: 3em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: clamp(20px, 2.1vw, 24px);
  color: #1f2f44;
  font-weight: 700;
  line-height: 1.5;
  word-break: auto-phrase;
  text-wrap: balance;
}
.crest-merits__img {
  align-self: center;
  display: block;
  width: 100%;
  max-width: 240px;
  height: 170px;
  object-fit: contain;
}

.crest-person-sec {
  padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 40px) clamp(104px, 13vw, 176px);
}
.crest-person {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.crest-checks {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px 40px;
}
.crest-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.7;
}
.crest-checks li::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #156fc6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 2px;
}

.crest-req-sec {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) clamp(64px, 8vw, 104px);
}
.crest-flow-sec {
  width: 96%;
  margin: 0 auto clamp(64px, 8vw, 104px);
  border-radius: 32px;
}
.crest-flow-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.crest-flow-cta p {
  font-weight: 700;
  font-size: 17px;
}

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.crest-contact-sec {
  padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 40px) clamp(72px, 9vw, 112px);
}
.crest-contact-intro {
  margin-bottom: 36px;
  text-align: center;
  line-height: 1.8;
  text-wrap: pretty;
}
/* CMSフォーム埋め込み（cdn.rs-sys.jp/css/cms/mail-form.css を上書きするため .crest-cmsform 起点で詳細度を上げる） */
.crest-cmsform {
  padding: clamp(24px, 5vw, 48px);
}
.crest-cmsform .form-contents {
  padding: 0;
  background: transparent;
}
.crest-cmsform .form-contents form dl {
  margin-bottom: 32px;
}
.crest-cmsform .form-contents form dl dt:not(.pattern-exclusion) {
  float: none;
  width: auto;
  padding: 0;
  margin: 0 0 8px;
  font-weight: 700;
}
.crest-cmsform .form-contents form dl dt:not(.pattern-exclusion) span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.crest-cmsform .form-contents form dl dt:not(.pattern-exclusion) span::before {
  content: none;
}
.crest-cmsform .form-contents form dl dt:not(.pattern-exclusion) span.required::after {
  content: "必須";
  font-size: 11px;
  line-height: 1.8;
  background: #156fc6;
  color: #fff;
  padding: 1px 8px;
  border-radius: 4px;
}
.crest-cmsform .form-contents form dl dd:not(.pattern-exclusion) {
  padding: 0;
  margin: 0 0 26px;
  border-bottom: none;
  line-height: inherit;
}
.crest-cmsform .form-contents form dl dd:not(.pattern-exclusion):last-child {
  margin-bottom: 0;
}
/* お問い合わせ種別（ラジオ → ピルボタン） */
.crest-cmsform .form-contents form dl dd:not(.pattern-exclusion):has(.radio) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.crest-cmsform .form-contents dd:not(.pattern-exclusion) label:has(.radio) {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: normal;
  border: 2px solid #156fc6;
  background: #fff;
  color: #156fc6;
}
.crest-cmsform .form-contents dd:not(.pattern-exclusion) label:has(.radio:checked) {
  background: #156fc6;
  color: #fff;
}
.crest-cmsform .form-contents dd:not(.pattern-exclusion) label:has(.radio:focus-visible) {
  outline: 2px solid #156fc6;
  outline-offset: 2px;
}
.crest-cmsform .form-contents dd:not(.pattern-exclusion) .radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
/* 入力欄 */
.crest-cmsform .form-contents dd:not(.pattern-exclusion) .textarea {
  display: block;
  width: 100%;
  height: auto;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #b9d5f2;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: inherit;
  background: #f7fbff;
  outline: none;
  color: #1f2f44;
}
.crest-cmsform .form-contents dd:not(.pattern-exclusion) .textarea:focus {
  border-color: #156fc6;
  background: #fff;
}
.crest-cmsform .form-contents dd:not(.pattern-exclusion) textarea.textarea {
  padding: 14px 18px;
  resize: vertical;
  line-height: 1.8;
}
/* 送信ボタン */
.crest-cmsform .form-contents form button.submit-btn {
  display: block;
  width: auto;
  margin: 0 auto;
  padding: 18px 64px;
  border: none;
  border-radius: 999px;
  background: #ffea34;
  color: #0e3f73;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: inherit;
  line-height: normal;
  transition: none;
}
.crest-cmsform .form-contents form button.submit-btn:hover {
  background: #ffea34;
  color: #0e3f73;
}
.crest-cmsform .form-contents form button.submit-btn:disabled {
  opacity: .6;
  cursor: default;
}
.crest-cmsform .form-contents .submit-btn::before {
  content: none;
}
/* エラー・送信完了 */
.crest-cmsform .form-contents .form-err-msg {
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 1px solid #e04848;
  border-radius: 8px;
  background: #fff3f3;
  color: #c62828;
  font-size: 14px;
}
.crest-cmsform .form-contents .form-thanks-msg {
  padding: 0;
  border: none;
  text-align: center;
}
.crest-cmsform .form-contents .form-thanks-msg p {
  line-height: 1.8;
}
.crest-cmsform .form-contents .form-thanks-msg .back-home-btn {
  width: auto;
  margin-top: 32px;
}
.crest-cmsform .form-contents .form-thanks-msg .back-home-btn a {
  display: inline-block;
  padding: 14px 48px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #156fc6, #0e3f73);
  color: #fff;
  font-size: 15px;
  letter-spacing: inherit;
}
.crest-cmsform .form-contents .form-thanks-msg .back-home-btn a:hover {
  background: linear-gradient(135deg, #156fc6, #0e3f73);
  opacity: .8;
}
.crest-cmsform__note {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

.crest-privacy {
  margin-top: clamp(64px, 8vw, 104px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.crest-privacy .crest-ttl .heading__en {
  font-size: clamp(40px, 6vw, 72px);
}
.crest-privacy__lead,
.crest-privacy__item p {
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}
.crest-privacy__box {
  max-height: 420px;
  overflow-y: auto;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.crest-privacy__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.crest-privacy__item h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #1f2f44;
}

/* ==========================================================================
   お知らせ一覧・詳細
   ========================================================================== */
.crest-news-sec {
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px);
}
.crest-main-side {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 48px;
  align-items: flex-start;
}
.crest-main-side .main-side__main {
  width: auto;
  flex: 1 1 600px;
  min-width: 0;
}
.crest-main-side .main-side__side {
  width: auto;
  flex: 1 1 260px;
  max-width: 100%;
  position: static;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.crest-entries {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #b9d5f2;
}
.crest-entries__item {
  border-bottom: 1px solid #b9d5f2;
}
.crest-entries__link {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  padding: 24px 4px;
  color: #1f2f44;
}
.crest-entries__link:hover {
  color: #156fc6;
}
.crest-entries__thumb {
  flex: 0 0 auto;
  width: min(100%, 200px);
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: #f4f9ff;
  border: 1px solid #cfe3f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  color: #156fc6;
  overflow: hidden;
}
.crest-entries__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.crest-entries__thumb-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #4a5b70;
  font-weight: 700;
}
.crest-entries__thumb-name {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: flex-start;
  gap: 3px;
}
.crest-entries__thumb-dot {
  width: 8px;
  height: 8px;
  background: #ffea34;
  border-radius: 50%;
  margin-top: 3px;
  box-shadow: 0 0 0 2px #156fc6;
}
.crest-entries__body {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.crest-date {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #4a5b70;
}
.crest-entries__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
}
.crest-entries__excerpt {
  font-size: 13px;
  color: #4a5b70;
  line-height: 1.8;
}

/* ページ送り（CMSの <%page_link%> 出力：.pages > .page_prev / .page_next > a） */
.crest-pagination {
  margin: 40px 0 0;
}
.crest-pagination .pages {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.crest-pagination .page_next {
  margin-left: auto;
}
.crest-pagination .pages a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border: 2px solid #cfe3f8;
  border-radius: 999px;
  color: #156fc6;
  font-size: 13px;
  font-weight: 700;
  transition: none;
}
.crest-pagination .pages a:hover {
  opacity: 1;
  color: #0e3f73;
}

.crest-side-box {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crest-side-box__ttl {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.crest-side-box__en {
  font-family: "Sulphur Point", sans-serif;
  color: #156fc6;
  font-size: 18px;
}
.crest-side-list {
  display: flex;
  flex-direction: column;
}
.crest-side-list li {
  border-bottom: 1px solid #cfe3f8;
}
.crest-side-list--archive li:last-child {
  border-bottom: none;
}
.crest-side-list a {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  color: #1f2f44;
  line-height: 1.6;
  font-size: 14px;
}
.crest-side-list--archive a {
  display: block;
  line-height: 1.8;
}
.crest-side-list a:hover {
  color: #156fc6;
}
.crest-side-list__date {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #4a5b70;
}

.crest-article {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.crest-article__date {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #4a5b70;
}
.crest-article__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  padding-bottom: 20px;
  border-bottom: 2px solid #156fc6;
}
.crest-article__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  object-fit: cover;
  display: block;
}
.crest-article__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 17px;
  line-height: 1.8;
}
.crest-article__body h3 {
  margin-top: 12px;
  font-size: 21px;
  font-weight: 700;
  padding: 0 0 10px;
  border-bottom: 1px solid #156fc6;
  color: #156fc6;
}
.crest-article__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #b9d5f2;
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   SP 本文サイズ（639px以下：本文 17px → 15px、補足テキスト 15px → 14px）
   ※各クラスで 17px を直書きしているため、ファイル末尾でまとめて上書きする
   ※見出し・ボタン・ナビ・フォーム入力欄（iOS のズーム防止で16px）は対象外
   ========================================================================== */
@media (max-width: 639px) {
  .crest-text,
  .crest-checks li,
  .crest-flow-cta p,
  .crest-article__body {
    font-size: 15px;
  }
  .crest-steps__text,
  .crest-privacy__lead,
  .crest-privacy__item p {
    font-size: 14px;
  }
}
