@charset "UTF-8";
/*
Theme Name: Memodia
Text Domain: memodia
Version: 0.1.0
Requires at least: 6.3
Requires PHP: 7.4
Author: Memodia
Description: Custom block theme for Memodia.
*/
html, body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
}

p, a, span, div, h1, h2, h3, h4, h5, h6, li, td, th, label, input, textarea, button {
  font-family: "Hiragino UD Serif Std", serif;
  font-weight: 400;
}

.pc-only {
  display: block !important;
}

.sp-only {
  display: none !important;
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }
}
/* ============================
   Header Component
   共通ヘッダー（ロゴ＋メニュー）
============================ */
/* ============================
   Header Animation Keyframes
============================ */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.site-header {
  width: 100%;
  height: 100px;
  padding: 30px 57px;
  display: block;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 100%;
  overflow: hidden;
}
.site-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-header__language-switcher {
  display: flex;
  align-items: center;
}
.site-header__language-switcher ul, .site-header__language-switcher .polylang_langswitcher {
  display: flex !important;
  flex-direction: row !important;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0;
  width: auto;
}
.site-header__language-switcher li, .site-header__language-switcher .lang-item {
  margin: 0;
  display: flex;
  align-items: center;
}
.site-header__language-switcher li a, .site-header__language-switcher li .lang-link, .site-header__language-switcher .lang-item a, .site-header__language-switcher .lang-item .lang-link {
  display: block;
  padding: 5px 10px;
  border: 1px solid #333;
  border-radius: 25px;
  text-decoration: none;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  background-color: white;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 60px;
  text-align: center;
}
.site-header__language-switcher li a:hover, .site-header__language-switcher li .lang-link:hover, .site-header__language-switcher .lang-item a:hover, .site-header__language-switcher .lang-item .lang-link:hover {
  background-color: #f5f5f5;
}
.site-header__language-switcher li a.current-lang, .site-header__language-switcher li a.current-lang-link, .site-header__language-switcher li a.lang-item-current a, .site-header__language-switcher li a.current-lang-item a, .site-header__language-switcher li .lang-link.current-lang, .site-header__language-switcher li .lang-link.current-lang-link, .site-header__language-switcher li .lang-link.lang-item-current a, .site-header__language-switcher li .lang-link.current-lang-item a, .site-header__language-switcher .lang-item a.current-lang, .site-header__language-switcher .lang-item a.current-lang-link, .site-header__language-switcher .lang-item a.lang-item-current a, .site-header__language-switcher .lang-item a.current-lang-item a, .site-header__language-switcher .lang-item .lang-link.current-lang, .site-header__language-switcher .lang-item .lang-link.current-lang-link, .site-header__language-switcher .lang-item .lang-link.lang-item-current a, .site-header__language-switcher .lang-item .lang-link.current-lang-item a {
  background-color: #213C5F !important;
  color: white !important;
  border-color: #213C5F !important;
}
.site-header__language-switcher li:not(:last-child)::after, .site-header__language-switcher .lang-item:not(:last-child)::after {
  content: "/";
  color: #333;
  font-size: 14px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  opacity: 0.7;
}
.site-header__language-switcher .polylang_langswitcher {
  display: flex !important;
  flex-direction: row !important;
}
.site-header__language-switcher .polylang_langswitcher li {
  display: inline-flex !important;
  margin: 0 !important;
}
.site-header__language-switcher .polylang_langswitcher li.current-lang-item a, .site-header__language-switcher .polylang_langswitcher li.lang-item-current a {
  background-color: #213C5F !important;
  color: white !important;
  border-color: #213C5F !important;
}
.site-header__language-switcher .current-lang-item a,
.site-header__language-switcher .lang-item-current a,
.site-header__language-switcher .current-lang a,
.site-header__language-switcher .current-lang-link {
  background-color: #213C5F !important;
  color: white !important;
  border-color: #213C5F !important;
}
.site-header__logo {
  width: 213px;
  height: auto;
}
.site-header__logo img {
  max-width: 100%;
  height: auto;
  display: block;
}
.site-header__toggle {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.site-header__toggle-bar {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #213C5F;
}
.site-header__toggle-bar:last-child {
  width: 14px;
}
.site-header__toggle-label {
  font-family: "Merriweather", serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  color: #213C5F;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* ============================
   Responsive
============================ */
@media (max-width: 768px) {
  .site-header {
    padding: 20px;
  }
  .site-header__logo {
    width: 160px;
  }
  .site-header__menu-text {
    font-size: 11px;
  }
  .site-header__language-switcher a, .site-header__language-switcher .lang-link {
    width: 36px;
    height: 20px;
    padding: 5px 0px;
    font-size: 13px;
    min-width: 45px;
    margin: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #213C5F;
    border-radius: 13px;
    background-color: white;
    color: #213C5F;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .site-header__language-switcher li a {
    padding: 5px 0 !important;
  }
  .site-header__language-switcher li:not(:last-child)::after {
    content: "/";
    margin: 0;
    font-size: 13px;
    color: #213C5F;
    font-family: "Hiragino UD Serif Std", serif;
    font-weight: 400;
    line-height: 1;
  }
  .site-header__language-switcher a[href*="/ja/"] {
    position: relative;
  }
  .site-header__language-switcher a[href*="/ja/"]::after {
    content: "JPN";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-family: "Hiragino UD Serif Std", serif;
    font-weight: 400;
    line-height: 1;
    color: #213C5F;
  }
  .site-header__language-switcher a[href*="/ja/"] {
    color: transparent !important;
  }
  .site-header__language-switcher a[href*="/en/"] {
    position: relative;
  }
  .site-header__language-switcher a[href*="/en/"]::after {
    content: "ENG";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-family: "Hiragino UD Serif Std", serif;
    font-weight: 400;
    line-height: 1;
    color: #213C5F;
  }
  .site-header__language-switcher a[href*="/en/"] {
    color: transparent !important;
  }
  .site-header__language-switcher .current-lang a[href*="/ja/"],
  .site-header__language-switcher .current-lang-link[href*="/ja/"],
  .site-header__language-switcher .current-lang-item a[href*="/ja/"],
  .site-header__language-switcher .lang-item-current a[href*="/ja/"] {
    width: 38px;
    background-color: #213C5F;
    border-color: #213C5F;
  }
  .site-header__language-switcher .current-lang a[href*="/ja/"]::after,
  .site-header__language-switcher .current-lang-link[href*="/ja/"]::after,
  .site-header__language-switcher .current-lang-item a[href*="/ja/"]::after,
  .site-header__language-switcher .lang-item-current a[href*="/ja/"]::after {
    color: #FFFFFF;
  }
  .site-header__language-switcher .current-lang a[href*="/en/"],
  .site-header__language-switcher .current-lang-link[href*="/en/"],
  .site-header__language-switcher .current-lang-item a[href*="/en/"],
  .site-header__language-switcher .lang-item-current a[href*="/en/"] {
    width: 38px;
    background-color: #213C5F;
    border-color: #213C5F;
  }
  .site-header__language-switcher .current-lang a[href*="/en/"]::after,
  .site-header__language-switcher .current-lang-link[href*="/en/"]::after,
  .site-header__language-switcher .current-lang-item a[href*="/en/"]::after,
  .site-header__language-switcher .lang-item-current a[href*="/en/"]::after {
    color: #FFFFFF;
  }
  .site-header__left {
    gap: 8px;
  }
  .site-header__right {
    gap: 6px;
  }
}
/* Top(ホーム)ではヘッダーの通常メニューは非表示 */
body.home .site-header__nav,
body.front-page .site-header__nav,
body.page .site-header__nav {
  display: none;
}

body.home .site-header__toggle,
body.front-page .site-header__toggle,
body.page .site-header__toggle {
  display: inline-flex;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 1001;
}

/* Cases アーカイブ/シングルでも通常ナビを隠し、トグルのみ表示 */
body.post-type-archive-case .site-header__nav,
body.single-case .site-header__nav {
  display: none;
}

body.post-type-archive-case .site-header__toggle,
body.single-case .site-header__toggle {
  display: inline-flex;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 1001;
}

/* ============================
   First View (FV) Section
   XDデザイン反映版
============================ */
/* ============================
   Page Overlay (全体の白画面)
============================ */
.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  animation: fadeOut 2s ease-out 0.5s forwards;
}

/* ============================
   FV Animation Keyframes
============================ */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInFromTop {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scrollFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.scroll-animate {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out !important;
  visibility: visible !important;
}
.scroll-animate.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fv {
  position: relative;
  width: 100%;
  height: 40vh;
  background-color: #fff;
  overflow: visible;
  z-index: 1;
}
@media (max-width: 768px) {
  .fv {
    height: 650px;
  }
}
.fv__catch {
  position: absolute;
  top: 5vh;
  left: 80px;
  width: 865px;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 77px;
  color: #213C5F;
  text-align: left;
  margin: 150px 40px 0;
  font-weight: 400;
  opacity: 0;
  transform: translateX(-100px);
  animation: slideInFromLeft 2s ease-out 1s forwards;
}
@media (max-width: 768px) {
  .fv__catch {
    position: static;
    margin: 80px 40px 0;
    font-size: 30px;
    line-height: 1.5;
    transform: translateY(-30px);
    animation: slideInFromTop 2s ease-out 1s forwards;
  }
}
.lang-en .fv__catch {
  top: 8vh;
  line-height: 1.2;
  font-size: 48px;
}
@media (max-width: 768px) {
  .lang-en .fv__catch {
    margin: 60px 40px 0;
    font-size: 28px;
    line-height: 1.3;
  }
}
.fv__scroll {
  position: absolute;
  right: 60px;
  top: 17vw;
  writing-mode: vertical-rl;
  z-index: 1;
}
@media (max-width: 768px) {
  .fv__scroll {
    top: 35vw;
  }
}
.fv__scroll::before {
  animation: scroll 2s infinite;
  animation-play-state: var(--animation-state, running);
  background-color: #213C5F;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
  z-index: 2;
}
.fv__scroll::after {
  background-color: rgba(33, 60, 95, 0.3);
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}
.fv__scroll-text {
  font-family: "Merriweather", serif;
  font-size: 13px;
  font-weight: bold;
  color: #213C5F;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .fv__scroll {
    right: 20px;
  }
  .fv__scroll::before {
    bottom: -60px;
    height: 50px;
  }
  .fv__scroll::after {
    bottom: -60px;
    height: 50px;
  }
}

/* ===== Below FV Section ===== */
.below-fv {
  width: 100%;
  box-sizing: border-box;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 100px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1.2s ease-out 2.2s forwards;
}
@media (max-width: 768px) {
  .below-fv {
    margin-top: -400px;
  }
}
.below-fv__inner {
  position: relative;
}
.below-fv__image {
  opacity: 0;
  animation: fadeInUp 1.5s ease-out 0.8s forwards;
}
.below-fv__image img {
  width: 100%;
  height: auto;
}
.below-fv__content {
  position: absolute;
  left: 60px;
  bottom: 40px;
  color: #fff;
  text-shadow: 0px 0px 6px #000000;
}
@media (max-width: 768px) {
  .below-fv__content {
    left: 40px;
    right: 40px;
  }
}
.below-fv__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 23px;
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 768px) {
  .below-fv__title {
    font-size: 17px;
    line-height: 1.5;
  }
}
.below-fv__text {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 23px;
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 768px) {
  .below-fv__text {
    font-size: 17px;
    line-height: 1.5;
  }
}
.lang-en .below-fv__title {
  font-size: 20px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .lang-en .below-fv__title {
    font-size: 15px;
    line-height: 1.4;
  }
}
.lang-en .below-fv__text {
  font-size: 20px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .lang-en .below-fv__text {
    font-size: 15px;
    line-height: 1.4;
  }
}

/* ============================
   下層ページ用の白画面オーバーレイ
============================ */
.subpage-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  animation: fadeOut 2s ease-out 0.5s forwards;
}

/* ============================
   下層ページのヒーロー要素
============================ */
.hero, .diamond-hero, .memorial-hero, .agency-hero, .case-hero {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out 1.5s, transform 1.5s ease-out 1.5s;
}
.hero.fade-in, .diamond-hero.fade-in, .memorial-hero.fade-in, .agency-hero.fade-in, .case-hero.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* 共通ヒーロー（TOP以外） */
.hero {
  width: 100%;
  box-sizing: border-box;
}
.hero__inner {
  max-width: 1104px;
  margin: 0 auto;
}
.hero__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 46px;
  color: #213C5F;
  margin: 5vw 0;
}
@media (max-width: 768px) {
  .hero__title {
    font-size: 30px;
    margin: 15vw 0;
  }
}
.hero__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
  object-fit: cover; /* PCで100%幅でも高さ問題が出ないように */
}

/* ページ用微調整 */
@media (max-width: 768px) {
  .hero--page .hero__image {
    width: 100vw;
    height: 60vh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    overflow: hidden;
  }
  .hero--page .hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (min-width: 1024px) {
  .hero--page .hero__inner {
    /* height: calc(100vh - 80px); */
    display: grid;
    grid-template-rows: auto 1fr;
  }
  .hero--page .hero__image {
    width: 100vw;
    height: 100%;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    border-radius: 10px;
  }
  .hero--page .hero__image img {
    height: 100%;
  }
}

/* ============================
   CTA Banner Section
   共通パーツ
============================ */
.cta {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 100px 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.cta.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
}
.cta.animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .cta {
    margin: 60px 20px;
  }
}
.cta__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .cta__container {
    gap: 25vw;
  }
}
.cta__banner {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0 80px;
}
@media (max-width: 768px) {
  .cta__banner {
    height: 40vh;
    padding: 0 20px;
  }
}
.cta__banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.cta__banner:hover .cta__overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.15) 100%);
}
.cta__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cta__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
}
.cta__content {
  position: relative;
  z-index: 3;
  align-content: center;
  height: 100%;
  padding: 0 40px;
  color: #fff;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5843137255);
}
@media (max-width: 768px) {
  .cta__content {
    padding: 0;
  }
}
.cta__title {
  position: relative;
  z-index: 3;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 84px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  margin: 0 0 8px 0;
}
@media (max-width: 768px) {
  .cta__title {
    font-size: 25px;
    line-height: 84px;
    text-align: center;
  }
}
.cta__desc {
  position: relative;
  z-index: 3;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 40px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.58);
  color: #fff;
}
@media (max-width: 768px) {
  .cta__desc {
    font-size: 20px;
    line-height: 25px;
    margin: auto;
    text-align: center;
  }
}
.cta__arrow {
  position: absolute;
  right: 40px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  z-index: 3;
}
@media (max-width: 768px) {
  .cta__arrow {
    width: 18px;
    height: 28px;
    top: 90%;
    right: 0;
  }
}
.cta__arrow::before, .cta__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 14px;
  height: 2px;
  background: #fff;
  transform-origin: right center;
  transition: all 0.4s ease-out;
}
.cta__arrow::before {
  transform: translateY(-50%) rotate(-45deg);
}
.cta__arrow::after {
  transform: translateY(-50%) rotate(45deg);
}
.cta__arrow-new {
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.cta__arrow-new::before, .cta__arrow-new::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 14px;
  height: 2px;
  background: #fff;
  transform-origin: right center;
  transform: translateY(-50%) translateX(-8px);
  transition: transform 0.5s ease-out 0.1s;
}
.cta__arrow-new::before {
  transform: translateY(-50%) translateX(-8px) rotate(-45deg);
}
.cta__arrow-new::after {
  transform: translateY(-50%) translateX(-8px) rotate(45deg);
}
.cta__banner:hover .cta__arrow::before {
  transform: translateY(-50%) translateX(8px) rotate(-45deg);
  opacity: 0;
}
.cta__banner:hover .cta__arrow::after {
  transform: translateY(-50%) translateX(8px) rotate(45deg);
  opacity: 0;
}
.cta__banner:hover .cta__arrow .cta__arrow-new {
  opacity: 1;
}
.cta__banner:hover .cta__arrow .cta__arrow-new::before {
  transform: translateY(-50%) translateX(0) rotate(-45deg);
}
.cta__banner:hover .cta__arrow .cta__arrow-new::after {
  transform: translateY(-50%) translateX(0) rotate(45deg);
}

/* ============================
   FAQ Section
   共通パーツ
============================ */
.faq {
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(33, 60, 95, 0.12);
  border-radius: 10px;
  padding: 80px 40px;
  margin: 100px auto;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.faq.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
}
.faq.animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .faq {
    padding: 40px 0;
    margin: 100px 20px;
    width: auto;
  }
}
.faq__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 84px;
  color: #213C5F;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .faq__title {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 20px;
  }
}
.faq__list {
  max-width: 1104px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}
@media (max-width: 768px) {
  .faq__list {
    padding: 20px;
  }
}
.faq__item {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 60px 20px 40px;
  position: relative;
  text-align: left;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 60px;
  color: #213C5F;
  cursor: pointer;
  transition: background 0.3s;
  list-style: none;
}
@media (max-width: 768px) {
  .faq__item {
    font-size: 15px;
    line-height: 20px;
    padding: 15px 50px 15px 20px;
  }
}
.faq__item:hover {
  background-color: rgba(33, 60, 95, 0.05);
}
.faq__item::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-top: 2px solid #213C5F;
  border-right: 2px solid #213C5F;
  transition: transform 0.4s ease-in-out;
}
@media (max-width: 768px) {
  .faq__item::after {
    right: 15px;
    border-top: 1px solid #213C5F;
    border-right: 1px solid #213C5F;
  }
}
.faq__item.is-open::after {
  transform: translateY(-50%) rotate(135deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 60px 0 40px;
}
.faq__answer p {
  margin: 0 0 16px;
  font-family: "Merriweather", serif;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.8;
  color: #213C5F;
}
.faq__answer p:last-child {
  margin-bottom: 0;
}
.faq__item.is-open .faq__answer {
  max-height: 500px;
  padding: 20px 60px 20px 40px;
  border-top: 1px solid rgba(33, 60, 95, 0.1);
  margin-top: 20px;
}
@media (max-width: 768px) {
  .faq__item.is-open .faq__answer {
    padding: 15px;
  }
}

/* ============================
   Footer Section
   XDデザイン反映版
============================ */
.site-footer {
  width: 100%;
  box-sizing: border-box;
  background-color: #213C5F;
  border-radius: 10px 10px 0 0;
  color: #fff;
  padding: 60px 80px;
  position: relative;
}
@media (max-width: 768px) {
  .site-footer {
    margin: 20px;
    width: auto;
    padding: 70px 40px;
    border-radius: 10px;
  }
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
@media (max-width: 768px) {
  .site-footer__inner {
    flex-direction: column;
    text-align: left;
    gap: 20px;
    position: relative;
  }
}
.site-footer__logo {
  width: 245px;
  height: auto;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .site-footer__logo {
    order: 1;
  }
}
@media (max-width: 768px) {
  .site-footer__logo a {
    padding: 20px;
  }
}
.site-footer__logo img {
  max-width: 100%;
  height: auto;
}
.site-footer__nav {
  padding: 20px;
  order: 2;
}
@media (max-width: 768px) {
  .site-footer__nav {
    margin-right: auto;
  }
}
.site-footer__logo {
  order: 1;
}
.site-footer__top {
  order: 3;
  margin-left: auto;
}
.site-footer__links {
  column-count: 2;
  column-gap: 120px;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 20px;
  line-height: 45px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 768px) {
  .site-footer__links {
    column-count: 1;
    font-size: 15px;
    line-height: 40px;
  }
}
.site-footer__links li {
  margin: 0;
  break-inside: avoid;
}
.site-footer__links a {
  display: block;
  color: #fff;
  text-decoration: none;
}
.site-footer__links a:hover {
  text-decoration: underline;
}
.site-footer__top {
  position: absolute;
  right: 40px;
  bottom: 40px;
  text-align: center;
  cursor: pointer;
}
@media (max-width: 768px) {
  .site-footer__top {
    order: 3;
    right: -20px;
    bottom: -20px;
  }
}
.site-footer__top-btn {
  background: transparent;
  border: 0;
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.site-footer__top-arrow {
  width: 28px;
  height: 14px;
  position: relative;
  display: inline-block;
}
.site-footer__top-arrow::before, .site-footer__top-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 19px;
  height: 2px;
  background: #fff;
}
.site-footer__top-arrow::before {
  left: 2px;
  transform: rotate(-45deg);
  transform-origin: left bottom;
}
.site-footer__top-arrow::after {
  right: 2px;
  transform: rotate(45deg);
  transform-origin: right bottom;
}
.site-footer__top-text {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 16px;
  line-height: 1;
}
.site-footer__links .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__links .sub-menu > li > a::before {
  content: "- ";
}
.site-footer__links a[href*=diamond]::before, .site-footer__links a[href*=memorial]::before {
  content: "- ";
}

.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: none;
  overflow: hidden;
}
.overlay-menu.is-open {
  display: block;
}
.overlay-menu__bg {
  position: absolute;
  border-radius: 50%;
  background: rgba(155, 155, 155, 0.2);
}
.overlay-menu__bg--circle-top {
  top: -10%;
  right: -8%;
  width: 25vw;
  height: 25vw;
  min-width: 280px;
  min-height: 280px;
  max-width: 400px;
  max-height: 400px;
}
@media (max-width: 768px) {
  .overlay-menu__bg--circle-top {
    top: -15%;
    right: -20%;
    width: 50vw;
    height: 50vw;
    min-width: 250px;
    min-height: 250px;
    max-width: 400px;
    max-height: 400px;
  }
}
.overlay-menu__bg--circle-center {
  top: 50%;
  left: 50%;
  width: 45vw;
  height: 45vw;
  max-width: 800px;
  max-height: 800px;
  transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
  .overlay-menu__bg--circle-center {
    display: none;
  }
}
.overlay-menu__bg--circle-bottom {
  bottom: -8%;
  left: -10%;
  width: 25vw;
  height: 25vw;
  min-width: 280px;
  min-height: 280px;
  max-width: 400px;
  max-height: 400px;
}
@media (max-width: 768px) {
  .overlay-menu__bg--circle-bottom {
    bottom: -5%;
    left: -15%;
    width: 50vw;
    height: 50vw;
    min-width: 250px;
    min-height: 250px;
    max-width: 400px;
    max-height: 400px;
  }
}
.overlay-menu__bg--circle-br {
  display: none;
}
.overlay-menu__logo {
  position: absolute;
  top: 24px;
  left: 24px;
}
@media (max-width: 768px) {
  .overlay-menu__logo {
    top: 16px;
    left: 16px;
    padding: 10px;
  }
}
.overlay-menu__logo img {
  display: block;
  width: 213px;
  height: auto;
}
@media screen and (max-width: 768px) {
  .overlay-menu__logo img {
    width: 160px;
  }
}
.overlay-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  text-align: center;
  cursor: pointer;
}
@media (max-width: 768px) {
  .overlay-menu__close {
    top: 16px;
    right: 16px;
    padding: 10px;
  }
}
.overlay-menu__close-icon {
  position: relative;
  display: block;
  width: 35px;
  height: 30px;
}
.overlay-menu__close-icon::before, .overlay-menu__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 35px;
  height: 2px;
  background: #213c5f;
  transform-origin: center;
}
.overlay-menu__close-icon::before {
  transform: translateY(-50%) rotate(45deg);
}
.overlay-menu__close-icon::after {
  transform: translateY(-50%) rotate(-45deg);
}
.overlay-menu__close-text {
  display: block;
  margin-top: 4px;
  font-family: "Merriweather", serif;
  font-size: 12px;
  font-weight: bold;
  color: #213c5f;
}
.overlay-menu__nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
@media (max-width: 768px) {
  .overlay-menu__nav {
    text-align: left;
    padding-left: 20px;
    width: calc(100% - 40px);
    left: 20px;
    transform: translateY(-50%);
  }
}
.overlay-menu__nav ul,
.overlay-menu__nav .overlay-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.overlay-menu__nav ul li,
.overlay-menu__nav .overlay-menu__list li {
  margin: 18px 0;
}
@media (max-width: 768px) {
  .overlay-menu__nav ul li,
  .overlay-menu__nav .overlay-menu__list li {
    margin: 0;
  }
}
.overlay-menu__nav ul li a,
.overlay-menu__nav .overlay-menu__list li a {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  color: #213c5f;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
  display: block;
}
@media (max-width: 768px) {
  .overlay-menu__nav ul li a,
  .overlay-menu__nav .overlay-menu__list li a {
    font-size: 18px;
    line-height: 45px;
  }
}
.overlay-menu__nav ul li a:hover,
.overlay-menu__nav .overlay-menu__list li a:hover {
  color: rgb(19.8515625, 36.09375, 57.1484375);
  border-color: currentColor;
}
.overlay-menu__nav .sub-menu {
  margin-top: 8px;
}
@media (max-width: 768px) {
  .overlay-menu__nav .sub-menu {
    margin-top: 0;
    margin-left: 16px;
  }
}
.overlay-menu__nav .sub-menu li {
  margin: 12px 0;
}
@media (max-width: 768px) {
  .overlay-menu__nav .sub-menu li {
    margin: 0;
  }
}
.overlay-menu__nav .sub-menu li a {
  font-size: clamp(16px, 1.6vw, 20px);
}
@media (max-width: 768px) {
  .overlay-menu__nav .sub-menu li a {
    font-size: 18px;
    line-height: 45px;
  }
}
.overlay-menu__nav .sub-menu li a::before {
  content: "- ";
  margin-right: 4px;
}

/* リンクなし項目 */
.menu-item a[href="javascript:void(0);"] {
  pointer-events: none; /* クリック無効化 */
  cursor: default; /* 通常のカーソルに */
  text-decoration: none; /* 下線削除 */
}

/* ホバー時も下線が出ないように */
.menu-item a[href="javascript:void(0);"]:hover {
  text-decoration: none;
}

.page-front {
  overflow-x: hidden;
}

/* Voices - お客様の声 */
.voices {
  padding: 120px 20px;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.voices.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
}
.voices.animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .voices {
    padding: 80px 20px;
  }
}
.voices__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem);
  color: #213C5F;
  margin-bottom: 2.2rem;
}
@media (max-width: 768px) {
  .voices__title {
    font-size: 20px;
    margin-bottom: 1.5rem;
    text-align: center;
  }
}
.voices__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 768px) {
  .voices__list {
    grid-template-columns: 1fr;
  }
}
.voices__item {
  background: #fff;
  border: 1px solid #213C5F;
  border-radius: 10px;
  padding: 24px;
  transition: background-color 0.3s ease;
}
@media (max-width: 768px) {
  .voices__item {
    padding: 20px;
  }
}
.voices__item:hover {
  background-color: #f8f9fa;
}
.voices__item:hover .voices__name,
.voices__item:hover .voices__text,
.voices__item:hover .voices__role {
  color: #6c757d;
}
@media (max-width: 768px) {
  .voices__item:nth-child(n+2) {
    display: none;
  }
}
.voices__item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #213C5F;
  text-decoration: none;
}
.voices__more {
  text-align: center;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .voices__more {
    margin-top: 40px;
  }
}
.voices__more-link {
  font-size: 18px;
  color: #213C5F;
  text-decoration: none;
  letter-spacing: -1.5px;
  perspective: 800px;
}
@media (max-width: 768px) {
  .voices__more-link {
    font-size: 15px;
  }
}
.voices__more-link span {
  display: inline-block;
  transition: transform 0.6s ease;
  transform-origin: center;
  backface-visibility: hidden;
}
.voices__more-link:hover span {
  transform: rotateY(360deg);
}
.voices__more-link:hover span:nth-child(1) {
  transition-delay: 0s;
}
.voices__more-link:hover span:nth-child(2) {
  transition-delay: 0.1s;
}
.voices__more-link:hover span:nth-child(3) {
  transition-delay: 0.2s;
}
.voices__more-link:hover span:nth-child(4) {
  transition-delay: 0.3s;
}
.voices__thumb-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .voices__thumb-wrap {
    margin-bottom: 12px;
    order: 2;
  }
}
.voices__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.voices__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #c0c4ca;
}
.voices__thumb {
  display: none;
}
.voices__name {
  font-size: 20px;
  color: #213C5F;
}
@media (max-width: 768px) {
  .voices__name {
    font-size: 18px;
    order: 1;
    text-align: center;
    margin: auto;
    margin-bottom: 3vh;
  }
}
.voices__role {
  font-size: 14px;
  color: #213C5F;
  opacity: 0.8;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .voices__role {
    font-size: 13px;
    margin-bottom: 8px;
    order: 4;
    text-align: center;
  }
}
.voices__text {
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.9;
  color: #213C5F;
}
@media (max-width: 768px) {
  .voices__text {
    font-size: 14px;
    order: 3;
    text-align: center;
  }
}
.voices__more {
  margin-top: 8vw;
  text-align: right;
  position: relative;
  padding-top: 26px;
}
@media (max-width: 768px) {
  .voices__more {
    margin-top: 20vw;
  }
}
.voices__more::before {
  content: "";
  position: absolute;
  right: 40px;
  width: 20vw;
  top: 0;
  height: 0;
  border-bottom: 1px solid #213C5F;
}
@media (max-width: 768px) {
  .voices__more::before {
    width: 35vw;
    right: 0;
  }
}
.voices__more::after {
  content: "";
  position: absolute;
  right: calc(35px + 0vw);
  top: -8px;
  width: 15px;
  height: 5px;
  border-bottom: 1px solid #213C5F;
  transform: rotate(45deg);
}
@media (max-width: 768px) {
  .voices__more::after {
    right: -1vw;
  }
}
.voices__more-link {
  color: #213C5F;
  text-decoration: none;
  position: absolute;
  right: 60px;
  top: -30px;
}
@media (max-width: 768px) {
  .voices__more-link {
    font-size: 15px;
    right: 10vw;
    top: -6vw;
  }
}

/* TOP page specific styles */
/* FV adjustments */
.fv__catch {
  width: auto; /* prevent forced line breaks */
  max-width: 100%;
}

/* Section just below FV */
/* About-like feature block on TOP */
.feature {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 120px 20px;
  position: relative;
  overflow: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.feature.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
}
.feature.animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .feature {
    display: grid;
    grid-template-areas: "title" "image" "subtitle" "text" "more";
    gap: 24px;
    padding: 60px 24px;
  }
}
.feature__image {
  flex: 1;
}
@media (max-width: 768px) {
  .feature__image {
    grid-area: image;
  }
}
.feature__image img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}
.feature__content {
  flex: 1;
}
@media (max-width: 768px) {
  .feature__content {
    display: contents;
  }
}
.feature__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem);
  line-height: 1.8;
  color: #213C5F;
}
@media (max-width: 768px) {
  .feature__title {
    grid-area: title;
    font-size: 25px;
    text-align: center;
    margin-bottom: 0;
  }
}
.feature__subtitle {
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
  margin-top: 0.7rem;
  color: #213C5F;
  font-weight: 600;
}
@media (max-width: 768px) {
  .feature__subtitle {
    grid-area: subtitle;
    font-size: 20px;
    text-align: left;
    font-weight: 600;
    margin: 0;
    padding: 20px;
  }
}
.feature__text {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  margin-top: 1.2rem;
  color: #213C5F;
}
@media (max-width: 768px) {
  .feature__text {
    grid-area: text;
    font-size: 15px;
    text-align: left;
    margin: 0;
    padding: 0 20px;
  }
}
.feature__more {
  margin-top: 8vw;
  display: block;
  position: relative;
  padding-top: 26px;
}
@media (max-width: 768px) {
  .feature__more {
    grid-area: more;
  }
}
.feature__more .feature__link {
  font-size: 18px;
  color: #213C5F;
  margin-left: 12px;
  position: absolute;
  right: 60px;
  top: -30px;
  text-decoration: none;
  letter-spacing: -1.5px;
  perspective: 800px;
}
@media (max-width: 768px) {
  .feature__more .feature__link {
    font-size: 15px;
    right: 10vw;
    top: -6vw;
  }
}
.feature__more .feature__link span {
  display: inline-block;
  transition: transform 0.6s ease;
  transform-origin: center;
  backface-visibility: hidden;
}
.feature__more .feature__link:hover span {
  transform: rotateY(360deg);
}
.feature__more .feature__link:hover span:nth-child(1) {
  transition-delay: 0s;
}
.feature__more .feature__link:hover span:nth-child(2) {
  transition-delay: 0.1s;
}
.feature__more .feature__link:hover span:nth-child(3) {
  transition-delay: 0.2s;
}
.feature__more .feature__link:hover span:nth-child(4) {
  transition-delay: 0.3s;
}
.feature__more::before {
  content: "";
  position: absolute;
  right: 40px;
  width: 15vw;
  top: 0;
  height: 1px;
  border-bottom: 1px solid #213C5F;
  transition: width 0.8s ease-out;
}
@media (max-width: 768px) {
  .feature__more::before {
    width: 35vw;
    right: 0;
  }
}
.feature__more::after {
  content: "";
  position: absolute;
  right: calc(35px + 0vw);
  top: -8px;
  width: 15px;
  height: 5px;
  border-bottom: 1px solid #213C5F;
  transform: rotate(45deg);
  transition: width 0.8s ease-out;
}
@media (max-width: 768px) {
  .feature__more::after {
    right: -1vw;
  }
}
.feature__more:hover::before {
  width: 15vw;
}
@media (max-width: 768px) {
  .feature__more:hover::before {
    width: 35vw;
  }
}
.feature__more:hover::after {
  width: 15px;
}
.feature::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -10vw;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  .feature::after {
    right: -30vw;
    bottom: -10vw;
    width: 80vw;
    height: 80vw;
  }
}

/* Services section on TOP */
.services {
  margin: 0 auto;
  padding: 120px 20px;
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 40px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.services.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
}
.services.animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .services {
    gap: 25vw;
    padding: 50px 20px;
  }
}
.services__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.services__item img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  transition: transform 0.3s ease;
}
.services__item::before { /* dark overlay */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background-color 0.3s ease;
}
.services__item:hover img {
  transform: scale(1.05);
}
.services__item:hover::before {
  background: rgba(0, 0, 0, 0.3);
}
.services__item:hover .services__content {
  transform: scale(1.05);
}
.services__content {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5843137255);
  padding: 20px;
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  .services__content {
    padding: 0;
  }
}
.services__content h3 {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
@media (max-width: 768px) {
  .services__content h3 {
    font-size: 25px;
    margin: 0;
  }
}
.services__content .services__lead {
  font-size: 20px;
  font-family: "Hiragino UD Serif Std", serif;
}
@media (max-width: 768px) {
  .services__content .services__lead {
    margin: 0;
  }
}
.services__content p {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.125rem);
  line-height: 1.8;
  margin-bottom: 1.4rem;
  max-width: min(760px, 86vw);
}
@media (max-width: 768px) {
  .services__content p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    margin: 5vw 0;
  }
}
.services__content .sp-only {
  display: none;
}
@media (max-width: 768px) {
  .services__content .sp-only {
    display: inline;
  }
}
.services__content .btn-more {
  display: inline-block;
  padding: 10px 40px;
  border: 1px solid #fff;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .services__content .btn-more {
    font-size: 15px;
    padding: 5px 30px;
  }
}
.services__content .btn-more:hover {
  background-color: #fff !important;
  color: #000 !important;
}
.services__content .services__title-underline {
  width: 40vw;
  height: 1px;
  background: #fff;
  margin: 12px 0 22px;
}
@media (max-width: 768px) {
  .services__content .services__title-underline {
    margin: 5vw 0;
    width: 80vw;
  }
}

/* =============================
   TOP: process section
============================= */
.process {
  padding: 120px 20px;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 40px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.process.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
}
.process.animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .process {
    display: grid;
    grid-template-areas: "title" "image" "lead" "text" "more";
    gap: 24px;
    padding: 50px 20px;
  }
}
.process__image {
  flex: 1;
}
@media (max-width: 768px) {
  .process__image {
    grid-area: image;
  }
}
.process__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.process__content {
  flex: 1;
}
@media (max-width: 768px) {
  .process__content {
    grid-area: content;
    display: contents;
  }
}
.process__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem);
  line-height: 1.8;
  color: #213C5F;
}
@media (max-width: 768px) {
  .process__title {
    grid-area: title;
    font-size: 25px;
    text-align: center;
    margin-bottom: 0;
  }
}
.process__lead {
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
  margin-top: 6rem;
  color: #213C5F;
  font-weight: 600;
}
@media (max-width: 768px) {
  .process__lead {
    grid-area: lead;
    font-size: 20px;
    text-align: left;
    font-weight: 600;
    padding: 20px;
    margin-top: 0;
  }
}
.process__text {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  margin-top: 1.2rem;
  color: #213C5F;
}
@media (max-width: 768px) {
  .process__text {
    grid-area: text;
    font-size: 15px;
    text-align: left;
    margin: 0;
    padding: 0 20px;
  }
}
.process__more {
  margin-top: 8vw;
  position: relative;
  padding-top: 26px;
  text-align: left;
}
@media (max-width: 768px) {
  .process__more {
    grid-area: more;
    margin-top: 15vw;
  }
}
.process__more::before {
  content: "";
  position: absolute;
  right: 40px;
  width: 20vw;
  top: 0;
  height: 0;
  border-bottom: 1px solid #213C5F;
  transition: width 0.8s ease-out;
}
@media (max-width: 768px) {
  .process__more::before {
    right: 0;
    width: 35vw;
  }
}
.process__more::after {
  content: "";
  position: absolute;
  right: calc(35px + 0vw);
  top: -8px;
  width: 15px;
  height: 5px;
  border-bottom: 1px solid #213C5F;
  transform: rotate(45deg);
  transition: width 0.8s ease-out;
}
@media (max-width: 768px) {
  .process__more::after {
    right: -1vw;
  }
}
.process__more:hover::before {
  width: 20vw;
}
@media (max-width: 768px) {
  .process__more:hover::before {
    width: 35vw;
  }
}
.process__more:hover::after {
  width: 15px;
}
.process__more-link {
  font-size: 18px;
  color: #213C5F;
  position: absolute;
  right: 60px;
  top: -30px;
  text-decoration: none;
  letter-spacing: -1.5px;
  perspective: 800px;
}
@media (max-width: 768px) {
  .process__more-link {
    font-size: 15px;
    right: 10vw;
    top: -6vw;
  }
}
.process__more-link span {
  display: inline-block;
  transition: transform 0.6s ease;
  transform-origin: center;
  backface-visibility: hidden;
}
.process__more-link:hover span {
  transform: rotateY(360deg);
}
.process__more-link:hover span:nth-child(1) {
  transition-delay: 0s;
}
.process__more-link:hover span:nth-child(2) {
  transition-delay: 0.1s;
}
.process__more-link:hover span:nth-child(3) {
  transition-delay: 0.2s;
}
.process__more-link:hover span:nth-child(4) {
  transition-delay: 0.3s;
}
.process::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -10vw;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .process::after {
    right: -30vw;
    bottom: -15vw;
    width: 80vw;
    height: 80vw;
  }
}

/* Diamond page */
.diamond-hero {
  padding: 40px 0 0;
}
.diamond-hero__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 28px;
  color: #213C5F;
  margin-bottom: 20px;
}
.diamond-hero__image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* Voice single */
.page-voice-single {
  color: #213C5F;
}

.voice-hero {
  padding: 40px 20px 0;
  text-align: center;
  position: relative;
}

.voice-hero__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 28px;
  margin-bottom: 6px;
}

.voice-hero__type {
  opacity: 0.8;
  margin-bottom: 16px;
}

.voice-hero__image {
  max-width: 1080px;
  margin: 0 auto;
}

.voice-hero__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.voice-hero__placeholder {
  height: 320px;
  background: #e6e9ee;
  border-radius: 10px;
}

.voice-content {
  padding: 30px 20px;
}

.voice-content__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
}

.voice-content__body {
  line-height: 1.9;
}

.voice-meta {
  background: #f7f9fb;
  border-radius: 10px;
  padding: 16px;
}

.voice-meta dt {
  font-weight: bold;
  margin-top: 10px;
}

.voice-meta dt:first-child {
  margin-top: 0;
}

.voice-meta dd {
  margin: 0;
}

.voice-content__more {
  max-width: 1080px;
  margin: 24px auto 0;
  text-align: right;
}

.voice-content__back {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(33, 60, 95, 0.4);
  border-radius: 999px;
  color: #213C5F;
  text-decoration: none;
  font-size: 15px;
}

.voice-related {
  padding: 20px;
}

.voice-related__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 22px;
  margin-bottom: 16px;
}

.voice-related__list {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.voice-card {
  background: #fff;
  border: 1px solid #213C5F;
  border-radius: 10px;
  overflow: hidden;
}

.voice-card__link {
  display: flex;
  flex-direction: column;
  color: #213C5F;
  text-decoration: none;
  height: 100%;
}

.voice-card__thumb {
  height: 180px;
  background: #c0c4ca;
}

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

.voice-card__placeholder {
  width: 100%;
  height: 100%;
  background: #c0c4ca;
}

.voice-card__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 18px;
  margin: 12px 12px 6px;
}

.voice-card__excerpt {
  margin: 0 12px 10px;
  line-height: 1.7;
}

.voice-card__type {
  margin: 0 12px 14px;
  font-size: 12px;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .voice-content__inner {
    grid-template-columns: 1fr;
  }
  .voice-related__list {
    grid-template-columns: 1fr;
  }
}
/* Voice archive */
.page-voice-archive {
  color: #213C5F;
}

.voice-archive-hero {
  text-align: center;
  padding: 40px 20px 0;
}

.voice-archive-hero__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 28px;
}

.voice-archive-hero__image {
  height: 160px;
  margin: 10px auto 0;
  max-width: 1080px;
  border-radius: 10px;
  background: #f0f2f5;
}

.voice-archive-list {
  padding: 20px;
}

.voice-archive-list__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.voice-archive-empty {
  text-align: center;
}

.voice-archive-pagination {
  max-width: 1080px;
  margin: 24px auto;
  text-align: center;
}

@media (max-width: 900px) {
  .voice-archive-list__grid {
    grid-template-columns: 1fr;
  }
}
.diamond-intro {
  text-align: center;
  padding: 40px 20px;
}
.diamond-intro__lead {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 18px;
  color: #213C5F;
  margin-bottom: 14px;
}
.diamond-intro__text {
  color: #213C5F;
  line-height: 1.9;
}

.diamond-steps {
  padding: 60px 20px;
}
.diamond-steps__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 20px;
  color: #213C5F;
  margin-bottom: 20px;
}
.diamond-steps__list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.diamond-steps__item {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  background: #f5f7fa;
  border-radius: 10px;
  padding: 10px 16px;
  color: #213C5F;
}
.diamond-steps__num {
  font-family: "Hiragino UD Serif Std", serif;
  font-weight: bold;
}

/* Company Profile Section */
.company-profile {
  padding: 80px 20px;
  background: #f8f9fa;
}
.company-profile__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Greeting Section */
.greeting {
  margin-bottom: 60px;
  text-align: center;
}
.greeting__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
  color: #213C5F;
  margin-bottom: 30px;
}
.greeting__image {
  margin-bottom: 30px;
}
.greeting__image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}
.greeting__content {
  max-width: 800px;
  margin: 0 auto;
}
.greeting__text {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
  line-height: 1.8;
  color: #213C5F;
  margin-bottom: 30px;
}
.greeting__signature {
  text-align: right;
}
.greeting__company {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 18px;
  color: #213C5F;
  margin-bottom: 5px;
}
.greeting__name {
  font-size: 16px;
  color: #213C5F;
  margin: 0;
}

/* Company Info Section */
.company-info__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
  color: #fff;
  background: #213c5f;
  text-align: center;
  padding: 20px;
  margin: 0 0 0;
  border-radius: 10px 10px 0 0;
}
.company-info__table {
  background: #fff;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}
.company-info__row {
  border-bottom: 1px solid #e0e0e0;
}
.company-info__row:last-child {
  border-bottom: none;
}
.company-info__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.company-info__label {
  font-size: 14px;
  color: #213C5F;
  margin-bottom: 8px;
  font-weight: 500;
}
.company-info__value {
  font-size: 16px;
  color: #213C5F;
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .company-profile {
    padding: 60px 20px;
  }
  .greeting {
    margin-bottom: 40px;
  }
  .greeting__title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .greeting__image {
    margin-bottom: 20px;
  }
  .greeting__image img {
    max-width: 300px;
  }
  .greeting__text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .greeting__company {
    font-size: 16px;
  }
  .greeting__name {
    font-size: 14px;
  }
  .company-info__title {
    font-size: 20px;
    padding: 15px;
  }
  .company-info__cell {
    padding: 15px;
  }
  .company-info__label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .company-info__value {
    font-size: 15px;
  }
}
/* About page */
.page-about {
  overflow-x: hidden;
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}
.greeting {
  padding: clamp(2.5rem, 4vw, 5rem) clamp(1.25rem, 5vw, 5rem);
  position: relative;
  overflow: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.greeting.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.greeting.animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .greeting {
    padding: 6rem 1.25rem;
  }
}
.greeting__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .greeting__inner {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: none;
  }
}
.greeting__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.4rem, 1rem + 1.5vw, 1.9rem);
  color: #213C5F;
  margin-bottom: 0.75rem;
  text-align: left;
  padding-left: 30px;
  grid-column: 1;
}
@media (max-width: 768px) {
  .greeting__title {
    grid-column: auto;
    text-align: center;
    margin: auto;
    padding-left: 0;
  }
}
.greeting__content {
  grid-column: 1;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .greeting__content {
    grid-column: auto;
    order: 2;
    padding: 0 20px;
  }
}
.greeting__text {
  color: #213C5F;
  line-height: 1.9;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.125rem);
  text-align: left;
}
@media (max-width: 768px) {
  .greeting__text {
    text-align: left;
    line-height: 1.5;
  }
}
.greeting__image {
  grid-column: 2;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
  display: block;
}
@media (max-width: 768px) {
  .greeting__image {
    grid-column: auto;
    order: 1;
    max-width: 280px;
    display: contents;
  }
}
.greeting__image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.greeting__signature {
  margin-top: 14px;
  color: #213C5F;
  text-align: center;
}
@media (max-width: 768px) {
  .greeting__signature {
    order: 3;
    text-align: right;
    margin-left: auto;
    margin-right: 20px;
  }
}
.greeting__company {
  font-size: 20px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .greeting__company {
    font-size: 17px;
  }
}
.greeting__ceo {
  font-size: 25px;
  margin-top: 4px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .greeting__ceo {
    font-size: 17px;
  }
}

.greeting::after {
  content: "";
  position: absolute;
  left: -10vw;
  bottom: -8vw;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.06);
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) {
  .greeting::after {
    right: -35vw;
    bottom: 15vw;
    width: 80vw;
    height: 80vw;
  }
}

.philosophy {
  text-align: center;
  padding: clamp(3rem, 6vw, 6.25rem) 1.25rem;
  position: relative;
  overflow: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.philosophy.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.philosophy.animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .philosophy {
    padding: 50px 40px 100px 40px;
  }
}
.philosophy__inner {
  max-width: 1104px;
  margin: 0 auto;
}
.philosophy__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  color: #213C5F;
  margin-bottom: 1.2rem;
}
@media (max-width: 768px) {
  .philosophy__title {
    font-size: 25px;
    margin-bottom: 3rem;
  }
}
.philosophy__lead {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.1rem, 1rem + 1vw, 1.6rem);
  font-weight: bold;
  color: #213C5F;
  margin: 0.4rem 0 1.4rem;
}
.philosophy__text {
  color: #213C5F;
  max-width: 980px;
  margin: 0 auto;
  line-height: 2;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
}
.philosophy__bullets {
  list-style: none;
  padding: 0;
  margin: 24px auto;
  max-width: 980px;
  color: #213C5F;
  text-align: left;
}
.philosophy__bullets li {
  position: relative;
  padding-left: 18px;
  font-family: "Hiragino UD Serif Std", serif;
  font-weight: 600;
  text-align: center;
  line-height: 2;
}
@media (max-width: 768px) {
  .philosophy__bullets li {
    text-align: left;
  }
}
.philosophy__bullets li::before {
  content: "-";
  position: absolute;
  left: 18vw;
  top: 0;
}
@media (max-width: 768px) {
  .philosophy__bullets li::before {
    left: 0;
  }
}
@media (max-width: 768px) {
  .philosophy__title {
    font-size: 25px;
  }
  .philosophy__lead {
    text-align: left;
  }
  .philosophy__text {
    text-align: left;
  }
}

.philosophy::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -8vw;
  width: 30vw;
  height: 30vw;
  min-width: 240px;
  min-height: 240px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.06);
  pointer-events: none;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .philosophy::after {
    right: -35vw;
    bottom: -15vw;
    width: 80vw;
    height: 80vw;
    min-width: 0;
    min-height: 0;
  }
}

.company-info {
  padding: 60px 80px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.company-info.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.company-info.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.company-info__inner {
  margin: 0 auto;
}
.company-info__heading {
  background: #213C5F;
  color: #fff;
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 24px;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 0 auto 50px;
  width: 100%;
  box-sizing: border-box;
}
.company-info__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #213C5F;
  border-radius: 10px;
  overflow: visible;
}
.company-info__table th, .company-info__table td {
  padding: 16px 20px;
  text-align: left;
  color: #213C5F;
  border: 0;
  font-size: 25px;
  /*border: 2px solid #213C5F;*/
  border-radius: 20px;
  border-collapse: separate;
  font-weight: 600;
}
.company-info__table th {
  width: 220px;
  font-weight: bold;
  background: transparent;
  text-align: center;
}
.company-info__table tr {
  border-bottom: 1px solid #213C5F;
}
.company-info__table tr:last-child {
  border-bottom: 0;
}
@media (min-width: 769px) {
  .company-info__table tr:first-child th:first-child, .company-info__table tr:first-child td:first-child {
    border-top-left-radius: 10px;
  }
  .company-info__table tr:first-child th:last-child, .company-info__table tr:first-child td:last-child {
    border-top-right-radius: 10px;
  }
  .company-info__table tr:last-child th:first-child, .company-info__table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
  }
  .company-info__table tr:last-child th:last-child, .company-info__table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
  }
}
.company-info .map-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 の比率（600÷800=0.75なら75%に） */
}
.company-info .map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.company-info__map {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.company-info__map img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .company-info__map img {
    height: 300px;
  }
}
@media (max-width: 768px) {
  .company-info {
    padding: 40px 20px;
  }
  .company-info__heading {
    font-size: 25px;
  }
  .company-info__table {
    border: 2px solid #213C5F;
    border-radius: 20px;
    border-collapse: separate;
  }
  .company-info__table th, .company-info__table td {
    display: block !important;
    width: 100% !important;
    padding: 12px 16px !important;
    border-bottom: none !important;
    box-sizing: border-box !important;
    background: #fff !important;
    text-align: center !important;
    font-size: 20px;
  }
  .company-info__table th {
    font-weight: bold !important;
    background: #fff !important;
    border-bottom: none !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #213C5F !important;
    margin-bottom: 0 !important;
    padding-bottom: 4px !important;
  }
  .company-info__table td {
    border-top: none !important;
    font-size: 16px !important;
    color: #213C5F !important;
    line-height: 1.5 !important;
    text-align: center !important;
    padding-top: 4px !important;
  }
  .company-info__table tr {
    display: block !important;
  }
}

.about-divider {
  width: 100%;
  margin: 40px 0;
}
.about-divider img {
  width: calc(100% - 40px);
  height: auto;
  display: block;
  object-fit: cover;
  margin: 0 20px;
}

.page-agency {
  color: #213C5F;
  position: relative;
  overflow-x: clip;
}

.agency-hero {
  padding: 50px 20px 10px;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.agency-hero.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.agency-hero.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.agency-hero__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 30px;
  margin-bottom: 10px;
}
.agency-hero__lead {
  max-width: 880px;
  margin: 0 auto 16px;
  line-height: 1.8;
}
.agency-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.agency-cases__more {
  text-align: center;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .agency-cases__more {
    margin-top: 40px;
  }
}
.agency-cases__more-link {
  font-size: 18px;
  color: #213C5F;
  text-decoration: none;
  letter-spacing: -1.5px;
  perspective: 800px;
}
@media (max-width: 768px) {
  .agency-cases__more-link {
    font-size: 15px;
  }
}
.agency-cases__more-link span {
  display: inline-block;
  transition: transform 0.6s ease;
  transform-origin: center;
  backface-visibility: hidden;
}
.agency-cases__more-link:hover span {
  transform: rotateY(360deg);
}
.agency-cases__more-link:hover span:nth-child(1) {
  transition-delay: 0s;
}
.agency-cases__more-link:hover span:nth-child(2) {
  transition-delay: 0.1s;
}
.agency-cases__more-link:hover span:nth-child(3) {
  transition-delay: 0.2s;
}
.agency-cases__more-link:hover span:nth-child(4) {
  transition-delay: 0.3s;
}

.agency-lead {
  padding: 100px 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.agency-lead.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.agency-lead.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.agency-lead__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.agency-lead__cap {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 25px;
  letter-spacing: 0.08em;
  color: #213C5F;
  margin-bottom: 6px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .agency-lead__cap {
    font-size: 20px;
    font-weight: 400;
  }
}
.agency-lead__text {
  line-height: 1.8;
  font-size: 25px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .agency-lead__text {
    font-size: 20px;
    font-weight: 400;
  }
}

.agency-points {
  padding: clamp(24px, 4vw, 48px) clamp(12px, 3vw, 40px);
  position: relative;
}
.agency-points::before {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -5vw;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .agency-points::before {
    right: -50vw;
    bottom: -40vw;
    width: 90vw;
    height: 90vw;
  }
}
.agency-points__list {
  max-width: min(1440px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(12px, 2vw, 24px);
}
@media (max-width: 768px) {
  .agency-points__list {
    grid-template-columns: 1fr;
    gap: 10vw;
  }
}

.agency-point {
  background: transparent;
  border: none;
  padding: 0;
}
.agency-point__thumb {
  border-radius: 10px;
  overflow: hidden;
  height: clamp(160px, 18vw, 220px);
  background: #e6e9ee;
}
@media (max-width: 768px) {
  .agency-point__thumb {
    height: 300px;
  }
}
.agency-point__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.agency-point__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 25px;
  margin: 2vw 6px;
  text-align: center;
  font-weight: 600;
}
@media (max-width: 768px) {
  .agency-point__title {
    font-size: 20px;
    text-align: left;
    padding: 40px 20px 0 20px;
  }
}
.agency-point__text {
  line-height: 1.6;
  font-size: 18px;
  text-align: center;
}
@media (max-width: 768px) {
  .agency-point__text {
    font-size: 20px;
    text-align: left;
    padding: 0 20px;
  }
}

/* stepsは以前のflowデザインを踏襲 -> .agency-flowで定義 */
.agency-benefits {
  padding: clamp(24px, 4vw, 48px) clamp(12px, 3vw, 40px) clamp(12px, 3vw, 24px);
}
.agency-benefits__inner {
  max-width: min(1200px, 94vw);
  margin: 0 auto;
}
.agency-benefits__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(20px, 1.6vw, 24px);
  margin-bottom: clamp(12px, 2vw, 18px);
}
.agency-benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 18px);
}

.agency-benefit {
  display: none;
}

.agency-cases {
  padding: clamp(24px, 4vw, 48px) clamp(12px, 3vw, 40px) clamp(36px, 6vw, 72px);
  position: relative;
}
@media (max-width: 768px) {
  .agency-cases {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
.agency-cases::before {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -10vw;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
}
.agency-cases__inner {
  margin: 0 auto;
  position: relative;
}
.agency-cases__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(28px, 2.6vw, 40px);
  margin-bottom: clamp(16px, 2.6vw, 28px);
}
@media (max-width: 768px) {
  .agency-cases__title {
    font-size: 25px;
    margin: 10vw 0;
  }
}
.agency-cases__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(16px, 2.2vw, 24px);
  max-width: min(1280px, 96vw);
  margin: 0 auto;
}
@media (max-width: 768px) {
  .agency-cases__list {
    grid-template-columns: 1fr;
    gap: 10vw;
  }
}

.agency-case {
  background: #fff;
  border: 1px solid rgba(33, 60, 95, 0.2);
  border-radius: 10px;
  padding: clamp(12px, 1.6vw, 16px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 768px) {
  .agency-case {
    padding: 10vw 20px;
  }
}
.agency-case__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.agency-case__heading {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 18px;
  margin: 0 0 10px;
  text-decoration: none;
  text-align: center;
}
@media (max-width: 768px) {
  .agency-case__heading {
    margin: 0.5rem 0;
    font-size: 20px;
  }
}
.agency-case__thumb {
  border-radius: 10px;
  overflow: hidden;
  height: clamp(160px, 18vw, 220px);
  background: #e6e9ee;
}
@media (max-width: 768px) {
  .agency-case__thumb {
    height: 250px;
  }
}
.agency-case__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.agency-case__thumb-ph {
  width: 100%;
  height: clamp(160px, 18vw, 220px);
  background: #e6e9ee;
  border-radius: 10px;
}
.agency-case__text {
  line-height: 1.6;
  margin: 10px 0 0;
}
@media (max-width: 768px) {
  .agency-case__text {
    margin: 0;
    padding: 20px 0;
  }
}

.agency-cases__more {
  margin-top: 8vw;
  display: block;
  position: relative;
  padding-top: 26px;
}
@media (max-width: 768px) {
  .agency-cases__more {
    margin-top: 25vw;
  }
}

.agency-cases__more-link {
  font-size: 18px;
  color: #213C5F;
  margin-left: 12px;
  position: absolute;
  right: 60px;
  top: -30px;
  text-decoration: none;
}

.agency-cases__more::before {
  content: "";
  position: absolute;
  right: 40px;
  width: 15vw;
  top: 0;
  height: 1px;
  border-bottom: 1px solid #213C5F;
}
@media (max-width: 768px) {
  .agency-cases__more::before {
    right: 1vw;
    width: 40vw;
  }
}

.agency-cases__more::after {
  content: "";
  position: absolute;
  right: calc(35px + 0vw);
  top: -8px;
  width: 15px;
  height: 5px;
  border-bottom: 1px solid #213C5F;
  transform: rotate(45deg);
}
@media (max-width: 768px) {
  .agency-cases__more::after {
    right: 0;
  }
}

@media (max-width: 768px) {
  .agency-cases__more-link::before {
    width: 30vw;
    right: 8px;
  }
  .agency-cases__more-link::after {
    content: "";
    position: absolute;
    right: 5px;
    top: calc(100% - 8px);
    width: 15px;
  }
}
@media (max-width: 900px) {
  .agency-cases__list {
    grid-template-columns: 1fr;
  }
}
.agency-flow {
  padding: clamp(32px, 5vw, 64px) clamp(12px, 3vw, 40px);
  background: transparent;
  position: relative;
}
.agency-flow::before {
  content: "";
  position: absolute;
  left: -12vw;
  bottom: -15vw;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .agency-flow::before {
    left: 60vw;
    bottom: -45vw;
    width: 90vw;
    height: 90vw;
  }
}
.agency-flow__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 40px;
  margin: 5vw;
}
@media (max-width: 768px) {
  .agency-flow__title {
    font-size: 25px;
    margin: 10vw;
  }
}
.agency-flow__grid {
  display: grid;
  grid-template-columns: 1fr clamp(320px, 40vw, 520px);
  gap: clamp(16px, 3vw, 36px);
  padding-left: 5vw;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .agency-flow__grid {
    grid-template-columns: 1fr;
  }
}
.agency-flow__left {
  position: relative;
}
.agency-flow__list {
  position: relative;
  display: grid;
  gap: clamp(12px, 2vw, 16px);
}
.agency-flow__list::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50px;
  bottom: 7vw;
  width: 2px;
  background: rgba(33, 60, 95, 0.25);
}
@media (max-width: 768px) {
  .agency-flow__list::before {
    bottom: 25vw;
  }
}
.agency-flow__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(12px, 2vw, 16px);
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: clamp(8px, 1.6vw, 12px) 0;
}
.agency-flow__num {
  position: relative;
  z-index: 1;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(22px, 2.2vw, 32px);
  color: #fff;
  background: #213C5F;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff;
}
.agency-flow__heading {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(20px, 1.6vw, 25px);
  margin: 0 0 6px;
}
.agency-flow__text {
  line-height: 1.8;
  font-size: clamp(16px, 1.2vw, 18px);
  padding: 1vw 0;
  margin-bottom: 1vw;
}
@media (max-width: 768px) {
  .agency-flow__text {
    font-size: 15px;
  }
}
.agency-flow__right {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 16px);
}
.agency-flow__image {
  border-radius: 10px;
  overflow: hidden;
  height: clamp(160px, 22vw, 220px);
}
.agency-flow__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.agency-flow__image--mobile {
  display: none;
}
@media (max-width: 900px) {
  .agency-flow__grid {
    grid-template-columns: 1fr;
  }
  .agency-flow__right {
    display: none;
  }
  .agency-flow__list::before {
    display: block;
    left: 22px;
    top: 22px;
    width: 2px;
    background: rgba(33, 60, 95, 0.25);
  }
  .agency-flow__item {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: flex-start;
    position: relative;
  }
  .agency-flow__num {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    width: 44px;
    height: 44px;
  }
  .agency-flow__body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .agency-flow__content {
    flex: 1;
  }
  .agency-flow__image--mobile {
    display: block;
    width: 100%;
    height: 120px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
  }
  .agency-flow__image--mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.agency-benefits {
  padding: clamp(40px, 5vw, 64px) clamp(12px, 3vw, 40px) clamp(20px, 3vw, 32px);
}
.agency-benefits__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(28px, 2.6vw, 40px);
  margin-bottom: clamp(16px, 2.6vw, 28px);
}
.agency-benefits__grid {
  max-width: min(1280px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.2vw, 24px);
}
.agency-benefits__box {
  position: relative;
  background: #fff;
  border: 2px solid rgba(33, 60, 95, 0.35);
  border-radius: 10px;
  padding: clamp(28px, 2.8vw, 36px);
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.agency-benefits__num {
  position: relative;
  margin: 0 auto clamp(12px, 1.6vw, 16px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #213C5F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(22px, 2.2vw, 32px);
  box-shadow: 0 2px 0 rgba(33, 60, 95, 0.2);
}
.agency-benefits__text {
  color: #213C5F;
  line-height: 1.6;
  font-size: clamp(18px, 1.6vw, 25px);
}
@media (max-width: 900px) {
  .agency-benefits__grid {
    grid-template-columns: 1fr;
  }
}

.agency-voices {
  padding: 40px 20px 60px;
}
.agency-voices__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 22px;
  margin-bottom: 18px;
}
.agency-voices__cards {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.agency-voice {
  background: #fff;
  border: 1px solid rgba(33, 60, 95, 0.2);
  border-radius: 10px;
  padding: 16px;
}
.agency-voice__image {
  background: #e6e9ee;
  border-radius: 10px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.agency-voice__ph {
  color: #fff;
  font-weight: bold;
}
.agency-voice__heading {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 18px;
  margin: 0 0 6px;
}
.agency-voice__text {
  line-height: 1.6;
}

/* 丸の図（デコレーション） */
.decoball {
  position: absolute;
  width: clamp(120px, 14vw, 220px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
  filter: blur(0.2px);
}

.decoball--points-right {
  right: max(0px, (100vw - 1440px) / 2 * -1);
  top: 0;
  transform: translate(40%, -20%);
}

.decoball--cases-right {
  right: max(0px, (100vw - 1440px) / 2 * -1);
  transform: translate(40%, 40%);
  bottom: -15vw;
}

.page-diamond {
  overflow-x: hidden;
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}
.diamond-hero {
  padding: 40px 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.diamond-hero.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.diamond-hero.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.diamond-hero__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem);
  color: #213C5F;
  margin-bottom: 20px;
  position: relative;
}
@media (max-width: 768px) {
  .diamond-hero__title {
    margin-bottom: 60px;
  }
}
.diamond-hero__image img {
  width: 100%;
  border-radius: 20px 20px 0 0;
  display: block;
}
@media (max-width: 768px) {
  .diamond-hero__image img {
    aspect-ratio: 3/4;
    object-fit: cover;
  }
}

.diamond-intro {
  position: relative;
  text-align: center;
  padding: clamp(2rem, 4vw, 2.5rem) 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.diamond-intro.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.diamond-intro.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.diamond-intro__lead {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 25px;
  font-weight: 600;
  color: #213C5F;
  margin-bottom: 0.8rem;
}
.diamond-intro__text {
  color: #213C5F;
  line-height: 1.9;
  font-size: 25px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .diamond-intro {
    padding: clamp(6rem, 4vw, 2.5rem) 40px;
  }
  .diamond-intro__lead {
    text-align: left;
    font-size: 20px;
    font-weight: 400;
  }
  .diamond-intro__text {
    text-align: left;
    font-size: 20px;
    font-weight: 400;
  }
}

.diamond-intro::after {
  content: "";
  position: absolute;
  left: 80vw;
  top: 10vw;
  width: 24vw;
  height: 24vw;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.15);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .diamond-intro::after {
    left: 60vw;
    top: 70vw;
    width: 80vw;
    height: 80vw;
  }
}

.diamond-scene {
  padding: 40px 20px 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.diamond-scene.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.diamond-scene.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.diamond-scene__hero {
  border-radius: 10px;
  height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  background: #000000 0% 0% no-repeat padding-box;
}
.diamond-scene__hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/kizuna_1.jpg") center/cover no-repeat;
  opacity: 0.41;
}
.diamond-scene__hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5843137255);
  padding: clamp(2rem, 4vw, 3.75rem) 20px;
}
.diamond-scene__hero-label {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2rem);
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  color: #fff;
}
.diamond-scene__hero-underline {
  width: 420px;
  max-width: 80vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
  margin: 12px auto 22px;
}
.diamond-scene__hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(0.6rem, 0.6rem + 0.3vw, 1rem);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.125rem);
  line-height: 1.8;
}
.diamond-scene__section-title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.2rem, 1rem + 1.2vw, 1.75rem);
  color: #213C5F;
  margin: clamp(8rem, 4vw, 3.75rem) 0 24px;
  position: relative;
}
@media (max-width: 768px) {
  .diamond-scene__section-title {
    margin: clamp(8rem, 4vw, 3.75rem) 0 24px;
    font-size: 25px;
  }
}
.diamond-scene__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.diamond-scene__card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
}
.diamond-scene__pretitle {
  display: none;
}
.diamond-scene__thumb {
  position: relative;
  height: clamp(220px, 32vw, 360px);
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}
.diamond-scene__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.diamond-scene__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(0.75rem, 0.6rem + 0.6vw, 1.25rem);
  background: rgba(0, 0, 0, 0.41);
  color: #fff;
}
.diamond-scene__card-title {
  font-family: "Hiragino UD Serif Std", serif;
  margin-bottom: 0.6rem;
  font-size: clamp(1.1rem, 0.9rem + 1.2vw, 1.6rem);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.diamond-scene__card-underline {
  width: 240px;
  max-width: 70%;
  height: 1px;
  background: rgba(255, 255, 255, 0.9);
  margin: 6px auto 12px;
}
.diamond-scene__card-text {
  line-height: 1.9;
  font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.06rem);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
@media (max-width: 768px) {
  .diamond-scene__cards {
    grid-template-columns: 1fr;
    gap: 15vw;
  }
  .diamond-scene__thumb {
    height: 300px;
  }
  .diamond-scene__card-title {
    font-size: 25px;
  }
  .diamond-scene__card-text {
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  .diamond-scene__hero-inner {
    padding: 40px 16px;
  }
  .diamond-scene__hero-label {
    font-size: 24px;
  }
  .diamond-scene__hero-list {
    font-size: 15px;
    gap: 10px;
  }
}

.diamond-steps {
  padding: 60px 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.diamond-steps.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.diamond-steps.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.diamond-steps__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.3rem, 1rem + 1.4vw, 1.8rem);
  color: #213C5F;
  margin-bottom: 24px;
  position: relative;
}
@media (max-width: 768px) {
  .diamond-steps__title {
    font-size: 25px;
    margin-bottom: 40px;
  }
}
.diamond-steps__title::before {
  content: "";
  position: absolute;
  left: -10vw;
  bottom: -60vw;
  width: 24vw;
  height: 24vw;
  min-width: 200px;
  min-height: 200px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.06);
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 768px) {
  .diamond-steps__title::before {
    display: none;
  }
}
.diamond-steps__list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.diamond-steps__item {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  background: rgba(33, 60, 95, 0.12);
  border-radius: 10px;
  padding: 16px 16px;
  color: #213C5F;
}
@media (max-width: 768px) {
  .diamond-steps__item {
    grid-template-columns: 50px 1fr;
  }
}
.diamond-steps__num {
  position: relative;
  width: clamp(42px, 4vw, 52px);
  height: clamp(42px, 4vw, 52px);
  border-radius: 50%;
  background: #213C5F;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-weight: bold;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.125rem);
  box-shadow: 0 2px 0 rgba(33, 60, 95, 0.36);
}
.diamond-steps__text {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  margin: 0;
}
.diamond-steps__note {
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
  margin: 6px 0 0;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .diamond-steps {
    padding: 10rem 1rem 3rem 1rem;
  }
}
@media (max-width: 600px) {
  .diamond-steps__item {
    grid-template-columns: 56px 1fr;
    padding: 20px;
  }
  .diamond-steps__num {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .diamond-steps__text {
    font-size: 16px;
  }
}

.page-memorial {
  color: #213C5F;
  overflow-x: hidden;
}

.memorial-hero {
  padding: 40px 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.memorial-hero.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.memorial-hero.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.memorial-hero__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 46px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .memorial-hero__title {
    font-size: 30px;
    margin-bottom: 45px;
  }
}
.memorial-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
@media (max-width: 768px) {
  .memorial-hero__image img {
    aspect-ratio: 3/4;
    object-fit: cover;
  }
}

.memorial-intro {
  text-align: center;
  padding: 140px 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.memorial-intro.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.memorial-intro.animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .memorial-intro {
    padding: 140px 40px;
  }
}
.memorial-intro__lead {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 25px;
  margin-bottom: 14px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .memorial-intro__lead {
    font-size: 20px;
    font-weight: 400;
  }
}
.memorial-intro__text {
  line-height: 1.9;
  font-size: 25px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .memorial-intro__text {
    font-size: 20px;
    font-weight: 400;
  }
}
@media (max-width: 768px) {
  .memorial-intro__lead {
    text-align: left;
  }
  .memorial-intro__text {
    text-align: left;
  }
}

.memorial-gallery {
  position: relative;
  padding: 0 20px 40px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.memorial-gallery.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.memorial-gallery.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.memorial-gallery__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .memorial-gallery__grid {
    grid-template-columns: 1fr;
    gap: 10vw;
  }
}
.memorial-gallery__item {
  position: relative;
  background: #000;
  border-radius: 10px;
  aspect-ratio: 16/9;
  overflow: hidden;
}
@media (max-width: 768px) {
  .memorial-gallery__item {
    aspect-ratio: 0;
    height: 300px;
  }
}
.memorial-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}
.memorial-gallery__ph {
  display: none;
}

.memorial-definition {
  position: relative;
  padding: 40px 20px 0;
}
@media (max-width: 768px) {
  .memorial-definition {
    padding: 40px 30px;
  }
}
.memorial-definition {
  text-align: center;
}
.memorial-definition__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 40px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .memorial-definition__title {
    font-size: 25px;
  }
}
.memorial-definition__text {
  font-size: 18px;
  line-height: 30px;
}
@media (max-width: 768px) {
  .memorial-definition__text {
    font-size: 20px;
    text-align: left;
  }
}
.memorial-definition::before {
  content: "";
  position: absolute;
  left: max(-8vw, -80px);
  bottom: -10vw;
  width: clamp(220px, 24vw, 360px);
  height: clamp(220px, 24vw, 360px);
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.06);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .memorial-definition::before {
    left: -20vw;
    bottom: -45vw;
  }
}
.memorial-definition::after {
  content: "";
  position: absolute;
  right: -10vw;
  top: -15vw;
  width: clamp(220px, 24vw, 360px);
  height: clamp(220px, 24vw, 360px);
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.06);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .memorial-definition::after {
    right: -25vw;
    top: -45vw;
  }
}

.memorial-materials {
  padding: 40px 20px 0;
}
.memorial-materials__hero {
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .memorial-materials__hero {
    height: 350px;
  }
}
.memorial-materials__hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.41), rgba(0, 0, 0, 0.41)), url("../img/memorial_3.jpg") center/cover no-repeat;
}
.memorial-materials__hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 80px 20px;
}
@media (max-width: 768px) {
  .memorial-materials__hero-inner {
    padding: 20px;
  }
}
.memorial-materials__hero-label {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 40px;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  color: #fff;
}
@media (max-width: 768px) {
  .memorial-materials__hero-label {
    font-size: 25px;
  }
}
.memorial-materials__hero-underline {
  width: 420px;
  max-width: 80vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
  margin: 12px auto 22px;
}
.memorial-materials__hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(0.6rem, 0.6rem + 0.3vw, 1rem);
  font-size: 25px;
  line-height: 1.8;
  color: #fff;
}
@media (max-width: 768px) {
  .memorial-materials__hero-list {
    font-size: 15px;
  }
}

.memorial-steps {
  position: relative;
  padding: 60px 20px;
}
.memorial-steps__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 40px;
  color: #213C5F;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .memorial-steps__title {
    font-size: 25px;
  }
}
.memorial-steps::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -15vw;
  width: 24vw;
  height: 24vw;
  min-width: 200px;
  min-height: 200px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.06);
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 768px) {
  .memorial-steps::after {
    display: none;
  }
}
.memorial-steps__list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.memorial-steps__item {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  background: rgba(33, 60, 95, 0.12);
  border-radius: 10px;
  padding: 16px 16px;
  color: #213C5F;
}
.memorial-steps__num {
  position: relative;
  width: clamp(42px, 4vw, 52px);
  height: clamp(42px, 4vw, 52px);
  border-radius: 50%;
  background: #213C5F;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-weight: bold;
  font-size: 32px;
  box-shadow: 0 2px 0 rgba(33, 60, 95, 0.36);
}
@media (max-width: 768px) {
  .memorial-steps__num {
    font-size: 18px;
  }
}
.memorial-steps__text {
  font-size: 25px;
  font-weight: 600;
  line-height: 30px;
}
@media (max-width: 768px) {
  .memorial-steps__text {
    font-size: 15px;
    line-height: 20px;
  }
}
.memorial-steps__note {
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
  margin: 6px 0 0;
  opacity: 0.9;
}
@media (max-width: 600px) {
  .memorial-steps__item {
    grid-template-columns: 56px 1fr;
    padding: 12px;
  }
  .memorial-steps__num {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .memorial-steps__text {
    font-size: 16px;
  }
}

.page-process {
  color: #213C5F;
}

.process-hero {
  padding: 40px 20px 10px;
  text-align: center;
}
.process-hero__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 28px;
  margin-bottom: 16px;
}
.process-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.process-hero__lead {
  margin: 16px auto 0;
  max-width: 900px;
  line-height: 1.8;
}

.process-intro {
  text-align: center;
  padding: 150px 20px;
}
@media (max-width: 768px) {
  .process-intro {
    padding: 150px 40px;
  }
}
.process-intro {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.process-intro.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.process-intro.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.process-intro__lead {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 25px;
  color: #213C5F;
  font-weight: 600;
  margin: 0;
}
@media (max-width: 768px) {
  .process-intro__lead {
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    margin: 0;
    line-height: 1.5;
  }
}
.process-intro__text {
  color: #213C5F;
  line-height: 1.5;
  font-size: 25px;
  font-weight: 600;
  margin: 0;
}
@media (max-width: 768px) {
  .process-intro__text {
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    margin: 0;
    line-height: 1.5;
  }
}

.process-methods {
  position: relative;
  padding: 40px 20px 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.process-methods.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.process-methods.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.process-methods__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 40px;
  margin-bottom: 5vw;
}
@media (max-width: 768px) {
  .process-methods__title {
    font-size: 25px;
  }
}
.process-methods__row {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .process-methods__row {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 20px;
  }
}
.process-methods__row--reverse {
  direction: rtl;
}
.process-methods__row--reverse > * {
  direction: ltr;
}
.process-methods__image {
  background: #e6e9ee;
  border-radius: 10px;
  aspect-ratio: 23/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .process-methods__image {
    aspect-ratio: 12/9;
  }
}
.process-methods__ph {
  color: #fff;
  font-weight: bold;
}
.process-methods__card {
  padding: 28px;
}
.process-methods__card-title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .process-methods__card-title {
    font-size: 20px;
  }
}
.process-methods__card-text {
  line-height: 1.8;
  font-size: 18px;
}
@media (max-width: 768px) {
  .process-methods__card-text {
    font-size: 20px;
    line-height: 1.5;
  }
}
.process-methods::before {
  content: "";
  position: absolute;
  right: -15vw;
  top: 0;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
}

.process-flow {
  padding: 5vw 20px 5vw 80px;
  position: relative;
  background: transparent;
}
@media (max-width: 768px) {
  .process-flow {
    padding: 5vw 20px;
  }
}
.process-flow::before {
  content: "";
  position: absolute;
  left: -15vw;
  top: 0;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
}
.process-flow__inner {
  margin: 0 auto;
}
.process-flow__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 40px;
  margin: 5vw;
}
@media (max-width: 768px) {
  .process-flow__title {
    font-size: 25px;
    margin: 10vw;
  }
}
.process-flow__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 36px);
}
.process-flow__left {
  position: relative;
}
.process-flow__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}
.process-flow__item {
  display: flex !important;
  gap: clamp(16px, 2vw, 24px);
  align-items: flex-start;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 0;
  position: relative;
}
.process-flow__item::before {
  content: "";
  position: absolute;
  left: 1.5vw;
  top: 0;
  bottom: -5vw;
  width: 2px;
  background: rgba(33, 60, 95, 0.25);
}
.process-flow__item:nth-child(5)::before {
  display: none;
}
.process-flow__num {
  position: relative;
  z-index: 1;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 18px;
  color: #fff;
  background: #213C5F;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff;
  flex-shrink: 0;
}
.process-flow__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.process-flow__heading {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 25px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #213C5F;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .process-flow__heading {
    font-size: 15px;
    margin: 1rem 0;
  }
}
.process-flow__text {
  line-height: 1.8;
  font-size: 18px;
  color: #213C5F;
  margin: 0;
}
@media (max-width: 768px) {
  .process-flow__text {
    font-size: 15px;
    line-height: 1.5;
  }
}
.process-flow__right {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 16px);
}
.process-flow__image {
  border-radius: 10px;
  overflow: hidden;
  height: clamp(160px, 22vw, 270px);
}
.process-flow__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.process-flow__image--mobile {
  display: none !important;
}
@media (max-width: 900px) {
  .process-flow__grid {
    grid-template-columns: 1fr;
  }
  .process-flow__right {
    display: none;
  }
  .process-flow__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
  }
  .process-flow__item::before {
    left: 22px;
    top: 10vw;
    bottom: -10vw;
  }
  .process-flow__item:first-child::before {
    top: 22px;
  }
  .process-flow__num {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    width: 44px;
    height: 44px;
  }
  .process-flow__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .process-flow__content {
    flex: 1;
  }
  .process-flow__image--mobile {
    display: block !important;
    width: 100%;
    height: 120px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
  }
  .process-flow__image--mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.process-quality {
  padding: 60px 0 80px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 768px) {
  .process-quality {
    padding: 200px 0 80px;
  }
}
.process-quality::before {
  content: "";
  position: absolute;
  right: -15vw;
  top: 0;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
}
.process-quality__title {
  text-align: left;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 40px;
  color: #213C5F;
  max-width: 1400px;
  margin: 0 auto 3vw;
}
@media (max-width: 768px) {
  .process-quality__title {
    font-size: 25px;
    padding-bottom: 5vw;
  }
}
.process-quality__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 20px;
}
.process-quality__image {
  background: #e6e9ee;
  border-radius: 10px;
  aspect-ratio: 12/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-quality__body {
  color: #213C5F;
}
.process-quality__lead {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 25px;
  margin: 6px 0 14px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .process-quality__lead {
    font-size: 20px;
    padding: 0 20px;
  }
}
.process-quality__text {
  line-height: 2;
  font-size: 18px;
}
@media (max-width: 768px) {
  .process-quality__text {
    font-size: 20px;
    line-height: 1.5;
    padding: 0 20px;
  }
}
.process-quality__list {
  margin: 14px 0 0;
  padding-left: 18px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .process-quality__title {
    text-align: center;
  }
  .process-quality__grid {
    grid-template-columns: 1fr;
  }
}

/* Voices page */
.voices-hero {
  padding: 60px 0 0;
}
.voices-hero__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 32px;
  color: #213C5F;
  margin-bottom: 20px;
}
.voices-hero__image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* Single Voice Page */
.page-voice-single {
  color: #213C5F;
}

.voice-hero {
  padding: 40px 20px 0;
  text-align: center;
  position: relative;
}
.voice-hero__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.voice-hero__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 28px;
  color: #213C5F;
  margin-bottom: 6px;
  text-align: center;
}
.voice-hero__type {
  opacity: 0.8;
  margin-bottom: 16px;
  color: #213C5F;
}
.voice-hero__image {
  max-width: 1080px;
  margin: 0 auto;
}
.voice-hero__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.voice-hero__placeholder {
  height: 320px;
  background: #e6e9ee;
  border-radius: 10px;
}

.voice-content {
  padding: 30px 20px;
}
.voice-content__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}
.voice-content__body {
  line-height: 1.9;
  color: #213C5F;
}
.voice-content__meta {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  height: fit-content;
}
.voice-content__more {
  max-width: 1080px;
  margin: 24px auto 0;
  text-align: right;
}
.voice-content__back {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(33, 60, 95, 0.4);
  border-radius: 4px;
  color: #213C5F;
  text-decoration: none;
  transition: all 0.3s ease;
}
.voice-content__back:hover {
  background: #213C5F;
  color: white;
}

.voice-meta {
  margin: 0;
}
.voice-meta dt {
  font-weight: bold;
  margin-bottom: 4px;
}
.voice-meta dd {
  margin: 0 0 12px 0;
  color: #666;
}

.voice-related {
  padding: 40px 20px;
  background: #f8f9fa;
}
.voice-related__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 24px;
  color: #213C5F;
  margin-bottom: 30px;
}
.voice-related__list {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.voice-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.voice-card:hover {
  transform: translateY(-4px);
}
.voice-card__link {
  display: block;
  color: #213C5F;
  text-decoration: none;
}
.voice-card__thumb {
  height: 200px;
  overflow: hidden;
}
.voice-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.voice-card__placeholder {
  width: 100%;
  height: 100%;
  background: #e6e9ee;
}
.voice-card__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 18px;
  margin: 16px 16px 8px;
}
.voice-card__excerpt {
  line-height: 1.6;
  margin: 0 16px 12px;
  color: #666;
}
.voice-card__type {
  margin: 0 16px 16px;
  font-size: 14px;
  color: #999;
}

@media (max-width: 900px) {
  .voice-content__inner {
    grid-template-columns: 1fr;
  }
  .voice-related__list {
    grid-template-columns: 1fr;
  }
}
/* お客様の声一覧（CPT アーカイブ） */
.voices-archive {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(6rem, 12vw, 10rem);
}
.voices-archive__inner {
  max-width: min(1200px, 96vw);
  margin: 0 auto;
  position: relative;
}
.voices-archive__decor {
  position: absolute;
  width: min(30vw, 360px);
  height: min(30vw, 360px);
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
}
.voices-archive__decor--tr {
  top: -18vw;
  right: -18vw;
}
@media (max-width: 768px) {
  .voices-archive__decor--tr {
    top: -70vw;
    right: -35vw;
    width: 80vw;
    height: 80vw;
  }
}
.voices-archive__decor--bl {
  display: none;
}

.voices-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(5rem, 2.4vw, 1.5rem);
}
@media (max-width: 768px) {
  .voices-list {
    gap: clamp(8rem, 2.4vw, 1.5rem);
    margin-top: 20vw;
  }
}

.voices-item {
  background: transparent;
  border: 0;
  border-radius: 10px;
  overflow: visible;
}
@media (max-width: 768px) {
  .voices-item {
    position: relative;
  }
}
.voices-item__link {
  display: grid;
  grid-template-columns: clamp(280px, 20vw, 520px) 1fr;
  gap: clamp(2rem, 3vw, 2.5rem);
  color: #213C5F;
  text-decoration: none;
  align-items: center;
}
.voices-item__thumb {
  width: 100%;
  height: clamp(160px, 22vw, 220px);
  background: #c0c4ca;
}
@media (max-width: 768px) {
  .voices-item__thumb {
    order: 2;
    height: 300px;
  }
}
.voices-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.voices-item__ph {
  width: 100%;
  height: 100%;
  background: #c0c4ca;
}
.voices-item__body {
  padding: clamp(0.5rem, 1.2vw, 1rem) 0 clamp(0.8rem, 1.3vw, 1.2rem) 0;
  position: relative;
}
.voices-item__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0 0 0.6rem;
}
@media (max-width: 768px) {
  .voices-item__title {
    order: 1;
  }
}
.voices-item__excerpt {
  line-height: 1.9;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  margin: 0 0 0.8rem;
}
@media (max-width: 768px) {
  .voices-item__excerpt {
    order: 3;
    font-size: 20px;
    padding: 0 20px;
  }
}
.voices-item__type {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: #666;
  margin: 0 0 1rem;
}
.voices-item__more {
  color: #213C5F;
  position: absolute;
  right: -10%;
  bottom: -15%;
  padding-right: 28px;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  text-decoration: none;
  letter-spacing: -1.5px;
  perspective: 800px;
}
@media (max-width: 768px) {
  .voices-item__more {
    right: 5%;
    bottom: -5%;
  }
}
.voices-item__more span {
  display: inline-block;
  transition: transform 0.6s ease;
  transform-origin: center;
  backface-visibility: hidden;
}
.voices-item__more:hover span {
  transform: rotateY(360deg);
}
.voices-item__more:hover span:nth-child(1) {
  transition-delay: 0s;
}
.voices-item__more:hover span:nth-child(2) {
  transition-delay: 0.1s;
}
.voices-item__more:hover span:nth-child(3) {
  transition-delay: 0.2s;
}
.voices-item__more:hover span:nth-child(4) {
  transition-delay: 0.3s;
}
.voices-item__more::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -15%;
  width: clamp(120px, 20vw, 220px);
  height: 1px;
  background: #213C5F;
}
.voices-item__more::after {
  content: "";
  position: absolute;
  right: -15%;
  bottom: calc(40% - 8px);
  width: 15px;
  height: 5px;
  border-bottom: 1px solid #213C5F;
  transform: rotate(45deg);
}
@media (max-width: 768px) {
  .voices-item__more::before {
    right: 15%;
  }
  .voices-item__more::after {
    right: 10%;
  }
}

@media (max-width: 900px) {
  .voices-item__link {
    grid-template-columns: 1fr;
  }
  .voices-item__body {
    padding-right: clamp(0.5rem, 2vw, 1rem);
    display: contents;
  }
}
/* 丸装飾の重なりとCTA接続のため、下マージンを拡大 */
.voices-archive {
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.voices-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 40px 80px 20px;
}
@media (max-width: 768px) {
  .voices-categories {
    padding: 20px;
  }
}

.voices-category {
  display: grid;
  grid-template-columns: 200px 1fr 120px;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid #213C5F;
  border-radius: 10px;
  padding: 20px;
  color: #213C5F;
}
.voices-category__image {
  width: 100%;
  height: 140px;
  background: #c0c4ca;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}
.voices-category__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 22px;
  margin: 0 0 8px;
}
.voices-category__text {
  line-height: 1.9;
}
.voices-category__more {
  text-align: right;
}
.voices-category__more-link {
  color: #213C5F;
  text-decoration: none;
  position: relative;
  padding-right: 28px;
}
.voices-category__more-link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #213C5F;
  transform: translateY(-50%);
}
@media (max-width: 1024px) {
  .voices-category {
    grid-template-columns: 160px 1fr 100px;
  }
}
@media (max-width: 768px) {
  .voices-category {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.page-services {
  color: #213C5F;
}

.services-hero {
  padding: 60px 0 0;
}
.services-hero__title {
  text-align: center;
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 32px;
  color: #213C5F;
  margin-bottom: 20px;
}

.page-services__header {
  padding: 40px 20px 0;
  text-align: center;
}

.page-services__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 32px;
  color: #213C5F;
}

.page-services__content {
  padding: 40px 20px 80px;
  line-height: 1.8;
}

.page-cases {
  color: #213C5F;
}

.cases-intro {
  padding: 40px 20px;
}
.cases-intro__inner {
  max-width: 1104px;
  margin: 0 auto;
  text-align: center;
}
.cases-intro__lead {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 20px;
  color: #213C5F;
}

.cases-sectors {
  padding: 20px;
}
.cases-sectors__list {
  max-width: 1104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 1024px) {
  .cases-sectors__list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .cases-sectors__list {
    grid-template-columns: 1fr;
  }
}

.cases-card {
  background: #fff;
  border: 1px solid rgba(33, 60, 95, 0.4);
  border-radius: 10px;
  overflow: hidden;
  color: #213C5F;
}
.cases-card__thumb {
  height: 200px;
  background: #c0c4ca;
}
.cases-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cases-card__body {
  padding: 16px;
}
.cases-card__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 18px;
  margin: 0 0 8px;
}
.cases-card__text {
  line-height: 1.8;
  margin: 0 0 14px;
}
.cases-card__more {
  text-align: right;
}
.cases-card__link {
  color: #213C5F;
  text-decoration: none;
  position: relative;
  padding-right: 28px;
  letter-spacing: -1.5px;
  perspective: 800px;
}
.cases-card__link span {
  display: inline-block;
  transition: transform 0.6s ease;
  transform-origin: center;
  backface-visibility: hidden;
}
.cases-card__link:hover span {
  transform: rotateY(360deg);
}
.cases-card__link:hover span:nth-child(1) {
  transition-delay: 0s;
}
.cases-card__link:hover span:nth-child(2) {
  transition-delay: 0.1s;
}
.cases-card__link:hover span:nth-child(3) {
  transition-delay: 0.2s;
}
.cases-card__link:hover span:nth-child(4) {
  transition-delay: 0.3s;
}
.cases-card__link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #213C5F;
  transform: translateY(-50%);
}

/* 導入事例一覧（CPT アーカイブ） */
.cases-archive {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(6rem, 12vw, 10rem);
}
.cases-archive__inner {
  max-width: min(1200px, 96vw);
  margin: 0 auto;
  position: relative;
}
.cases-archive__decor {
  position: absolute;
  width: min(30vw, 360px);
  height: min(30vw, 360px);
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
}
.cases-archive__decor--tr {
  top: -18vw;
  right: -18vw;
}
@media (max-width: 768px) {
  .cases-archive__decor--tr {
    top: -70vw;
    right: -35vw;
    width: 80vw;
    height: 80vw;
  }
}
.cases-archive__decor--bl {
  display: none;
}

.cases-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(5rem, 2.4vw, 1.5rem);
}
@media (max-width: 768px) {
  .cases-list {
    gap: clamp(8rem, 2.4vw, 1.5rem);
    margin: 100px 0;
  }
}

.cases-item {
  background: transparent;
  border: 0;
  border-radius: 10px;
  overflow: visible;
}
@media (max-width: 768px) {
  .cases-item {
    position: relative;
  }
}
.cases-item__link {
  display: grid;
  grid-template-columns: clamp(280px, 20vw, 520px) 1fr;
  gap: clamp(2rem, 3vw, 2.5rem);
  color: #213C5F;
  text-decoration: none;
  align-items: center;
}
.cases-item__thumb {
  width: 100%;
  height: clamp(160px, 22vw, 220px);
  background: #c0c4ca;
}
@media (max-width: 768px) {
  .cases-item__thumb {
    order: 2;
    height: clamp(300px, 22vw, 220px);
  }
}
.cases-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cases-item__ph {
  width: 100%;
  height: 100%;
  background: #c0c4ca;
}
.cases-item__body {
  padding: clamp(0.5rem, 1.2vw, 1rem) 0 clamp(0.8rem, 1.3vw, 1.2rem) 0;
  position: relative;
}
.cases-item__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0 0 0.6rem;
}
@media (max-width: 768px) {
  .cases-item__title {
    order: 1;
  }
}
.cases-item__excerpt {
  line-height: 1.9;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  margin: 0 0 0.8rem;
}
@media (max-width: 768px) {
  .cases-item__excerpt {
    order: 3;
    font-size: 20px;
    padding: 0 20px;
  }
}
.cases-item__more {
  color: #213C5F;
  position: absolute;
  right: -5%;
  bottom: -15%;
  padding-right: 28px;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  text-decoration: none;
}
@media (max-width: 768px) {
  .cases-item__more {
    right: 5%;
    bottom: -5%;
  }
}
.cases-item__more::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -15%;
  width: clamp(120px, 20vw, 220px);
  height: 1px;
  background: #213C5F;
}
.cases-item__more::after {
  content: "";
  position: absolute;
  right: -15%;
  bottom: calc(40% - 8px);
  width: 15px;
  height: 5px;
  border-bottom: 1px solid #213C5F;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .cases-item__link {
    grid-template-columns: 1fr;
  }
  .cases-item__body {
    display: contents;
    padding-right: clamp(0.5rem, 2vw, 1rem);
  }
}
/* 丸装飾の重なりとCTA接続のため、下マージンを拡大 */
.cases-archive {
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

/* Single Case Page */
.page-case-single {
  color: #213C5F;
}

.case-hero {
  padding: 40px 20px 0;
  text-align: center;
  position: relative;
}
.case-hero__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.case-hero__title {
  font-family: "Hiragino UD Serif Std", serif;
  font-size: 28px;
  color: #213C5F;
  margin-bottom: 20px;
  text-align: center;
}
.case-hero__image {
  max-width: 1080px;
  margin: 0 auto;
}
.case-hero__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.case-hero__ph {
  height: 320px;
  background: #e6e9ee;
  border-radius: 10px;
}

.case-content {
  padding: 30px 20px;
}
.case-content__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.case-content__more {
  margin: 24px 0 0;
  text-align: right;
}
.case-content__back {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(33, 60, 95, 0.4);
  border-radius: 4px;
  color: #213C5F;
  text-decoration: none;
  transition: all 0.3s ease;
}
.case-content__back:hover {
  background: #213C5F;
  color: white;
}

.case-entry__body {
  line-height: 1.9;
  color: #213C5F;
}
.case-entry__body h2, .case-entry__body h3, .case-entry__body h4 {
  font-family: "Hiragino UD Serif Std", serif;
  color: #213C5F;
  margin: 30px 0 15px;
}
.case-entry__body p {
  margin-bottom: 20px;
}
.case-entry__body ul, .case-entry__body ol {
  margin: 20px 0;
  padding-left: 20px;
}
.case-entry__body li {
  margin-bottom: 8px;
}

/* =====================
   問い合わせページ全体
===================== */
.page-contact {
  overflow-x: hidden;
}
.page-contact .hero {
  margin-bottom: 0;
  z-index: 1;
  position: relative;
}
.page-contact .contact-section {
  margin-top: 0;
  padding-top: 60px;
}
@media (max-width: 768px) {
  .page-contact .contact-section {
    padding-top: 40px;
  }
}
@media (max-width: 480px) {
  .page-contact .contact-section {
    padding-top: 30px;
  }
}

/* =====================
   全体レイアウト
===================== */
.contact-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px;
  position: relative;
}
@media (max-width: 768px) {
  .contact-wrap {
    padding: 50px 20px;
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 480px) {
  .contact-wrap {
    padding: 30px 16px;
  }
}
.contact-wrap::before {
  content: "";
  position: absolute;
  right: -20vw;
  top: -15vw;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  .contact-wrap::before {
    right: -30vw;
    top: -15vw;
    width: 60vw;
    height: 60vw;
  }
}
.contact-wrap::after {
  content: "";
  position: absolute;
  left: -20vw;
  bottom: -20vw;
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  background: rgba(33, 60, 95, 0.08);
  pointer-events: none;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  .contact-wrap::after {
    left: -30vw;
    bottom: -15vw;
    width: 60vw;
    height: 60vw;
  }
}

/* =====================
   フォーム部分
===================== */
.mw_wp_form {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 769px) {
  .mw_wp_form {
    max-width: 1400px;
    padding: 0 40px;
    width: calc(100% - 80px);
  }
}
.mw_wp_form .contact-lead {
  text-align: center;
  font-size: 15px;
  margin-bottom: 30px;
  color: #213C5F;
  line-height: 1.8;
}
@media (min-width: 769px) {
  .mw_wp_form .contact-lead {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 40px;
  }
}
.mw_wp_form .progress-bar {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  padding: 0 20px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 769px) {
  .mw_wp_form .progress-bar {
    margin: 50px 0;
    padding: 0 40px;
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .mw_wp_form .progress-bar {
    font-size: 12px;
    padding: 0 16px;
  }
}
@media (max-width: 480px) {
  .mw_wp_form .progress-bar {
    font-size: 11px;
    padding: 0 12px;
  }
}
.mw_wp_form .progress-bar .step {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  color: #fff;
  background: #999;
  position: relative;
  border: 1px solid #ddd;
  box-sizing: border-box;
  min-width: 0;
}
@media (min-width: 769px) {
  .mw_wp_form .progress-bar .step {
    padding: 20px 0;
    font-size: 16px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .mw_wp_form .progress-bar .step {
    padding: 8px 0;
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .mw_wp_form .progress-bar .step {
    padding: 6px 0;
    font-size: 11px;
  }
}
.mw_wp_form .progress-bar .step::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 8px solid #999;
  z-index: 2;
}
@media (min-width: 769px) {
  .mw_wp_form .progress-bar .step::after {
    right: -12px;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 12px solid #999;
  }
}
@media (max-width: 768px) {
  .mw_wp_form .progress-bar .step::after {
    right: -6px;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 6px solid #999;
  }
}
@media (max-width: 480px) {
  .mw_wp_form .progress-bar .step::after {
    right: -4px;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 4px solid #999;
  }
}
.mw_wp_form .progress-bar .step:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 8px solid #fff;
  z-index: 1;
}
@media (min-width: 769px) {
  .mw_wp_form .progress-bar .step:not(:first-child)::before {
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 12px solid #fff;
  }
}
@media (max-width: 768px) {
  .mw_wp_form .progress-bar .step:not(:first-child)::before {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 6px solid #fff;
  }
}
@media (max-width: 480px) {
  .mw_wp_form .progress-bar .step:not(:first-child)::before {
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 4px solid #fff;
  }
}
.mw_wp_form .progress-bar .step.active {
  background: #213C5F;
  border-color: #213C5F;
  font-weight: bold;
}
.mw_wp_form .progress-bar .step.active::after {
  border-left-color: #213C5F;
}
.mw_wp_form .progress-bar .step.active + .step::before {
  border-left-color: #213C5F;
}
.mw_wp_form .progress-bar .step:first-child {
  border-radius: 5px 0 0 5px;
}
.mw_wp_form .progress-bar .step:last-child {
  border-radius: 0 5px 5px 0;
}
.mw_wp_form dl {
  display: flex;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 769px) {
  .mw_wp_form dl {
    margin-bottom: 30px;
  }
}
.mw_wp_form dt {
  width: 25%;
  padding: 12px 0;
  font-weight: bold;
  color: #213C5F;
  box-sizing: border-box;
}
@media (min-width: 769px) {
  .mw_wp_form dt {
    width: 20%;
    padding: 20px 0;
    font-size: 20px;
    line-height: 35px;
    text-align: center;
  }
}
.mw_wp_form dt .required {
  color: #e74c3c;
  font-size: 14px;
  margin-left: 4px;
}
@media (min-width: 769px) {
  .mw_wp_form dt .required {
    font-size: 16px;
  }
}
.mw_wp_form dd {
  width: 75%;
  margin: 0;
  padding: 12px 0;
  box-sizing: border-box;
}
@media (min-width: 769px) {
  .mw_wp_form dd {
    width: 80%;
    padding: 20px 0;
  }
}
.mw_wp_form .mwform-error {
  display: block;
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 10px;
}
@media (min-width: 769px) {
  .mw_wp_form .mwform-error {
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 15px;
  }
}
@media (max-width: 768px) {
  .mw_wp_form {
    max-width: 100%;
    padding: 0 20px;
  }
  .mw_wp_form dl {
    display: block;
  }
  .mw_wp_form dt {
    width: 100%;
    padding: 8px 0 4px;
    font-size: 20px;
    text-align: center;
  }
  .mw_wp_form dd {
    width: 100%;
    margin-bottom: 16px;
  }
}
@media (max-width: 480px) {
  .mw_wp_form {
    padding: 0 16px;
  }
  .mw_wp_form dt {
    font-size: 18px;
  }
}
.mw_wp_form input[type=text],
.mw_wp_form input[type=email],
.mw_wp_form input[type=tel],
.mw_wp_form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}
@media (min-width: 769px) {
  .mw_wp_form input[type=text],
  .mw_wp_form input[type=email],
  .mw_wp_form input[type=tel],
  .mw_wp_form textarea {
    padding: 20px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #213C5F;
    height: 72px;
  }
}
.mw_wp_form textarea {
  min-height: 140px;
}
@media (min-width: 769px) {
  .mw_wp_form textarea {
    min-height: 259px;
    height: 259px;
  }
}
@media (max-width: 768px) {
  .mw_wp_form input[type=text],
  .mw_wp_form input[type=email],
  .mw_wp_form input[type=tel],
  .mw_wp_form textarea {
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #213C5F;
  }
  .mw_wp_form textarea {
    min-height: 244px;
  }
}
@media (max-width: 480px) {
  .mw_wp_form input[type=text],
  .mw_wp_form input[type=email],
  .mw_wp_form input[type=tel],
  .mw_wp_form textarea {
    padding: 10px;
    font-size: 14px;
  }
  .mw_wp_form textarea {
    min-height: 200px;
  }
}
.mw_wp_form.is-confirm .privacy {
  display: none;
}
.mw_wp_form.is-confirm .form-btn.input-only {
  display: none;
}
.mw_wp_form.is-confirm .form-btn.confirm-only {
  display: block;
}
.mw_wp_form.is-complete .form-btn {
  display: none;
}

/* =====================
   電話番号（3分割横並び）
===================== */
.tel-group {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .tel-group {
    gap: 4px;
    justify-content: center;
  }
}
.tel-group input {
  width: 80px;
  text-align: center;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .tel-group input {
    width: 70px;
  }
}
@media (max-width: 480px) {
  .tel-group input {
    width: 60px;
  }
}

/* =====================
   プライバシーポリシー
===================== */
.privacy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 14px;
  margin: 20px 0;
  width: 100%;
  box-sizing: border-box;
  margin-left: 25%;
}
.privacy .privacy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
}
.privacy .privacy-label .mwform-checkbox-field-text {
  display: none;
}
.privacy .privacy-label input[type=checkbox] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}
.privacy .privacy-label input[type=checkbox]:not(:checked) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid #ccc;
  border-radius: 3px;
  background: #fff;
  position: relative;
}
.privacy .privacy-label input[type=checkbox]:checked {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid #213C5F;
  border-radius: 3px;
  background: #213C5F;
  position: relative;
}
.privacy .privacy-label input[type=checkbox]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.privacy .privacy-label span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.privacy .privacy-error {
  display: block;
  color: #e74c3c;
  font-size: 13px;
  margin-top: 5px;
  margin-left: 26px;
  line-height: 1.3;
}
.privacy a {
  color: #213C5F;
  text-decoration: underline;
}
.privacy .required {
  color: #e74c3c;
  font-size: 14px;
  font-weight: bold;
}
@media (min-width: 769px) {
  .privacy {
    font-size: 20px;
    line-height: 35px;
    margin: 30px 0;
    margin-left: 20%;
  }
  .privacy .privacy-label {
    gap: 12px;
  }
  .privacy .privacy-label input[type=checkbox] {
    width: 32px;
    height: 32px;
  }
  .privacy .privacy-label input[type=checkbox]:checked::after {
    font-size: 18px;
  }
  .privacy .privacy-error {
    font-size: 14px;
    margin-left: 44px;
  }
  .privacy .required {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .privacy {
    font-size: 15px;
    margin: 24px 0;
    margin-left: 0;
    align-items: center;
  }
  .privacy .privacy-label {
    gap: 10px;
    justify-content: center;
  }
  .privacy .privacy-label input[type=checkbox] {
    width: 24px;
    height: 24px;
  }
  .privacy .privacy-label input[type=checkbox]:checked::after {
    font-size: 14px;
  }
  .privacy .privacy-error {
    font-size: 13px;
    margin-left: 0;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .privacy {
    font-size: 14px;
  }
  .privacy .privacy-label {
    gap: 8px;
  }
  .privacy .privacy-label input[type=checkbox] {
    width: 20px;
    height: 20px;
  }
  .privacy .privacy-label input[type=checkbox]:checked::after {
    font-size: 12px;
  }
  .privacy .privacy-error {
    font-size: 12px;
  }
}

/* =====================
   ボタン（feature__moreスタイルを参考に）
===================== */
.form-btn {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .form-btn {
    gap: 60px;
  }
}
@media (max-width: 480px) {
  .form-btn {
    gap: 50px;
  }
}
.form-btn .btn-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 20px;
}
@media (max-width: 768px) {
  .form-btn .btn-wrapper {
    margin: 0 20px;
  }
}
@media (max-width: 480px) {
  .form-btn .btn-wrapper {
    margin: 0 15px;
  }
}
.form-btn .btn-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 10vw;
  top: 120%;
  height: 1px;
  border-bottom: 1px solid #213C5F;
  transition: width 0.8s ease-out;
}
@media (max-width: 768px) {
  .form-btn .btn-wrapper::before {
    width: 30vw;
  }
}
.form-btn .btn-wrapper::after {
  content: "";
  position: absolute;
  left: calc(50% + 70px);
  transform: translateX(-50%) rotate(45deg);
  top: 110%;
  width: 1vw;
  height: 5px;
  border-bottom: 1px solid #213C5F;
  transition: all 0.8s ease-out;
}
@media (max-width: 768px) {
  .form-btn .btn-wrapper::after {
    width: 2vw;
    left: calc(50% + 57px);
  }
}
.form-btn .btn-wrapper input[type=submit],
.form-btn .btn-wrapper input[type=button] {
  background: none;
  color: #213C5F;
  font-size: 18px;
  border: none;
  cursor: pointer;
  padding: 26px 0 0 0;
  letter-spacing: -1.5px;
  display: inline-block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
@media (max-width: 768px) {
  .form-btn .btn-wrapper input[type=submit],
  .form-btn .btn-wrapper input[type=button] {
    font-size: 15px;
    padding: 20px 0 0 0;
  }
}
@media (max-width: 480px) {
  .form-btn .btn-wrapper input[type=submit],
  .form-btn .btn-wrapper input[type=button] {
    font-size: 14px;
    padding: 18px 0 0 0;
  }
}
.form-btn.modify-only {
  display: none;
}
@media (min-width: 769px) {
  .form-btn {
    margin-top: 50px;
    gap: 60px;
  }
}

/* =====================
   送信完了画面
===================== */
.contact-complete {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 769px) {
  .contact-complete {
    max-width: 1400px;
    padding: 0 40px;
    width: calc(100% - 80px);
  }
}

.complete-message {
  text-align: center;
  margin: 60px auto 40px;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  width: 100%;
  box-sizing: border-box;
}
.complete-message h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #213C5F;
  font-weight: bold;
}
@media (min-width: 769px) {
  .complete-message h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
}
.complete-message p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
}
@media (min-width: 769px) {
  .complete-message p {
    font-size: 25px;
    margin-bottom: 40px;
  }
}
@media (min-width: 769px) {
  .complete-message {
    margin: 80px auto 60px;
    padding: 60px 40px;
  }
}
@media (max-width: 768px) {
  .complete-message {
    margin: 40px auto 30px;
    padding: 30px 16px;
  }
}
@media (max-width: 480px) {
  .complete-message {
    margin: 30px auto 20px;
    padding: 20px 12px;
  }
}

.btn-close {
  display: inline-block;
  padding: 10px 40px;
  font-size: 16px;
  color: #213C5F;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  position: relative;
}
.btn-close::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10vw;
  height: 1px;
  background: #213C5F;
}
.btn-close::after {
  content: "";
  position: absolute;
  left: calc(50% + 68px);
  transform: translateX(-50%) rotate(45deg);
  top: 65%;
  width: 1vw;
  height: 5px;
  border-bottom: 1px solid #213C5F;
  transition: all 0.8s ease-out;
}
.btn-close:hover {
  background: #213C5F;
  color: #fff;
}
.btn-close:hover::before {
  background: #fff;
}
.btn-close:hover::after {
  color: #fff;
}
@media (min-width: 769px) {
  .btn-close {
    padding: 12px 50px;
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .btn-close {
    padding: 8px 30px;
    font-size: 14px;
  }
  .btn-close::before {
    width: 30vw;
  }
  .btn-close::after {
    left: calc(50% + 45px);
    top: 50%;
    width: 3vw;
  }
}
@media (max-width: 480px) {
  .btn-close {
    padding: 6px 24px;
    font-size: 13px;
  }
  .btn-close::before {
    width: 25vw;
  }
  .btn-close::after {
    left: calc(50% + 45px);
    top: 50%;
    width: 3vw;
  }
}

/* =====================
   MW WP Form状態別スタイル
===================== */
.mw_wp_form_input .progress-bar .step-input {
  background: #213C5F;
  border-color: #213C5F;
}
.mw_wp_form_input .progress-bar .step-input::after {
  border-left-color: #213C5F;
}
.mw_wp_form_input .progress-bar .step-input + .step::before {
  border-left-color: #213C5F;
}

.mw_wp_form_confirm .progress-bar .step-confirm {
  background: #213C5F;
  border-color: #213C5F;
}
.mw_wp_form_confirm .progress-bar .step-confirm::after {
  border-left-color: #213C5F;
}
.mw_wp_form_confirm .progress-bar .step-confirm + .step::before {
  border-left-color: #213C5F;
}

.mw_wp_form_complete .progress-bar .step-complete {
  background: #213C5F;
  border-color: #213C5F;
}
.mw_wp_form_complete .progress-bar .step-complete::after {
  border-left-color: #213C5F;
}

/* =====================
   確認画面のSP用スタイル
===================== */
@media (max-width: 768px) {
  .mw_wp_form_confirm dd {
    text-align: center;
  }
}

.mw_wp_form_confirm .tel-group {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .mw_wp_form_confirm .tel-group {
    gap: 4px;
    justify-content: center;
  }
}
.mw_wp_form_confirm .tel-group input {
  width: 80px;
  text-align: center;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .mw_wp_form_confirm .tel-group input {
    width: 70px;
  }
}
@media (max-width: 480px) {
  .mw_wp_form_confirm .tel-group input {
    width: 60px;
  }
}

.mw_wp_form_confirm dl:has(.tel-group) dd {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mw_wp_form_confirm dl:has(.tel-group) dd br {
  display: none;
}
@media (min-width: 769px) {
  .mw_wp_form_confirm dl:has(.tel-group) dd {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .mw_wp_form_confirm dl:has(.tel-group) dd {
    justify-content: center;
    gap: 4px;
  }
}

.mw_wp_form_confirm .privacy {
  display: none;
}

/* =====================
   ボタン表示制御
===================== */
.mw_wp_form_input .form-btn {
  display: none;
}

.mw_wp_form_input .form-btn.input-only {
  display: flex;
}

.mw_wp_form_confirm .form-btn {
  display: none;
}

.mw_wp_form_confirm .form-btn.confirm-only {
  display: flex;
}

.mw_wp_form_complete .form-btn {
  display: none;
}

.page-privacy .privacy-content {
  padding: 60px 0 80px;
  background-color: #fff;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content {
    padding: 40px 0 60px;
  }
}
.page-privacy .privacy-content__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__inner {
    padding: 0 20px;
  }
}
@media (max-width: 480px) {
  .page-privacy .privacy-content__inner {
    padding: 0 16px;
  }
}
.page-privacy .privacy-content__text {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  color: #213C5F;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.page-privacy .privacy-content__text h1, .page-privacy .privacy-content__text h2, .page-privacy .privacy-content__text h3, .page-privacy .privacy-content__text h4, .page-privacy .privacy-content__text h5, .page-privacy .privacy-content__text h6 {
  color: #213C5F;
  font-weight: 700;
  margin-bottom: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text h1, .page-privacy .privacy-content__text h2, .page-privacy .privacy-content__text h3, .page-privacy .privacy-content__text h4, .page-privacy .privacy-content__text h5, .page-privacy .privacy-content__text h6 {
    margin-bottom: 16px;
    margin-top: 32px;
  }
}
.page-privacy .privacy-content__text h1:first-child, .page-privacy .privacy-content__text h2:first-child, .page-privacy .privacy-content__text h3:first-child, .page-privacy .privacy-content__text h4:first-child, .page-privacy .privacy-content__text h5:first-child, .page-privacy .privacy-content__text h6:first-child {
  margin-top: 0;
}
.page-privacy .privacy-content__text h1 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text h1 {
    font-size: 28px;
    margin-bottom: 32px;
  }
}
.page-privacy .privacy-content__text h2 {
  font-size: 24px;
  border-bottom: 2px solid #213C5F;
  padding-bottom: 8px;
  position: relative;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text h2 {
    font-size: 20px;
    padding-bottom: 6px;
  }
}
.page-privacy .privacy-content__text h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #213C5F;
}
.page-privacy .privacy-content__text h3 {
  font-size: 20px;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text h3 {
    font-size: 18px;
  }
}
.page-privacy .privacy-content__text h4 {
  font-size: 18px;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text h4 {
    font-size: 16px;
  }
}
.page-privacy .privacy-content__text p {
  font-size: 16px;
  line-height: 1.8;
  color: #213C5F;
  margin-bottom: 20px;
  padding-left: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text p {
    font-size: 14px;
    margin-bottom: 16px;
    padding-left: 16px;
  }
}
@media (max-width: 480px) {
  .page-privacy .privacy-content__text p {
    padding-left: 12px;
  }
}
.page-privacy .privacy-content__text ul, .page-privacy .privacy-content__text ol {
  margin: 20px 0;
  padding-left: 44px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text ul, .page-privacy .privacy-content__text ol {
    margin: 16px 0;
    padding-left: 36px;
  }
}
@media (max-width: 480px) {
  .page-privacy .privacy-content__text ul, .page-privacy .privacy-content__text ol {
    padding-left: 28px;
  }
}
.page-privacy .privacy-content__text ul li, .page-privacy .privacy-content__text ol li {
  font-size: 16px;
  line-height: 1.8;
  color: #213C5F;
  margin-bottom: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text ul li, .page-privacy .privacy-content__text ol li {
    font-size: 14px;
    margin-bottom: 6px;
  }
}
.page-privacy .privacy-content__text ul li::marker {
  color: #213C5F;
}
.page-privacy .privacy-content__text ol li::marker {
  color: #213C5F;
}
.page-privacy .privacy-content__text strong, .page-privacy .privacy-content__text b {
  font-weight: 700;
  color: #213C5F;
}
.page-privacy .privacy-content__text em, .page-privacy .privacy-content__text i {
  font-style: italic;
  color: #213C5F;
}
.page-privacy .privacy-content__text a {
  color: #213C5F;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}
.page-privacy .privacy-content__text a:hover {
  opacity: 0.8;
}
.page-privacy .privacy-content__text blockquote {
  border-left: 4px solid #213C5F;
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: #213C5F;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text blockquote {
    padding-left: 16px;
    margin: 20px 0;
  }
}
.page-privacy .privacy-content__text table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background-color: rgba(33, 60, 95, 0.05);
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text table {
    margin: 20px 0;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .page-privacy .privacy-content__text table {
    font-size: 12px;
  }
}
.page-privacy .privacy-content__text table th, .page-privacy .privacy-content__text table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(33, 60, 95, 0.2);
  color: #213C5F;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text table th, .page-privacy .privacy-content__text table td {
    padding: 8px 12px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .page-privacy .privacy-content__text table th, .page-privacy .privacy-content__text table td {
    padding: 6px 8px;
    font-size: 12px;
  }
}
.page-privacy .privacy-content__text table th {
  background-color: rgba(33, 60, 95, 0.1);
  font-weight: 700;
}
.page-privacy .privacy-content__text table tr:last-child th, .page-privacy .privacy-content__text table tr:last-child td {
  border-bottom: none;
}
.page-privacy .privacy-content__text hr {
  border: none;
  border-top: 1px solid rgba(33, 60, 95, 0.3);
  margin: 40px 0;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text hr {
    margin: 32px 0;
  }
}
.page-privacy .privacy-content__text .wp-block-heading {
  color: #213C5F;
}
.page-privacy .privacy-content__text .wp-block-paragraph {
  color: #213C5F;
  padding-left: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text .wp-block-paragraph {
    padding-left: 16px;
  }
}
@media (max-width: 480px) {
  .page-privacy .privacy-content__text .wp-block-paragraph {
    padding-left: 12px;
  }
}
.page-privacy .privacy-content__text .wp-block-list {
  color: #213C5F;
}
.page-privacy .privacy-content__text .wp-block-quote {
  border-left: 4px solid #213C5F;
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: #213C5F;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text .wp-block-quote {
    padding-left: 16px;
    margin: 20px 0;
  }
}
.page-privacy .privacy-content__text .wp-block-table {
  width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
}
.page-privacy .privacy-content__text .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background-color: rgba(33, 60, 95, 0.05);
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 300px;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text .wp-block-table table {
    margin: 20px 0;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .page-privacy .privacy-content__text .wp-block-table table {
    font-size: 12px;
    min-width: 250px;
  }
}
.page-privacy .privacy-content__text .wp-block-table table th, .page-privacy .privacy-content__text .wp-block-table table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(33, 60, 95, 0.2);
  color: #213C5F;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text .wp-block-table table th, .page-privacy .privacy-content__text .wp-block-table table td {
    padding: 8px 12px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .page-privacy .privacy-content__text .wp-block-table table th, .page-privacy .privacy-content__text .wp-block-table table td {
    padding: 6px 8px;
    font-size: 12px;
  }
}
.page-privacy .privacy-content__text .wp-block-table table th {
  background-color: rgba(33, 60, 95, 0.1);
  font-weight: 700;
}
.page-privacy .privacy-content__text .wp-block-table table tr:last-child th, .page-privacy .privacy-content__text .wp-block-table table tr:last-child td {
  border-bottom: none;
}
.page-privacy .privacy-content__text .wp-block-separator {
  border: none;
  border-top: 1px solid rgba(33, 60, 95, 0.3);
  margin: 40px 0;
}
@media (max-width: 768px) {
  .page-privacy .privacy-content__text .wp-block-separator {
    margin: 32px 0;
  }
}
.page-privacy .privacy-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.page-privacy .privacy-content.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}
.page-privacy .privacy-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}