/* ========================
  Header customize
======================== */

body {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 700;
  font-style: normal;
}


/* Logo: flush to top-left edge */
.header__inner {
  padding: 0;
}

.header__logo {
  margin: 0;
  padding: 0;
  height: 100%;
}

.header__logo-link {
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
}

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

/* Navigation */
.header__main {
  gap: 32px;
  padding-right: 0;
  height: 100%;
}

.header__nav-list {
  gap: 28px;
}

.header__nav-list a {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* CTA: HTML phone button */
.header__tel {
  display: flex;
  align-items: stretch;
  height: 100%;
  margin: 0;
  padding: 0;
}

.header__tel-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 100%;
  padding: 0 28px;
  background: #0077c8;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.header__tel-link:hover {
  background: #0063a8;
  opacity: 1;
}

.header__tel-label {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.header__tel-number {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Keep CTA blue when header is white */
.header.is-white .header__tel-link {
  color: #fff;
}

/* SP contact CTA (HTML) */
.header__sp-contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0077c8;
  color: #fff;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.header__sp-contact-link .header__tel-label {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.88;
}

.header__sp-contact-link .header__tel-number {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* SP menu nav: EN mark left / JP label right */
.header__sp-nav-list a.header__sp-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: #222;
  text-decoration: none;
}

.header__sp-nav-en {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 0;
}

.header__sp-nav-en-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(58vw, 220px);
}

.header__sp-nav-en--news .header__sp-nav-en-img {
  height: 18px;
}

.header__sp-nav-en--philosophy .header__sp-nav-en-img {
  height: 25px;
}

.header__sp-nav-en--business .header__sp-nav-en-img {
  height: 22px;
}

.header__sp-nav-en--member .header__sp-nav-en-img {
  height: 26px;
}

.header__sp-nav-en--outline .header__sp-nav-en-img {
  height: 20px;
}

.header__sp-nav-en--contact .header__sp-nav-en-img {
  height: 23px;
}

.header__sp-nav-jp {
  flex: none;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #666;
  white-space: nowrap;
}

/* SP floating contact bar */
.header__sp-fixed-contact {
  padding: 0 14px calc(env(safe-area-inset-bottom, 0px) + 14px);
  background: transparent;
  pointer-events: none;
}

.header__sp-fixed-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6px;
  max-width: 420px;
  margin: 0 auto;
  padding: 6px;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 71, 140, 0.08);
  border-radius: 12px;
  box-shadow:
    0 10px 28px rgba(0, 40, 90, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header__sp-fixed-contact-link,
.header__sp-fixed-mail-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 52px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.header__sp-fixed-contact-link {
  background: linear-gradient(90deg, #29abe2 0%, #0071bc 100%);
  color: #fff;
  text-align: left;
}

.header__sp-fixed-mail-link {
  background: transparent;
  color: #0071bc;
}

.header__sp-fixed-contact-link:active,
.header__sp-fixed-mail-link:active {
  transform: scale(0.98);
  opacity: 0.92;
}

.header__sp-fixed-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.header__sp-fixed-mail-link .header__sp-fixed-icon {
  background: rgba(0, 113, 188, 0.1);
}

.header__sp-fixed-icon svg {
  display: block;
}

.header__sp-fixed-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.2;
}

.header__sp-fixed-contact-link .header__tel-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.header__sp-fixed-contact-link .header__tel-number {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header__sp-fixed-mail-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: inherit;
  white-space: nowrap;
}

/* Floating LINE CTA */
.floating-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(6, 199, 85, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, bottom 0.3s ease;
}

.floating-line--fixed {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1100;
}

.floating-line--menu {
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.28);
}

.floating-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(6, 199, 85, 0.42);
  color: #fff;
}

.floating-line--menu:hover {
  transform: none;
}

.floating-line__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
}

.floating-line__icon svg {
  display: block;
}

.floating-line__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  line-height: 1.2;
}

.floating-line__sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.88;
  white-space: nowrap;
}

.floating-line__text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

body.is-menu-open .floating-line--fixed,
body.is-opening .floating-line--fixed {
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .floating-line--fixed {
    right: 14px;
    /* Default: above reserved SP contact bar space */
    bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
    min-height: 46px;
    padding: 10px 14px 10px 12px;
    gap: 8px;
    box-shadow: 0 8px 22px rgba(6, 199, 85, 0.32);
  }

  .floating-line__icon {
    width: 24px;
    height: 24px;
  }

  .floating-line__icon svg {
    width: 20px;
    height: 20px;
  }

  .floating-line__sub {
    font-size: 9px;
  }

  .floating-line__text {
    font-size: 12px;
  }

  /* Contact bar visible: keep clear gap above it */
  body:has(.header.is-fixed-contact-visible) .floating-line--fixed {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
  }

  /* Contact bar hidden (FV): lower a bit, still bottom-right */
  body:not(:has(.header.is-fixed-contact-visible)) .floating-line--fixed {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  }
}

@media screen and (max-width: 1200px) {
  .header__nav-list {
    gap: 18px;
  }

  .header__nav-list a {
    font-size: 15px;
  }

  .header__tel-link {
    min-width: 200px;
    padding: 0 18px;
  }

  .header__tel-number {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  /* Override style.css / style.scss SP header 70px */
  body .header,
  body .header.is-white,
  body .header.is-open {
    height: 54px;
  }

  body .header .header__sp-inner,
  body .header.is-white .header__sp-inner,
  body .header.is-open .header__sp-inner {
    height: 54px;
    padding: 0;
  }

  body .header .header__sp-menu {
    height: calc(var(--app-height, 100vh) - 54px);
  }

  body .header.is-open .header__sp-menu {
    max-height: calc(var(--app-height, 100vh) - 54px);
  }

  .header__sp .header__logo {
    height: 100%;
  }

  .header__sp .header__logo-link {
    height: 100%;
  }

  .header__sp .header__logo-img {
    width: auto;
    height: 100%;
    max-width: none;
  }

  .header__toggle {
    margin-right: 12px;
  }

  /* SP menu open: white header bar + frontmost layer */
  .header.is-open {
    z-index: 2147483646;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .header.is-open .header__sp,
  .header.is-open .header__sp-inner {
    background: #fff;
  }

  .header.is-open .header__toggle-line {
    background: #333;
  }

  .header.is-open .header__sp-menu {
    z-index: 1;
  }
}

/* ========================
  FV + Opening handoff
  Single logo inside #opening; path swap, then move into FV
  Opening / FV share --app-height (set by JS = window.innerHeight)
======================== */

:root {
  --app-height: 100dvh;
  --fv-logo-width: min(68vw, 640px);
  --fv-logo-pad-x: 40px;
  --brand-blue: #0077c8;
  --brand-blue-deep: #005fa3;
}

/* Opening layout = FV logo slot (same box + flex + padding) */
.opening {
  inset: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--app-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--fv-logo-pad-x);
  box-sizing: border-box;
  transition: background-color 0.85s ease, visibility 0.85s ease;
}

.opening.is-to-fv {
  background-color: transparent;
  transform: none;
  visibility: visible;
  pointer-events: none;
}

/* ハッシュ直リンク時はオープニングを出さない */
html.skip-opening .opening {
  display: none !important;
}

html.skip-opening body.is-opening {
  overflow: visible !important;
}

.fv__logo-img {
  display: block;
  position: relative;
  width: var(--fv-logo-width);
  height: auto;
  margin: 0 auto;
  transform: translateX(-3%) translateY(-56%);
  pointer-events: none;
}

.opening .fv__logo-img {
  z-index: 1;
  opacity: 0;
  transform: translateX(-3%) translateY(calc(-56% + 10px));
  animation: openingLogoIn 1.1s ease 0.2s forwards;
}

.opening.is-to-fv .fv__logo-img {
  opacity: 1;
  transform: translateX(-3%) translateY(-56%);
  animation: none;
}

/* Override base keyframes: keep handoff position identical */
@keyframes openingLogoIn {
  0% {
    opacity: 0;
    transform: translateX(-3%) translateY(calc(-56% + 10px));
  }
  70%,
  100% {
    opacity: 1;
    transform: translateX(-3%) translateY(-56%);
  }
}

/* FV = fixed; news etc. scroll over it */
.fv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--app-height);
  min-height: var(--app-height);
  z-index: 1;
  pointer-events: none;
}

.fv__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.fv__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: blur(12px);
  transform: scale(1.06);
  transition: filter 0.9s ease, transform 0.9s ease;
}

body.is-opening-done .fv__bg-img {
  filter: none;
  transform: none;
}

.fv__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  padding: 0 var(--fv-logo-pad-x);
  box-sizing: border-box;
  transform: none;
  pointer-events: none;
}

.fv__logo {
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 0;
  pointer-events: none;
}

/* Keeps document flow height while FV is fixed */
.fv-spacer {
  height: var(--app-height);
  /* must remain hit-testable so mobile can start scroll over FV area */
  visibility: visible;
  opacity: 0;
  pointer-events: auto;
}

/* Content sheet over fixed FV — must receive touch for scroll */
.after-fv {
  position: relative;
  z-index: 2;
  background: #fff;
  margin-top: -96px;
  border-radius: 72px 72px 0 0;
  pointer-events: auto;
  touch-action: pan-y;
}

@media screen and (max-width: 768px) {
  :root {
    --fv-logo-width: min(68.8vw, 336px); /* ~0.8x of previous SP size */
    --fv-logo-pad-x: 24px;
  }

  .fv,
  .fv-spacer {
    height: var(--app-height);
    min-height: var(--app-height);
  }

  .fv__inner {
    height: 100%;
    min-height: 0;
    padding: 0 var(--fv-logo-pad-x);
    transform: none;
  }

  /* SP opening: vertically centered, then lift to FV position on handoff */
  .opening .fv__logo-img {
    transform: translateX(-3%) translateY(10px);
    animation: openingLogoInSp 1.1s ease 0.2s forwards;
  }

  /* animation:none + transition は効かないため、持ち上げは別キーフレームで行う */
  .opening.is-to-fv .fv__logo-img {
    opacity: 1;
    animation: openingLogoToFvSp 0.85s ease forwards;
  }

  /* FV logo stays slightly above center */
  .fv .fv__logo-img {
    transform: translateX(-3%) translateY(-56%);
  }
}

@keyframes openingLogoInSp {
  0% {
    opacity: 0;
    transform: translateX(-3%) translateY(10px);
  }
  70%,
  100% {
    opacity: 1;
    transform: translateX(-3%) translateY(0);
  }
}

@keyframes openingLogoToFvSp {
  from {
    opacity: 1;
    transform: translateX(-3%) translateY(0);
  }
  to {
    opacity: 1;
    transform: translateX(-3%) translateY(-56%);
  }
}

/* ========================
  Modules: section-title / btn
======================== */

.m_section-title {
  text-align: left;
}

.m_section-title__en {
  margin: 0;
  line-height: 0;
}

.m_section-title__en-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

/* PC: individual widths (size ratios match SP heights 23/32/28/34/26/30) */
.news .m_section-title__en-img {
  width: 146px;
}

.philosophy .m_section-title__en-img {
  width: 249px;
}

.business .m_section-title__en-img {
  width: 230px;
}

.member .m_section-title__en-img {
  width: 214px;
}

.outline .m_section-title__en-img {
  width: 191px;
}

.contact .m_section-title__en-img {
  width: 210px;
}

.m_section-title__jp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 40px 0 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #333;
}

.m_section-title__jp::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: url("./img/st-arrow.svg") no-repeat center / contain;
}

.m_section-title--light .m_section-title__jp {
  color: #fff;
}

.m_section-title--light .m_section-title__jp::before {
  background-image: url("./img/st-arrow-white.svg");
}

.m_btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  min-height: 48px;
  padding: 12px 22px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(90deg, #0990E8 0%, #03329B 100%);
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.m_btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.m_btn__text {
  display: block;
  text-align: center;
}

.m_btn__arrow {
  display: block;
  flex: none;
  width: 14px;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11' fill='none'%3E%3Cpath d='M0 5.5h11M7.5 1l5 4.5-5 4.5' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media screen and (max-width: 768px) {
  .m_section-title__jp {
    margin-top: 40px;
    font-size: 14px;
  }

  .m_btn {
    min-width: 160px;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* ========================
  NEWS
======================== */

.news {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.news__panel {
  background: transparent;
  border-radius: 0;
  padding: 72px 0 96px;
  position: relative;
  z-index: 2;
}

.news .wrapper,
.news__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

.news__inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.news__head {
  flex: 0 0 220px;
  width: 220px;
  padding-top: 8px;
}

.news__title {
  margin: 0 0 28px;
}

.news__btn-wrap {
  margin: 0;
  text-align: left;
}

/* 記事エリア：枠内でクリップしてスライド */
.news__list {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  margin: 0;
}

.news__list .swiper-wrapper {
  align-items: stretch;
}

.news__list .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* 少数記事時：スワイプ無効・左寄せ（幅は Swiper の slidesPerView に任せる） */
.news__list.is-static {
  overflow: visible;
}

.news__list.is-static .swiper-wrapper {
  transform: none !important;
}

.news .m_post-card {
  background: transparent;
  height: 100%;
}

.news .m_post-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news .m_post-card__thumb {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: #ddd;
  border: solid 2px #ddd;
}

.news .m_post-card__img {
  border: none !important;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  -webkit-user-drag: none;
  user-select: none;
}

.news .m_post-card:hover .m_post-card__img {
  transform: scale(1.04);
}

.news .m_post-card__body {
  padding: 16px 2px 0;
}

.news .m_post-card__title {
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
  color: #222;
  text-align: left;
}

.news .m_post-card__title::before {
  content: none;
}

.news .m_post-card__date {
  display: block;
  margin-top: 8px;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: #999;
  text-align: left;
}

.news .m_post-card__text {
  margin: 10px 0 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #777;
  text-align: left;
}

/* Archive listing */
.news--archive .news__inner {
  flex-wrap: wrap;
}

.news--archive .news__list {
  overflow: visible;
}

.news--archive .news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}

.news--archive .news__empty {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

.news--archive .news__pagination {
  flex: 0 0 100%;
  width: 100%;
  margin-top: 48px;
  text-align: center;
}

.news--archive .news__pagination .wp-pagenavi,
.news--archive .news__pagination .page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.news--archive .news__pagination a,
.news--archive .news__pagination span,
.news--archive .news__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(0, 113, 188, 0.28);
  border-radius: 999px;
  color: #0071bc;
  background: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.news--archive .news__pagination a:hover,
.news--archive .news__pagination .current {
  background: linear-gradient(90deg, #29abe2 0%, #0071bc 100%);
  border-color: transparent;
  color: #fff;
}

.news--archive .news__pagination .pages,
.news--archive .news__pagination .extend,
.news--archive .news__pagination .dots {
  border: 0;
  min-width: auto;
  padding: 0 4px;
  background: transparent;
  color: #4d4d4d;
}

@media screen and (max-width: 1100px) {
  .news__head {
    flex-basis: 180px;
    width: 180px;
  }

  .news__inner {
    gap: 32px;
  }

  .news--archive .news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }
}

@media screen and (max-width: 768px) {
  .after-fv {
    margin-top: -56px;
    border-radius: 40px 40px 0 0;
  }

  .news {
    margin-top: 0;
    overflow: visible;
  }

  .news__panel {
    border-radius: 0;
    padding: 48px 0 72px;
    overflow: visible;
  }

  .news .wrapper,
  .news__inner {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .news__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* タイトル → 記事 → ボタンの順に並べ替え */
  .news__head {
    display: contents;
  }

  .news__title {
    order: 1;
    margin: 0 20px 0;
  }

  .news__list {
    order: 2;
    width: 100%;
    padding-left: 20px;
    overflow: hidden;
  }

  .news__list.is-static {
    padding-right: 20px;
    overflow: visible;
  }

  .news__btn-wrap {
    order: 3;
    width: auto;
    margin: 8px 20px 0;
    text-align: center;
  }

  .news__btn-wrap .m_btn {
    margin: 0 auto;
  }

  .news--archive .news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .news--archive .news__list {
    padding-right: 20px;
  }

  .news--archive .news__pagination {
    order: 3;
    width: auto;
    margin: 16px 20px 0;
  }

  .news--archive .news__pagination a,
  .news--archive .news__pagination span,
  .news--archive .news__pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* ========================
  PHILOSOPHY
======================== */

.philosophy {
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  z-index: 2;
  padding: 80px 0 0px;
  overflow: hidden;
}
.philosophy::after{
  content: "";
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 280px);
  background: #d1d0d0;
}

.philosophy__panel {
  position: relative;
  z-index: 2;
  margin: 0;
  margin-right: max(40px, calc((100% - 1400px) / 2));
  padding: 88px 0 96px;
  background: linear-gradient(90deg, #29abe2 0%, #0071bc 100%);
  border-radius: 0 80px 80px 0;
  overflow: hidden;
}

.philosophy__inner {
  /* position: relative; */
  z-index: 1;
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.philosophy__body {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  color: #fff;
}

.philosophy__title {
  margin: 0 0 48px;
}

.philosophy__lead {
  position: relative;
  margin: 0 0 36px;
}

.philosophy__heading {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 4rem !important;
  line-height: 1.5 !important;
  font-weight: 300;
  letter-spacing: 0.125em !important;
  color: #fff !important;
  text-align: left;
}

.philosophy__heading-accent {
  font-family: ah-hakushu-addressing-font, sans-serif;
  font-weight: 100;
  font-style: normal;
}

.philosophy__script {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-42%);
  width: min(42%, 280px);
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}

.philosophy__text {
  margin: 0 0 56px;
}

.philosophy__text p {
  margin: 0 0 1.1em;
  /* font-size: 14px; */
  line-height: 2.6;
  letter-spacing: 0.04em;
  color: #fff;
}

.philosophy__text p:last-child {
  margin-bottom: 0;
}

.philosophy__closing {
  margin: 0 !important;;
  font-size: 3.2rem !important;;
  line-height: 1.6 !important;;
  font-weight:300 !important;;
  letter-spacing: 0.125em !important;;
  color: #fff !important;
}

.philosophy__logo {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
  height: 100%;
}

.philosophy__logo-img {
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .philosophy {
    padding: 0 0 ;
  }

  .philosophy__panel {
    margin-right: 20px;
    padding: 56px 0 64px;
    border-radius: 0 40px 40px 0;
  }

  .philosophy__inner {
    padding: 0 20px;
  }

  .philosophy__body {
    width: 100%;
  }

  .philosophy__title {
    margin-bottom: 32px;
  }

  .philosophy__script {
    width: min(48%, 180px);
    right: 0;
  }

  .philosophy__logo {
    width: 100% !important;
    height: auto;
    right: 0;
    opacity: 0.8;
  }
}

/* ========================
  BUSINESS
======================== */

.business {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 0px 0 120px;
}

.business .wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

.business__title {
  margin: 0 0 56px;
}

.business__list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.business__item {
  position: relative;
  flex: 1 1 calc(50% - 14px);
  width: calc(50% - 14px);
  max-width: calc(50% - 14px);
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  box-sizing: border-box;
}

.business__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.business__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.business__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  min-height: 460px;
  padding: 40px 36px;
  box-sizing: border-box;
  text-align: left;
}

.business__head {
  flex: none;
  width: 100%;
  margin: 0;
  text-align: left;
}

.business__item-title {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-align: left;
}

.business__en {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #fff;
}

.business__en::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: url("./img/st-item-mark.svg") no-repeat center / contain;
}

.business__text {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #fff;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .business {
    padding: px 0 80px;
  }

  .business .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .business__title {
    margin-bottom: 36px;
  }

  .business__list {
    gap: 20px;
  }

  .business__item {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-height: 380px;
    border-radius: 20px;
  }

  .business__content {
    min-height: 380px;
    padding: 28px 22px;
  }
}

/* ========================
  STRENGTH
======================== */

.strength {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 100px 0;
  background: #eaeaea;
}

.strength__list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.strength__item {
  display: flex;
  align-items: center;
  gap: 0;
}

.strength__item:nth-of-type(even) {
  flex-direction: row-reverse;
}

.strength__image {
  width: 50%;
  flex: 0 0 50%;
  padding: 0 40px;
  box-sizing: border-box;
}

.strength__image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.strength__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 28px;
  background: #ccc;
}

.strength__image-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(90deg, #29abe2 0%, #0071bc 100%);
  transform: translateX(0);
  transition: transform 1.05s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.strength__image-frame.is-animated .strength__image-mask {
  transform: translateX(101%);
}

.strength__content {
  flex: 1;
  padding-left: 24px;
  padding-right: max(40px, calc((100vw - 1400px) / 2 + 40px));
  box-sizing: border-box;
}

.strength__item:nth-of-type(even) .strength__content {
  padding-left: max(40px, calc((100vw - 1400px) / 2 + 40px));
  padding-right: 24px;
}

.strength__content-inner {
  max-width: 520px;
}

.strength__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.strength__num {
  display: block;
  flex: none;
  width: auto;
  height: clamp(56px, 6vw, 88px);
}

.strength__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #222;
}

.strength__title::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: url("./img/strength-mark.svg") no-repeat center / contain;
}

.strength__text {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: #333;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .strength {
    padding: 64px 0;
  }

  .strength__list {
    gap: 48px;
  }

  .strength__item,
  .strength__item:nth-of-type(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .strength__image {
    width: 100%;
    flex: none;
    padding: 0 20px;
  }

  .strength__image-frame,
  .strength__img {
    border-radius: 20px;
  }

  .strength__content,
  .strength__item:nth-of-type(even) .strength__content {
    padding: 0 20px;
  }

  .strength__content-inner {
    max-width: none;
  }

  .strength__head {
    gap: 14px;
  }

  .strength__num {
    height: 52px;
  }

  .strength__title {
    font-size: 20px;
  }

  .strength__text {
    margin-top: 16px;
    font-size: 14px;
  }
}

/* ========================
  MEMBER
======================== */

.member {
  position: relative;
  z-index: 2;
  background: #fff;
  /* padding: 100px 0 80px; */
}

.member .wrapper,
.outline .wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

.member .m_section-title,
.outline .m_section-title {
  text-align: center;
}

.member .m_section-title__en-img,
.outline .m_section-title__en-img {
  margin-left: auto;
  margin-right: auto;
}

.member .m_section-title__jp,
.outline .m_section-title__jp {
  justify-content: center;
}

.member__title,
.outline__title {
  margin: 0 0 56px;
}

.member__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.member__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 360px);
  padding: 0;
  border: none;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.member__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #cfcfcf;
}

.member__thumb.is-placeholder,
.member-modal__photo.is-placeholder {
  background: #cfcfcf;
}

.member__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member__role {
  display: block;
  margin-top: 28px;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #666;
}

.member__name {
  display: block;
  margin-top: 10px;
  padding: 0 24px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  color: #222;
}

.member__name-en {
  display: block;
  margin-top: 6px;
  margin-bottom: 32px;
  padding: 0 24px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: #999;
}

/* ========================
  OUTLINE (company)
======================== */

.outline {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 40px 0 0px;
}

.outline__info {
  max-width: 920px;
  margin: 0 auto;
}

.outline__list {
  margin: 0;
  padding: 0;
}

.outline__row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 28px;
  align-items: end;
  margin: 0;
}

.outline__term,
.outline__desc {
  margin: 0;
  padding: 30px 0 21px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  box-sizing: border-box;
}

.outline__term {
  position: relative;
  text-align: center;
  color: var(--brand-blue, #0077c8);
}

.outline__term::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #29abe2 0%, #0071bc 100%);
}

.outline__desc {
  color: #222;
  text-align: left;
  border-bottom: 1px solid #d8d8d8;
}

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

.outline__desc a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .member {
    padding: 64px 0 48px;
  }

  .member .wrapper,
  .outline .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .member__title,
  .outline__title {
    margin-bottom: 36px;
  }

  .member__list {
    gap: 24px;
  }

  .member__card {
    width: min(100%, 320px);
  }

  .member__name {
    font-size: 20px;
  }

  .outline {
    padding: 24px 0 80px;
  }

  .outline__row {
    position: relative;
    grid-template-columns: 155px minmax(0, 1fr);
    column-gap: 16px;
  }

  .outline__row::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, #29abe2 0%, #0071bc 100%);
  }

  .outline__term::after {
    content: none;
  }

  .outline__term,
  .outline__desc {
    padding: 24px 0 18px;
    font-size: 15px;
  }

  .outline__desc {
    border-bottom: none;
  }
}

/* ========================
  CONTACT (+ CF7)
======================== */

.contact {
  position: relative;
  z-index: 2;
  background: #eaeaea;
  padding: 100px 0 120px;
}

.contact .wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

.contact .m_section-title {
  text-align: center;
}

.contact .m_section-title__en-img {
  margin-left: auto;
  margin-right: auto;
}

.contact .m_section-title__jp {
  justify-content: center;
}

.contact__title {
  margin: 0 0 48px;
}

.contact__form-area {
  margin: 0;
}

.contact-form,
.contact .wpcf7 {
  margin: 0;
  padding: 56px 56px 64px;
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
}

.contact .wpcf7-form {
  margin: 0;
}

.contact .wpcf7-form > p {
  margin: 0;
}

/* CF7 row: label left / field right */
.contact-form__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  column-gap: 28px;
  align-items: stretch;
  margin: 0;
  padding: 0;
  border: none;
}

.contact-form__row + .contact-form__row {
  margin-top: 0;
}

.contact-form__head {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px 0 16px;
  box-sizing: border-box;
}

.contact-form__head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #29abe2 0%, #0071bc 100%);
}

.contact-form__label,
.contact-form__head label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  width: 100%;
  padding-bottom: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-blue, #0077c8);
  box-sizing: border-box;
}

/* Required badge (CF7: .wpcf7-validates-as-required / aria-required) */
.contact-form__row:has(.wpcf7-validates-as-required) .contact-form__label::after,
.contact-form__row:has(.wpcf7-validates-as-required) .contact-form__head label::after,
.contact-form__row:has([aria-required="true"]) .contact-form__label::after,
.contact-form__row:has([aria-required="true"]) .contact-form__head label::after {
  content: "必須";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 2px;
  background: #b00020;
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-form__body {
  min-width: 0;
  padding: 22px 0 16px;
  border-bottom: 1px solid #d8d8d8;
  box-sizing: border-box;
}

.contact-form__body .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form__note,
.contact-form__body .wpcf7-form-control-wrap + .contact-form__note,
.contact .wpcf7-form .contact-form__note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
  color: #888;
}

/* Inputs */
.contact .wpcf7-form input[type="text"],
.contact .wpcf7-form input[type="email"],
.contact .wpcf7-form input[type="tel"],
.contact .wpcf7-form input[type="url"],
.contact .wpcf7-form input[type="password"],
.contact .wpcf7-form input[type="number"],
.contact .wpcf7-form input[type="date"],
.contact .wpcf7-form textarea,
.contact .wpcf7-form select,
.contact-form__body input[type="text"],
.contact-form__body input[type="email"],
.contact-form__body input[type="tel"],
.contact-form__body input[type="url"],
.contact-form__body input[type="password"],
.contact-form__body input[type="number"],
.contact-form__body input[type="date"],
.contact-form__body textarea,
.contact-form__body select {
  width: 100%;
  max-width: 100%;
  height: 48px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: #333;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.25s ease;
}

.contact .wpcf7-form textarea,
.contact-form__body textarea {
  height: auto;
  min-height: 160px;
  padding: 12px 14px;
  resize: vertical;
}

.contact .wpcf7-form select,
.contact-form__body select {
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%234d4d4d' stroke-width='1.4' stroke-linecap='round' d='M1 2l5 4 5-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.contact .wpcf7-form input:focus,
.contact .wpcf7-form textarea:focus,
.contact .wpcf7-form select:focus,
.contact-form__body input:focus,
.contact-form__body textarea:focus,
.contact-form__body select:focus {
  border-color: var(--brand-blue, #0077c8);
}

.contact .wpcf7-form input::placeholder,
.contact .wpcf7-form textarea::placeholder,
.contact-form__body input::placeholder,
.contact-form__body textarea::placeholder {
  color: #aaa;
  font-weight: 500;
}

/* Checkbox / radio */
.contact .wpcf7-checkbox,
.contact .wpcf7-radio,
.contact-form__body .wpcf7-checkbox,
.contact-form__body .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

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

.contact .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.contact .wpcf7-list-item label::after {
  content: none;
}

.contact .wpcf7-list-item input[type="checkbox"],
.contact .wpcf7-list-item input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid #bbb;
  accent-color: var(--brand-blue, #0077c8);
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
}

/* Privacy */
.contact-form__privacy {
  margin-top: 40px;
  text-align: center;
}

.contact-form__privacy-title {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: #222;
}

.contact-form__privacy-box {
  max-height: 160px;
  overflow-y: auto;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid #ccc;
  background: #fff;
  text-align: left;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 600;
  color: #555;
  box-sizing: border-box;
}

.contact .wpcf7-acceptance {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

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

/* Submit */
.contact-form__submit,
.contact .wpcf7-form .wpcf7-submit-wrap,
.contact .wpcf7-form p:has(.wpcf7-submit) {
  margin-top: 36px;
  text-align: center;
}

.contact .wpcf7-form input[type="submit"],
.contact .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 48px;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-blue-deep, #005fa3) 0%, var(--brand-blue, #0077c8) 100%);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact .wpcf7-form input[type="submit"]:hover,
.contact .wpcf7-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.contact .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.contact .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #d33;
}

@media screen and (max-width: 768px) {
  .contact {
    padding: 64px 0 80px;
  }

  .contact .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact__title {
    margin-bottom: 32px;
  }

  .contact-form,
  .contact .wpcf7 {
    padding: 28px 18px 36px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .contact-form__head {
    padding: 18px 0 14px;
  }

  .contact-form__body {
    padding: 18px 0 14px;
  }
}

/* ========================
  FOOTER
======================== */

.footer {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, #29abe2 0%, #0071bc 100%);
  color: #fff;
}

.footer__main {
  padding: 56px 0 40px;
  background: transparent;
}

.footer .wrapper,
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer__brand {
  flex: 0 1 auto;
  min-width: 0;
}

.footer__logo {
  margin: 0;
  text-align: left;
}

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

.footer__logo-img {
  display: block;
  width: auto;
  height: 64px;
}

.footer__info {
  margin-top: 20px;
}

.footer__address,
.footer__tel {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
  color: #fff;
}

.footer__tel {
  margin-top: 10px;
}

.footer__tel a {
  color: #fff;
  text-decoration: none;
}

.footer__tel a:hover {
  text-decoration: underline;
}

.footer__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav-link {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.footer__nav-link:hover {
  opacity: 0.75;
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  padding: 22px 0;
  background: transparent;
}

.footer__copy-text {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: #fff;
}

@media screen and (max-width: 900px) {
  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer__nav {
    justify-content: flex-start;
    padding-top: 0;
  }

  .footer__nav-list {
    justify-content: flex-start;
    gap: 12px 20px;
  }
}

@media screen and (max-width: 768px) {
  .footer__main {
    padding: 40px 0 28px;
  }

  .footer .wrapper,
  .footer__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer__logo-img {
    height: 36px;
  }

  .footer__nav-link {
    font-size: 13px;
  }

  .footer__copy {
    padding: 18px 0;
  }

  .footer__copy-text {
    font-size: 12px;
  }
}

/* ========================
  SP global refine (max 768)
======================== */

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
    overflow-y: visible;
    font-size: 14px;
    -webkit-overflow-scrolling: touch;
  }

  body.is-opening-done,
  body.is-opening-handoff {
    overflow-x: hidden;
    overflow-y: visible;
  }

  html {
    overflow-x: hidden;
    overflow-y: visible;
  }

  /* Header */
  body .header,
  body .header.is-white,
  body .header.is-open {
    height: 54px;
  }

  body .header .header__sp-inner,
  body .header.is-white .header__sp-inner,
  body .header.is-open .header__sp-inner {
    height: 54px;
    padding: 0 12px 0 0;
  }

  body .header .header__sp-menu {
    height: calc(var(--app-height, 100vh) - 54px);
  }

  body .header.is-open .header__sp-menu {
    max-height: calc(var(--app-height, 100vh) - 54px);
  }

  .header__sp .header__logo-img {
    height: 54px;
    width: auto;
    max-width: min(52vw, 200px);
    object-fit: contain;
    object-position: left center;
  }

  .header__toggle {
    margin-right: 0px;
    flex: none;
  }

  /* Opening / FV */
  .opening {
    padding: 0 20px;
  }

  .after-fv {
    margin-top: -48px;
    border-radius: 32px 32px 0 0;
  }

  .fv__logo-img {
    width: var(--fv-logo-width);
  }

  /* Modules */
  .m_section-title__en-img {
    width: auto;
    max-width: 86vw;
  }

  .news .m_section-title__en-img {
    width: auto;
    height: 23px;
  }

  .philosophy .m_section-title__en-img {
    width: auto;
    height: 32px;
  }

  .business .m_section-title__en-img {
    width: auto;
    height: 28px;
  }

  .member .m_section-title__en-img {
    width: auto;
    height: 34px;
  }

  .outline .m_section-title__en-img {
    width: auto;
    height: 26px;
  }

  .contact .m_section-title__en-img {
    width: auto;
    height: 30px;
  }

  .m_section-title__jp {
    margin-top: 20px;
    font-size: 13px;
    gap: 6px;
  }

  .m_section-title__jp::before {
    width: 12px;
    height: 12px;
  }

  .m_btn {
    width: 100%;
    max-width: 280px;
    min-width: 0;
  }

  /* News */
  .news__panel {
    padding: 40px 0 56px;
  }

  .news__title {
    margin-bottom: 0;
  }

  .news__btn-wrap {
    width: auto;
  }

  .news .m_post-card__title {
    font-size: 15px;
  }

  .news .m_post-card__date {
    font-size: 12px;
  }

  .news .m_post-card__text {
    font-size: 12px;
    line-height: 1.7;
  }

  .news .m_post-card__thumb {
    border-radius: 12px;
  }

  .news--archive .news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .news--archive .news__pagination {
    margin-top: 12px;
  }

  /* Philosophy */
  .philosophy {
    padding: 40px 0 0px;
  }

  .philosophy::after {
    height: calc(100% - 120px);
  }

  .philosophy__panel {
    margin-right: 16px;
    padding: 40px 0 48px;
    border-radius: 0 28px 28px 0;
  }

  .philosophy__inner {
    padding: 0 16px 0 20px;
  }

  .philosophy__title {
    margin-bottom: 24px;
  }

  .philosophy__lead {
    margin-bottom: 24px;
  }

  .philosophy__heading {
    font-size: 2rem !important;
    line-height: 1.55 !important;
    letter-spacing: 0.06em !important;
  }

  .philosophy__script {
    display: none;
  }

  .philosophy__text {
    margin-bottom: 28px;
  }

  .philosophy__text p {
    font-size: 13px;
    line-height: 2;
  }

  .philosophy__closing {
    font-size: 1.6rem !important;
    line-height: 1.6 !important;
    letter-spacing: 0.06em !important;
  }

  .philosophy__logo {
    width: min(58vw, 220px);
    right: -12%;
    opacity: 0.45;
  }

  /* Business */
  .business {
    padding: 0px 0 ;
  }

  .business__title {
    margin-bottom: 28px;
  }

  .business__item {
    min-height: 340px;
    border-radius: 16px;
  }

  .business__content {
    min-height: 340px;
    padding: 24px 18px;
  }

  .business__item-title {
    font-size: 20px;
  }

  .business__en {
    font-size: 12px;
    margin-top: 8px;
  }

  .business__text {
    font-size: 12px;
    line-height: 1.8;
  }

  /* Strength */
  .strength {
    padding: 48px 0;
  }

  .strength__list {
    gap: 40px;
  }

  .strength__image {
    padding: 0 16px;
  }

  .strength__image-frame,
  .strength__img {
    border-radius: 16px;
  }

  .strength__img {
    aspect-ratio: 16 / 11;
  }

  .strength__content,
  .strength__item:nth-of-type(even) .strength__content {
    padding: 0 16px;
  }

  .strength__head {
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .strength__num {
    height: 44px;
  }

  .strength__title {
    font-size: 18px;
  }

  .strength__title::before {
    width: 12px;
    height: 12px;
  }

  .strength__text {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.9;
  }

  /* Member / Outline */
  .member {
    padding: 0px 0 0px;
  }

  .member .wrapper,
  .outline .wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }

  .member__title,
  .outline__title {
    margin-bottom: 28px;
  }

  .member__list {
    gap: 20px;
  }

  .member__card {
    width: 100%;
    max-width: 360px;
    border-radius: 16px;
  }

  .member__role {
    margin-top: 20px;
    font-size: 13px;
  }

  .member__name {
    font-size: 18px;
  }

  .member__name-en {
    margin-bottom: 24px;
    font-size: 12px;
  }

  .outline {
    padding: 16px 0 0px;
  }

  .outline__row {
    grid-template-columns: 128px minmax(0, 1fr);
    column-gap: 12px;
  }

  .outline__term,
  .outline__desc {
    padding: 18px 0 14px;
    font-size: 13px;
    line-height: 1.55;
  }

  /* Contact */
  .contact {
    padding: 48px 0 64px;
  }

  .contact .wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact__title {
    margin-bottom: 24px;
  }

  .contact-form,
  .contact .wpcf7 {
    padding: 24px 16px 32px;
    border-radius: 6px;
  }

  .contact-form__label,
  .contact-form__head label {
    font-size: 14px;
  }

  .contact .wpcf7-form input[type="text"],
  .contact .wpcf7-form input[type="email"],
  .contact .wpcf7-form input[type="tel"],
  .contact .wpcf7-form textarea,
  .contact .wpcf7-form select,
  .contact-form__body input[type="text"],
  .contact-form__body input[type="email"],
  .contact-form__body input[type="tel"],
  .contact-form__body textarea,
  .contact-form__body select {
    height: 44px;
    font-size: 14px;
    padding: 8px 12px;
  }

  .contact .wpcf7-form textarea,
  .contact-form__body textarea {
    height: auto;
    min-height: 140px;
  }

  .contact .wpcf7-list-item label {
    font-size: 13px;
  }

  .contact .wpcf7-form input[type="submit"],
  .contact .wpcf7-submit {
    width: 100%;
    max-width: 280px;
  }

  /* Footer */
  .footer__address,
  .footer__tel {
    font-size: 13px;
  }

  .footer__nav-list {
    gap: 10px 16px;
  }
}

@media screen and (max-width: 480px) {
  .philosophy__heading {
    font-size: 1.7rem !important;
  }

  .philosophy__closing {
    font-size: 1.4rem !important;
  }

  .outline__row {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-bottom: 14px;
  }

  .outline__term {
    padding-top: 18px;
    padding-bottom: 6px;
    text-align: left;
  }

  .outline__desc {
    padding-top: 0;
    padding-bottom: 0;
  }

  .business__item,
  .business__content {
    min-height: 300px;
  }
}

/* ========================
  SCROLL ANIMATIONS
======================== */

.scroll-anim {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    filter 0.9s ease;
  will-change: opacity, transform, filter;
}

.scroll-anim.fadeIn {
  transform: none;
}

.scroll-anim.fadeInUp {
  transform: translateY(28px);
}

.scroll-anim.fadeInDown {
  transform: translateY(-28px);
}

.scroll-anim.fadeInFromRight {
  transform: translateX(48px);
}

.scroll-anim.fadeInFromLeft {
  transform: translateX(-48px);
}

.scroll-anim.blurIn {
  filter: blur(14px);
}

.scroll-anim.reveal-wipe {
  opacity: 1;
  transform: none;
  filter: none;
}

.scroll-anim.is-animated {
  opacity: 1;
  transform: none;
  filter: none;
}

.scroll-anim.reveal-wipe.is-animated {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-anim,
  .strength__image-mask {
    transition: none !important;
  }

  .scroll-anim {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .strength__image-mask {
    transform: translateX(101%);
  }
}

/* ========================
  SINGLE ARTICLE
======================== */

.single-page {
  background: #fff;
  padding-bottom: 96px;
}

.single-article-section {
  padding-top: 16px;
}

.single-article {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.single-article__header {
  text-align: left;
}

.single-article__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-article__cat {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #29abe2 0%, #0071bc 100%);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.single-article__title {
  position: relative;
  margin: 16px 0 0;
  padding-left: 0;
  font-size: 32px;
  line-height: 1.45;
  font-weight: 700;
  color: #222;
}

.single-article__title::before {
  content: none;
}

.single-article__date {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: #999;
}

.single-article__thumb {
  margin: 32px 0 0;
  overflow: hidden;
  border-radius: 14px;
  background: #ddd;
  border: solid 2px #ddd;
}

.single-article__img {
  display: block;
  width: 100%;
  height: auto;
}

.single-article__content {
  margin-top: 40px;
  color: #444;
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.single-article__content h2,
.single-article__content h3,
.single-article__content h4 {
  margin-top: 2em;
  margin-bottom: 0.7em;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
}

.single-article__content h2 {
  position: relative;
  padding-left: 16px;
  font-size: 24px;
}

.single-article__content h2::before {
  content: "";
  position: absolute;
  top: 0.28em;
  left: 0;
  width: 4px;
  height: 1.15em;
  border-radius: 2px;
  background: linear-gradient(180deg, #29abe2 0%, #0071bc 100%);
}

.single-article__content h3 {
  font-size: 20px;
}

.single-article__content h4 {
  font-size: 17px;
}

.single-article__content p + p {
  margin-top: 1.2em;
}

.single-article__content ul,
.single-article__content ol {
  margin-top: 1.2em;
  padding-left: 1.5em;
}

.single-article__content li + li {
  margin-top: 0.55em;
}

.single-article__content a {
  color: #0071bc;
  text-decoration: underline;
}

.single-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.single-article__content table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.single-article__content th,
.single-article__content td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  font-size: 0.95em;
  word-break: break-word;
}

.single-article__content th {
  background: #f5f8fb;
  color: #0071bc;
  font-weight: 700;
}

.single-article__content iframe {
  max-width: 100%;
}

.single-article__footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e6e6e6;
}

.single-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-article__tags li {
  padding: 5px 12px;
  border: 1px solid rgba(0, 113, 188, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #0071bc;
  background: #fff;
}

.single-article__tags a {
  color: inherit;
  text-decoration: none;
}

.single-article__pager {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.single-article__pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #0071bc;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.single-article__pager a:hover {
  opacity: 0.75;
}

.single-article__pager-prev {
  text-align: left;
}

.single-article__pager-next {
  text-align: right;
}

.single-article__pager-archive {
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #29abe2 0%, #0071bc 100%);
  color: #fff !important;
  box-sizing: border-box;
}

.single-article--empty {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.single-article__empty-text {
  margin: 16px 0 28px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
  color: #666;
}

.single-article--empty .single-article__pager-archive {
  display: inline-flex;
}

@media screen and (max-width: 768px) {
  body .single-page {
    padding-bottom: 72px;
  }

  body .single-article-section {
    padding-top: 8px;
  }

  body .single-article {
    padding: 8px 0 0;
  }

  body .single-article__cat {
    padding: 4px 10px;
    font-size: 10px;
  }

  body .single-article__title {
    margin-top: 12px;
    font-size: 22px;
    line-height: 1.4;
  }

  body .single-article__date {
    margin-top: 8px;
    font-size: 12px;
  }

  body .single-article__thumb {
    margin-top: 20px;
    border-radius: 12px;
  }

  body .single-article__content {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.9;
  }

  body .single-article__content h2 {
    font-size: 18px;
    padding-left: 12px;
    line-height: 1.45;
  }

  body .single-article__content h2::before {
    width: 3px;
    top: 0.3em;
    height: 1.1em;
  }

  body .single-article__content h3 {
    font-size: 16px;
  }

  body .single-article__content h4 {
    font-size: 15px;
  }

  body .single-article__content th,
  body .single-article__content td {
    font-size: 13px;
  }

  body .single-article__content table,
  body .single-article__content tbody,
  body .single-article__content tr,
  body .single-article__content th,
  body .single-article__content td {
    display: block;
    width: 100%;
  }

  body .single-article__content tr {
    margin-top: 8px;
    border-top: 1px solid #ddd;
  }

  body .single-article__content th,
  body .single-article__content td {
    border: 0;
    padding: 8px 0;
  }

  body .single-article__footer {
    margin-top: 36px;
    padding-top: 20px;
  }

  body .single-article__tags li {
    padding: 4px 10px;
    font-size: 11px;
  }

  body .single-article__pager {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  body .single-article__pager a {
    font-size: 13px;
  }

  body .single-article__pager-prev,
  body .single-article__pager-next {
    text-align: center;
  }

  body .single-article__pager-archive {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    min-height: 42px;
    padding: 10px 18px;
    font-size: 13px;
  }

  body .single-article__empty-text {
    font-size: 14px;
    line-height: 1.8;
  }
}

@media screen and (max-width: 480px) {
  body .single-article__title {
    font-size: 20px;
  }

  body .single-article__content {
    font-size: 14px;
    line-height: 1.85;
  }

  body .single-article__content h2 {
    font-size: 17px;
  }

  body .single-article__content h3 {
    font-size: 15px;
  }
}


