@charset "UTF-8";
/*
 * 参考
 * https://github.com/Andy-set-studio/modern-css-reset/blob/master/src/reset.css
*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: auto;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*****************************************
 * 数値から単位を取り除く
 * 参考
 * https://css-tricks.com/snippets/sass/
******************************************/
/*****************************************
 * px→remの計算
 * 参考
 * https://webdou.net/sass-rem/
 * Sassではmath.div関数の使用が推奨のため、スラッシュ(/)演算子から変更
******************************************/
/*****************************************
 * vwの計算
 * 参考
 * https://webdou.net/sass-vw/
 * Sassではmath.div関数の使用が推奨のため、スラッシュ(/)演算子から変更
******************************************/
html {
  font-size: 16px;
}
@media (max-width: 320px) {
  html {
    font-size: 5vw;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 1.3333333333vw;
  }
}
@media (min-width: 1200px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: "Noto Sans JP";
  font-weight: 400;
  color: #1e1210;
  background-blend-mode: multiply;
}

/* スクロール禁止用クラス */
body.is-fixed {
  overflow: hidden;
  height: 100vh; /* iOSでのスクロール防止対策 */
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.l-footer {
  background-color: #555555; /* カンプに近いダークグレー */
  color: #ffffff;
  padding-top: clamp(60px, 8vw, 100px);
}

.l-footer__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* スマホとPCで要素の並び順（エリア配置）を柔軟に変えるためのGrid指定 */
.l-footer__content {
  display: grid;
  grid-template-areas: "info" "nav" "sns";
  gap: clamp(40px, 6vw, 60px);
  justify-items: center;
  text-align: center;
  padding-bottom: clamp(60px, 8vw, 100px);
}
@media screen and (min-width: 768px) {
  .l-footer__content {
    grid-template-columns: 1fr auto;
    grid-template-areas: "info nav" "sns  nav";
    justify-items: start;
    justify-content: space-between;
    text-align: left;
    gap: 32px;
  }
}

/* 会社情報 */
.l-footer__info {
  grid-area: info;
}

.l-footer__logo-link {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  transition: opacity 0.3s ease;
}

.l-footer__logo-link:hover {
  opacity: 0.7;
}

.l-footer__logo-text {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.l-footer__catch {
  margin-top: 16px;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* SNS */
.l-footer__sns {
  grid-area: sns;
  display: flex;
  align-items: center;
  gap: 16px;
}

.l-footer__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #222222;
  color: #ffffff;
  border-radius: 6px;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.l-footer__sns-link:hover {
  background-color: #ffffff;
  color: #222222;
}

/* メニュー */
.l-footer__nav {
  grid-area: nav;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .l-footer__nav {
    width: auto;
  }
}

.l-footer__list {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  align-items: center;
}
@media screen and (min-width: 768px) {
  .l-footer__list {
    align-items: flex-start;
  }
}

.l-footer__link {
  color: #ffffff;
  font-size: clamp(14px, 1.5vw, 15px);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.l-footer__link:hover {
  opacity: 0.6;
}

/* コピーライト */
.l-footer__copyright {
  text-align: center;
  padding-bottom: 24px;
}

.l-footer__copyright-text {
  font-size: 12px;
  color: #aaaaaa;
  letter-spacing: 0.05em;
}

/* ==============================================
   Page Top Button
   ============================================== */
.c-pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  /* 枠線: アクセントカラー */
  border: 2px solid #c3d82d;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 900;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  cursor: pointer;
  /* アニメーション設定 */
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
  /* 影の設定（薄めに調整済み） */
  box-shadow: 0 5px 15px rgba(0, 51, 42, 0.15);
}
@media screen and (min-width: 768px) {
  .c-pagetop {
    right: 40px;
    bottom: 40px;
    width: 60px;
    height: 60px;
  }
}

.c-pagetop.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.c-pagetop:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 51, 42, 0.25);
}

.c-pagetop__arrow {
  display: block;
  width: 10px;
  height: 10px;
  /* 矢印の色もアクセントカラーに */
  border-top: 2px solid #c3d82d;
  border-right: 2px solid #c3d82d;
  transform: rotate(-45deg);
  margin-top: 4px;
  transition: transform 0.3s ease;
}

/* ==========================================================================
   Header 共通
   ========================================================================== */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(60px, 8vw, 80px);
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: 20px;
  max-width: 1400px;
  margin-inline: auto;
}

/* ロゴ */
.l-header__logo {
  display: flex;
  align-items: center;
}

.l-header__logo-link {
  text-decoration: none;
  color: #1e1210;
  transition: opacity 0.3s;
}

.l-header__logo-link:hover {
  opacity: 0.7;
}

.l-header__logo-text {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
}

/* ==========================================================================
   PC Navigation
   ========================================================================== */
.l-header__nav {
  display: none;
}
@media (min-width: 1000px) {
  .l-header__nav {
    display: flex;
    align-items: center;
    height: 100%;
  }
}

.l-header__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
}

.l-header__item {
  white-space: nowrap;
}

.l-header__link {
  color: #1e1210;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.l-header__link:hover {
  opacity: 0.6;
}

.l-header__contact {
  margin-left: clamp(16px, 2vw, 32px);
  flex-shrink: 0;
}

/* お問い合わせ グラデーションボタン */
.c-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #fce257, #f5c400);
  color: #1e1210;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.c-header-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(245, 196, 0, 0.4);
}

/* ==========================================================================
   スマホ Navigation (ハンバーガー & ドロワー)
   ========================================================================== */
.l-header__hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102;
  display: block;
}
@media (min-width: 1000px) {
  .l-header__hamburger {
    display: none;
  }
}

.l-header__hamburger-line {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background-color: #1e1210;
  transition: all 0.3s ease;
}

.l-header__hamburger-line:nth-of-type(1) {
  top: 14px;
}

.l-header__hamburger-line:nth-of-type(2) {
  top: 21px;
}

.l-header__hamburger-line:nth-of-type(3) {
  top: 28px;
}

.l-header__hamburger.is-open .l-header__hamburger-line:nth-of-type(1) {
  top: 21px;
  transform: rotate(45deg);
}

.l-header__hamburger.is-open .l-header__hamburger-line:nth-of-type(2) {
  opacity: 0;
}

.l-header__hamburger.is-open .l-header__hamburger-line:nth-of-type(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ドロワー本体 */
.l-header__drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #fce257, #f5c400);
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  overflow-y: auto;
}
@media (min-width: 1000px) {
  .l-header__drawer {
    display: none !important;
  }
}

.l-header__drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.l-header__drawer-inner {
  padding: 120px 20px 60px;
  min-height: 100%;
}

.l-header__drawer-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.l-header__drawer-link {
  color: #1e1210;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}

.l-header__drawer-link:hover {
  opacity: 0.6;
}

/* ==========================================================================
   表示切り替え用ユーティリティ
   ========================================================================== */
.u-hidden-sp {
  display: none;
}

.u-visible-sp {
  display: block;
}

@media screen and (min-width: 768px) {
  .u-hidden-sp {
    display: flex;
  }
  .u-visible-sp {
    display: none;
  }
}
.l-inner {
  margin: 0 auto;
  max-width: 540px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .l-inner {
    max-width: 800px;
  }
}
@media screen and (min-width: 1000px) {
  .l-inner {
    max-width: 1100px;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .l-inner {
    max-width: 1300px;
    padding-inline: 40px;
  }
}

.l-mv__inner {
  padding-inline: 20px;
  margin: 0 auto;
  max-width: 450px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .l-mv__inner {
    max-width: 550px;
  }
}
@media screen and (min-width: 1000px) {
  .l-mv__inner {
    max-width: 700px;
  }
}

.l-inner__CTA {
  margin: 0 auto;
  max-width: 540px;
  padding-inline: 0.625rem;
}
@media screen and (min-width: 768px) {
  .l-inner__CTA {
    max-width: 850px;
    padding-inline: 1.875rem;
  }
}
@media screen and (min-width: 1000px) {
  .l-inner__CTA {
    max-width: 1000px;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .l-inner__CTA {
    max-width: 1100px;
    padding-inline: 20px;
  }
}

.l-inner__facility {
  margin: 0 auto;
  max-width: 540px;
  padding-inline: 0.625rem;
}
@media screen and (min-width: 768px) {
  .l-inner__facility {
    max-width: 850px;
    padding-inline: 1.875rem;
  }
}
@media screen and (min-width: 1000px) {
  .l-inner__facility {
    max-width: 950px;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .l-inner__facility {
    max-width: 1000px;
    padding-inline: 20px;
  }
}

.l-inner_info {
  margin: 0 auto;
  max-width: 540px;
  padding-inline: 0.625rem;
}
@media screen and (min-width: 768px) {
  .l-inner_info {
    max-width: 850px;
    padding-inline: 1.875rem;
  }
}
@media screen and (min-width: 1000px) {
  .l-inner_info {
    max-width: 950px;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .l-inner_info {
    max-width: 1000px;
    padding-inline: 20px;
  }
}

.l-news__inner {
  margin: 0 auto;
  max-width: 540px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .l-news__inner {
    max-width: 750px;
  }
}
@media screen and (min-width: 1000px) {
  .l-news__inner {
    max-width: 960px;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .l-news__inner {
    max-width: 1160px;
    padding-inline: 0px 80px;
  }
}

@media screen and (min-width: 1000px) {
  .l-newsBlog__inner {
    max-width: 830px;
  }
}
@media screen and (min-width: 1440px) {
  .l-newsBlog__inner {
    max-width: 920px;
  }
}

.l-footer__inner {
  margin: 0 auto;
  max-width: 540px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .l-footer__inner {
    max-width: 750px;
  }
}
@media screen and (min-width: 1000px) {
  .l-footer__inner {
    max-width: 1000px;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .l-footer__inner {
    max-width: 1210px;
    padding-inline: 80px 40px;
  }
}

.l-inner__rink {
  margin: 0 auto;
  max-width: 540px;
  text-align: center;
  margin: 0 auto;
  padding-inline: 0.625rem;
}
@media screen and (min-width: 768px) {
  .l-inner__rink {
    max-width: 850px;
    padding-inline: 1.875rem;
  }
}
@media screen and (min-width: 1000px) {
  .l-inner__rink {
    max-width: 1050px;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .l-inner__rink {
    max-width: 1100px;
    padding-inline: 20px;
  }
}

.l-gradient-area {
  /* 背景をここで一括指定＆固定 */
  background-image: linear-gradient(to bottom, #4a9dc3, #105086);
  background-attachment: fixed;
  background-size: cover;
  width: 100%;
}

.c-bgWave {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: auto;
  justify-content: center;
  align-items: center;
  z-index: -1;
}
@media screen and (min-width: 1000px) {
  .c-bgWave {
    top: -240px;
  }
}
@media screen and (min-width: 1440px) {
  .c-bgWave {
    top: -300px;
  }
}

.c-bg img {
  width: 100vw; /* ★ 画面幅に合わせて拡大 */
  height: auto; /* 縦横比を維持 */
  -o-object-fit: cover;
     object-fit: cover; /* ★ 画像の比率を維持しつつ、要素全体をカバー */
  position: absolute;
  top: 0;
  left: 0;
}

.c-bgWave__white {
  top: 50px;
  z-index: 0; /* 背景として後ろに配置 */
}

.c-bgWave__common {
  z-index: 1; /* 背景として後ろに配置 */
  top: 10px;
}
@media screen and (min-width: 1440px) {
  .c-bgWave__common {
    top: -170px;
  }
}

.c-bgWave__position {
  top: -408px;
}
@media screen and (min-width: 768px) {
  .c-bgWave__position {
    top: -470px;
  }
}
@media screen and (min-width: 1000px) {
  .c-bgWave__position {
    top: -650px;
  }
}
@media screen and (min-width: 1440px) {
  .c-bgWave__position {
    top: -860px;
  }
}

.p-philosophy__bgWave {
  top: 170px;
}

.u-highlight {
  display: inline;
  background-image: linear-gradient(to top, #ebc511 50%, transparent 50%);
  background-size: 100% 0.6em;
  background-repeat: no-repeat;
  background-position: bottom;
}

.u-highlight__min {
  background: linear-gradient(to bottom, transparent 80%, #ebc511 20%);
  font-weight: bold;
  padding: 0 4px;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding-block: 20px;
  padding-inline: 24px;
  background: linear-gradient(122deg, #fff6af 2.54%, #ffe72e 100%);
  color: #1e1210;
  font-weight: 700;
  text-decoration: none;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 1;
  transition: opacity 0.3s ease;
  max-width: 215px;
  font-weight: 400;
}
.c-btn:hover {
  opacity: 0.7;
}
.c-btn::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid #1e1210;
  border-right: 1px solid #1e1210;
  transform: translateY(-50%) rotate(45deg);
}
@media screen and (min-width: 768px) {
  .c-btn {
    max-width: 270px;
  }
}

.c-button-back {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 16px;
  padding-inline: 48px;
  background-color: #ffe200;
  color: #1e1210;
  font-weight: 700;
  text-decoration: none;
  font-size: clamp(16px, 1.7vw, 18px);
  /* 修正：opacityとcolorの両方を、少しゆっくり（0.4秒かけて）なめらかに変化させる */
  transition: all 0.2s ease;
}
@media screen and (min-width: 1000px) {
  .c-button-back {
    margin-top: 30px;
  }
}

.c-button-back:hover {
  opacity: 0.8;
  color: #ffffff;
}

.c-service-box__button {
  position: relative;
  display: inline-block;
  color: #ffe200;
  margin: 1.875rem auto;
  border: 1px solid #ffe200;
  padding-block: 1.25rem;
  padding-left: 1.25rem;
  display: flex;
  justify-content: center;
  width: 17.5rem;
  text-align: left;
  font-size: 1.125rem;
  transition: color 0.3s; /* テキストの色の変化を0.3秒かけて行う */
}
.c-service-box__button p {
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .c-service-box__button {
    width: 28.125rem;
  }
}
@media screen and (min-width: 1440px) {
  .c-service-box__button {
    margin: 49px auto;
    padding: 22px 0px;
    font-size: 16px;
    width: 305px;
  }
}
@media screen and (min-width: 1000px) and (min-width: 768px) {
  .c-service-box__button:hover {
    color: #fff;
    background: #ffe200;
  }
}

.c-common__arrow {
  position: absolute;
  left: 50%;
  transition: none;
  opacity: 1;
}

@media screen and (min-width: 1000px) {
  a:hover .c-common__arrow {
    animation: arrowSlideOnce 0.4s ease forwards;
  }
}
@keyframes arrowSlideOnce {
  0% {
    left: 75%;
    opacity: 1;
  }
  100% {
    left: 90%; /* 85% を 90% に変更 */
    opacity: 1;
  }
}
.c-common__arrow {
  position: absolute;
  left: calc(50% + 108px);
  top: 50%;
  transform: translateY(-50%);
  transition: fill 0.3s, left 0.3s ease;
}
@media screen and (min-width: 768px) {
  .c-common__arrow {
    left: calc(50% + 58px);
  }
}
@media screen and (min-width: 1000px) {
  .c-common__arrow {
    left: calc(50% + 100px);
  }
}
@media screen and (min-width: 1440px) {
  .c-common__arrow {
    left: calc(50% + 124px);
  }
}

.c-commonService__arrow {
  left: calc(50% + 43px);
}
@media screen and (min-width: 768px) {
  .c-commonService__arrow {
    top: 26px;
    left: calc(50% + 120px);
  }
}
@media screen and (min-width: 1000px) {
  .c-commonService__arrow {
    top: 22px;
    left: calc(50% + 102px);
  }
}
@media screen and (min-width: 1440px) {
  .c-commonService__arrow {
    top: 20px;
    left: calc(50% + 104px);
  }
}

@media screen and (min-width: 1000px) {
  .c-commonNews__arrow {
    left: calc(50% + 76px);
  }
}
@media screen and (min-width: 1440px) {
  .c-commonNews__arrow {
    top: 38px;
    left: calc(50% + 124px);
  }
}

.arrow__alt {
  top: 44px;
}
@media screen and (min-width: 768px) {
  .arrow__alt {
    top: 41px;
  }
}
@media screen and (min-width: 1000px) {
  .arrow__alt {
    top: 23px;
  }
}

.c-color__white {
  color: #fff !important;
}

.c-heading {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 1440px) {
  .c-heading {
    line-height: 1;
  }
}

.c-heading__news {
  font-size: 30px;
}

.c-lead__box {
  text-align: left;
  margin-top: 2.5rem;
  position: relative;
  margin-bottom: 2rem;
}
@media screen and (min-width: 768px) {
  .c-lead__box {
    margin-top: 4.375rem;
    text-align: left;
  }
}
@media screen and (min-width: 1000px) {
  .c-lead__box {
    margin-top: 6.25rem;
  }
}

.c-lead__box::after {
  content: "";
  position: absolute;
  z-index: 10;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #828487 0%, #828487 33.3%, rgba(130, 132, 135, 0.5) 33.3%, rgba(130, 132, 135, 0.5) 100%);
}

.c-lead {
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 700;
  position: relative;
  z-index: 10;
}
@media screen and (min-width: 1000px) {
  .c-lead {
    line-height: 0.75;
  }
}

.c-lead__sub {
  font-size: clamp(10px, 1.6vw, 20px);
  color: #828487;
  margin-top: 1rem;
  line-height: 1;
  font-weight: 400;
}
.c-subHeading {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  color: #c3d82d;
}
@media screen and (min-width: 768px) {
  .c-subHeading {
    font-size: 14px;
  }
}

.c-titleBox {
  text-align: left !important;
}

.c-cta__heading {
  font-size: clamp(14px, 2.2vw, 38px);
  padding-bottom: 3px;
}

.c-cta__box {
  padding-bottom: 30px;
}

/* 基本設定：最初は隠しておく */
.js-fadeup {
  opacity: 0; /* 透明にする */
  transform: translateY(30px); /* 30px下にずらしておく */
  transition: all 0.8s ease; /* 0.8秒かけて変化させる（ふわっと感） */
}

/* 画面に入った時につけるクラス */
.js-fadeup.is-active {
  opacity: 1; /* 不透明に戻す */
  transform: translateY(0); /* 元の位置に戻す */
}

/* ------------------------------------ */
/* (オプション) 順番に出てくるように遅らせたい場合 */
/* ------------------------------------ */
.js-delay-1 {
  transition-delay: 0.2s;
}

.js-delay-2 {
  transition-delay: 0.4s;
}

.js-delay-3 {
  transition-delay: 0.6s;
}

.c-title {
  font-size: 1.5rem;
  color: black;
}
@media screen and (min-width: 768px) {
  .c-title {
    color: red;
  }
}
@media screen and (min-width: 1000px) {
  .c-title {
    color: blue;
  }
}
@media screen and (min-width: 1440px) {
  .c-title {
    color: green;
  }
}

.c-space {
  padding-block: 1.875rem 1.875rem;
}
@media screen and (min-width: 1000px) {
  .c-space {
    padding-block: 5rem 5rem;
  }
}

.p-404__header {
  padding-bottom: 0 !important;
}

.p-404 {
  padding: 80px 0;
  text-align: center;
}
.p-404__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.p-404__title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}
.p-404__text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #666;
}
.p-404__btn {
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  .p-404 {
    padding: 60px 0;
  }
  .p-404__title {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  .p-404__text {
    font-size: 1rem;
    margin-bottom: 20px;
  }
}
.p-404__btn {
  position: relative;
  z-index: 10000;
}

.p-about-header {
  position: relative;
  display: flex;
  align-items: center;
  height: clamp(240px, 50vw, 320px);
  padding-inline: 20px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-about-header {
    height: 435px;
    padding-inline: 40px;
  }
}

.p-about-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.p-about-header__bg picture,
.p-about-header__bg img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-about-header__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 15, 30, 0.65);
  z-index: 1;
}

.p-about-header__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto; /* 左寄せの際にコンテナを中央に保つために追加 */
}

.p-about-header__title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 60px;
}
@media screen and (min-width: 768px) {
  .p-about-header__title {
    justify-content: flex-start;
    gap: 16px;
    margin-top: 0;
  }
}

.p-about-header__en {
  color: #ffe200;
  font-weight: 700;
  /* スマホでの最小サイズを少し下げて収まりを良くしました */
  font-size: clamp(36px, 9.6vw, 96px);
  line-height: 1;
  white-space: nowrap; /* Y'sとVisionの間などで変に改行させない */
}

.p-about-header__ja {
  color: #ffe200;
  font-weight: 700;
  /* 英語の比率に合わせてこちらも最小サイズを調整 */
  font-size: clamp(20px, 5.3vw, 48px);
  line-height: 1;
  white-space: nowrap; /* 「について」の途中で改行させない */
}

.p-about {
  position: relative;
  padding-block: 80px;
  padding-inline: 20px;
  overflow: hidden;
  /* テキストの可読性を上げるための黒いフィルター */
}
@media screen and (min-width: 768px) {
  .p-about {
    padding-block: 120px;
    padding-inline: 40px;
  }
}
.p-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.6);
  z-index: 1;
}

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

.p-about__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.p-about__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-about__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-inline: auto;
}

.p-about__subtitle {
  display: block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(48px, 6.66vw, 86px);
  line-height: 1;
}

.p-about__title {
  color: #ffffff;
  font-weight: 700;
  margin-top: 16px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
}

.p-about__text {
  color: #ffffff;
  margin-top: 24px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
}

.p-about__btn-wrapper {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .p-about__btn-wrapper {
    margin-top: 56px;
  }
}

.p-access {
  width: 100%;
  padding-block: 80px 60px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-access {
    padding-block: 100px;
    padding-inline: 40px;
  }
}

.p-access__inner {
  max-width: 1000px;
  margin-inline: auto;
}

.p-access__title {
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.40625;
}

.p-access__content {
  margin-top: 60px;
}
@media screen and (min-width: 768px) {
  .p-access__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
  }
}

.p-access__map {
  width: 100%;
  /* マップの縦横比調整 */
  aspect-ratio: 16/9;
}
@media screen and (min-width: 768px) {
  .p-access__map {
    width: 45%;
    aspect-ratio: 4/3;
    flex-shrink: 0;
  }
}

.p-access__map iframe {
  width: 100%;
  height: 100%;
  vertical-align: bottom;
  /* 画像に合わせて彩度を落とす場合 */
  /* filter: grayscale(100%); */
}

.p-access__info {
  width: 100%;
  margin-top: 80px;
  border-left: 1px solid #c3d82d;
  padding-left: 20px;
}
@media screen and (min-width: 768px) {
  .p-access__info {
    margin-top: 0;
    width: 55%;
    padding-left: 40px;
  }
}

.p-access__item {
  margin-top: 40px;
}
.p-access__item:first-child {
  margin-top: 0;
}

.p-access__text {
  font-size: clamp(14px, 2.5vw, 22px);
  line-height: 2.8571428571;
  letter-spacing: 0.05em;
}

.p-access__label {
  color: #c3d82d; /* 緑色 */
  font-weight: bold;
  margin-right: 0.5em;
}

.p-archive {
  width: 100%;
  padding-block: clamp(80px, 10vw, 160px);
  padding-inline: clamp(20px, 5vw, 40px);
}

.p-archive__box {
  text-align: center;
}

.p-archive__list {
  display: grid;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-archive__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.p-archive__item {
  display: block;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.p-archive__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.p-archive__body {
  padding: 25px;
}

.p-archive__title {
  color: #1e1210;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.5555555556;
}

.p-archive__text {
  color: #1e1210;
  margin-top: 15px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7142857143;
}

.p-archive__pager {
  margin-top: 60px;
}

.p-archive__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
}
@media screen and (min-width: 1000px) {
  .p-archive__pager {
    margin-top: 120px;
  }
}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  color: #1e1210;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 700;
  border-radius: 50%;
}
.page-numbers.current {
  background-color: #1e1210;
  border-color: #1e1210;
  color: #ffffff;
  pointer-events: none;
}
.page-numbers:not(.current):not(.dots):hover {
  background-color: #ffe200;
  border-color: #ffe200;
  color: #1e1210;
}
.page-numbers.dots {
  border: none;
  background: transparent;
}

.p-archive__back {
  margin-top: 60px;
}
@media screen and (min-width: 1000px) {
  .p-archive__back {
    margin-top: 150px;
  }
}

.p-archive__back-btn {
  display: inline-block;
  padding-block: 16px;
  padding-inline: 48px;
  background-color: #1e1210;
  color: #ffffff;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  font-size: clamp(14px, 1.5vw, 16px);
  transition: opacity 0.3s;
}

.p-archive__back-btn:hover {
  opacity: 0.8;
}

.p-blog-archive {
  padding-block: clamp(80px, 10vw, 100px);
  padding-inline: clamp(20px, 5vw, 40px);
}

.p-blog-archive__container {
  width: 100%;
}

.p-blog-archive__list {
  display: grid;
  gap: 32px;
}
@media screen and (min-width: 768px) {
  .p-blog-archive__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.p-blog-archive__empty {
  text-align: center;
  padding-block: 60px;
  color: #1e1210;
  font-weight: 500;
}

/* カード全体 */
.p-blog-card {
  background-color: #f6f6f6; /* カンプの少しグレーがかった背景色 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.p-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.p-blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.p-blog-card__thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin: 0;
  background-color: #f3f4f6;
}

.p-blog-card__thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

.p-blog-card:hover .p-blog-card__thumbnail img {
  transform: scale(1.05);
}

.p-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* タイトル */
.p-blog-card__title {
  color: #1e1210;
  font-size: clamp(14px, 1.38vw, 16px);
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* テキストとアイコンを横並びにするエリア */
.p-blog-card__bottom {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto; /* 下部に固定 */
}

/* 抜粋テキスト */
.p-blog-card__excerpt {
  color: #1e1210;
  font-size: clamp(12px, 1.11vw, 13px);
  line-height: 1.5384615385;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 10px;
}
@media screen and (min-width: 1000px) {
  .p-blog-card__excerpt {
    margin-top: 20px;
  }
}

/* 丸い矢印アイコン */
.p-blog-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-color: #d1dc49; /* カンプの黄緑色 */
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s ease;
}

/* 矢印の描画 (CSS) */
.p-blog-card__icon::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  margin-right: 2px; /* 少し左に寄せて中央に見せる */
}

/* ホバー時にアイコンが右に少し動くアニメーション（おまけ） */
.p-blog-card:hover .p-blog-card__icon {
  transform: translateX(4px);
}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  color: #1e1210;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}

.page-numbers.current {
  background-color: #1e1210;
  border-color: #1e1210;
  color: #ffffff;
  pointer-events: none;
}

.page-numbers:not(.current):not(.dots):hover {
  background-color: #ffe200;
  border-color: #ffe200;
  color: #1e1210;
}

.page-numbers.dots {
  border: none;
  background: transparent;
}

/* フッター（トップへ戻るボタン） */
.p-blog-archive__footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.p-blog-archive__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
}
@media screen and (min-width: 1000px) {
  .p-blog-archive__pager {
    margin-top: 100px;
  }
}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  color: #1e1210;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 700;
  border-radius: 50%;
}
.page-numbers.current {
  background-color: #1e1210;
  border-color: #1e1210;
  color: #ffffff;
  pointer-events: none;
}
.page-numbers:not(.current):not(.dots):hover {
  background-color: #ffe200;
  border-color: #ffe200;
  color: #1e1210;
}
.page-numbers.dots {
  border: none;
  background: transparent;
}

/* ============================================
   p-blog Styles (Mynavi Will Style)
   ============================================ */
.p-blog {
  padding-block: 60px;
  padding-inline: 20px;
  color: #951010;
  background-color: #f9fbfc; /* ベースの薄い色 */
}
@media screen and (min-width: 1000px) {
  .p-blog {
    padding-block: 140px 160px;
  }
}

.p-blog__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* Header (Center Aligned) */
.p-blog__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-inline: auto;
  max-width: 800px;
}

.p-blog__subtitle {
  display: block;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1e1210;
}

.p-blog__title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: #1e1210;
}

.p-blog__description {
  margin-top: 24px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
  color: #1e1210;
}

/* List / Grid */
.p-blog__list {
  margin-top: clamp(50px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-blog__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
  }
}

/* Card Item */
.p-blog__item {
  display: flex;
  flex-direction: column;
  /* 枠線や背景色をなくし、画像とテキストのみにする */
}

.p-blog__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  group: nav; /* ホバー検知用 */
}

/* Thumbnail */
.p-blog__thumbnail {
  width: 100%;
  aspect-ratio: 16/9; /* 参考画像に合わせた比率 */
  margin: 0;
  overflow: hidden;
  /* 画像自体の角丸は参考画像ではなさそうだが、少しだけ入れても上品 */
  border-radius: 2px;
}

.p-blog__thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ホバー時に画像をズーム */
.p-blog__link:hover .p-blog__thumbnail img {
  transform: scale(1.08);
}

/* Title (Text Link Style) */
.p-blog__cardTitle {
  margin-top: 20px;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  line-height: 1.6666666667;
  color: #1e1210;
  text-decoration: underline;
  text-underline-offset: 4px;
  -webkit-text-decoration-color: rgba(195, 216, 45, 0.3);
          text-decoration-color: rgba(195, 216, 45, 0.3);
  transition: color 0.3s ease, -webkit-text-decoration-color 0.3s ease;
  transition: text-decoration-color 0.3s ease, color 0.3s ease;
  transition: text-decoration-color 0.3s ease, color 0.3s ease, -webkit-text-decoration-color 0.3s ease;
  /* 文字数制限（3行〜4行） */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

/* ホバー時にテキストの色と下線を強調 */
.p-blog__link:hover .p-blog__cardTitle {
  color: #4a9dc3;
  -webkit-text-decoration-color: #c3d82d;
          text-decoration-color: #c3d82d;
}

/* Footer Button Area */
.p-blog__footer {
  margin-top: clamp(40px, 6vw, 60px);
  display: flex;
  justify-content: center;
}

.p-blog__button {
  display: flex;
  align-items: center;
  color: #1e1210;
  justify-content: center;
  width: 220px;
  height: 60px;
  text-decoration: none;
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  background-color: #ffffff;
  border: 1px solid #c3d82d;
  /* ▼▼▼ 変更：通常時は「白背景・枠線あり」にする ▼▼▼ */
  background-color: #ffffff; /* 背景：白 */
  border: 1px solid #c3d82d; /* 枠線：アクセントカラー */
}

.p-blog__button:hover {
  /* ▼▼▼ 変更：ホバー時に「塗りつぶし」にする ▼▼▼ */
  background-color: #c3d82d; /* 背景：アクセントカラー */
  color: #ffffff; /* 文字：白 */
  opacity: 1; /* 透明度は変えずにくっきり表示 */
}

@media screen and (min-width: 768px) {
  .p-caseStudies {
    padding-top: 100px;
  }
}
@media screen and (min-width: 1000px) {
  .p-caseStudies {
    padding-top: 125px;
  }
}
@media screen and (min-width: 1440px) {
  .p-caseStudies {
    padding-top: 146px;
  }
}

.archive-blog__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

.p-caseStudies-main {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-caseStudies-main {
    width: 65%;
  }
}
@media screen and (min-width: 1000px) {
  .p-caseStudies-main {
    width: 66%;
  }
}

.archive-blog__sidebar {
  width: 100%;
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .archive-blog__sidebar {
    width: 32%;
    margin-top: 0;
  }
}
@media screen and (min-width: 1000px) {
  .archive-blog__sidebar {
    width: 27%;
    margin-top: -57px;
  }
}
@media screen and (min-width: 1440px) {
  .archive-blog__sidebar {
    margin-top: -67px;
  }
}

.archive-blog__sidebar-list {
  padding-bottom: 250px;
}

.p-caseStudies__title {
  margin-top: 2px;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 700;
}
@media screen and (min-width: 1440px) {
  .p-caseStudies__title {
    font-size: 1.5rem;
    line-height: 32px;
    margin-top: 26px;
  }
}

.p-caseStudies__mv {
  margin-top: 22px;
  width: 100%;
}
@media screen and (min-width: 1000px) {
  .p-caseStudies__mv {
    margin-top: 39px;
  }
}

.p-caseStudies__mv img {
  width: 100%;
  height: auto;
}

.p-caseStudies__content {
  margin-top: 20px;
}
.p-caseStudies__content a.p-caseStudies__readmore {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  text-decoration: underline;
}

/* -----------------------------------------------------------
   実績一例（CASESTUDIES）セクション
----------------------------------------------------------- */
.p-casestudies {
  position: relative;
  background-color: #f3f4f6;
  padding-block: 60px;
  /* 右側を突き抜けさせるため、セクション自体の左右パディングは無しで調整 */
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-casestudies {
    padding-block: 100px;
  }
}

/* 背景画像：コメントの位置（カードの上部付近）まで垂直位置を調整 */
.p-casestudies__bg {
  position: absolute;
  top: 5%; /* カードのテキスト位置に合わせて調整 */
  left: 5%;
  width: clamp(110px, 20vw, 283px);
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .p-casestudies__bg {
    top: 5%; /* カードのテキスト位置に合わせて調整 */
  }
}

.p-casestudies__bg img {
  width: 100%;
  height: auto;
}

.p-casestudies__inner {
  position: relative;
  z-index: 1;
  /* ヘッダー部分は中央寄せのコンテナ内に配置 */
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-casestudies__inner {
    padding-inline: 0;
  }
}

.p-casestudies__header {
  text-align: center;
}

.p-casestudies__subtitle {
  display: block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 23px);
  line-height: 1.8571428571;
}

.p-casestudies__title {
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 2;
}

/* スライダー外枠：左側をコンテナに合わせ、右側を画面端（100vw）まで広げる */
.p-casestudies__slider-wrapper {
  margin-top: 40px;
  width: 100vw;
  /* 画面中央から左右50vwずつ広げ、左側だけパディングで押し戻す手法 */
  margin-left: calc(50% - 50vw);
  padding-left: 20px;
}
@media screen and (min-width: 768px) {
  .p-casestudies__slider-wrapper {
    margin-top: 56px;
    /* 通常時の左余白（コンテナ端合わせ） */
    padding-left: calc((100vw - 1080px) / 2);
    /* is-active が付いた時の余白（ご指定の130vw計算） */
  }
  .p-casestudies__slider-wrapper.is-active {
    padding-left: calc((120vw - 1080px) / 2);
  }
}

/* カードの高さを揃えるための設定 */
.p-casestudies__slide {
  height: auto;
}

.p-casestudies__card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  height: 100%; /* 全カードの高さを一番高いものに合わせる */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  box-sizing: border-box;
  min-height: 500px;
}
@media screen and (min-width: 768px) {
  .p-casestudies__card {
    padding: 48px 40px;
  }
}
@media screen and (min-width: 1000px) {
  .p-casestudies__card {
    min-height: 450px;
  }
}

.p-casestudies__comment {
  color: #1e1210;
  /* 1440px基準の計算値: 18px / 1440 * 100 = 1.25vw */
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 2;
}

.p-casestudies__business {
  color: #888;
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1.7142857143;
  text-align: right;
  margin-top: auto; /* 常に最下部に配置 */
  text-align: center;
}

/* コントロールエリア：ゲージとボタンをコンテナ幅に戻す */
.p-casestudies__controls {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  gap: 24px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-casestudies__controls {
    margin-top: 48px;
    gap: 40px;
  }
}

.p-casestudies__pagination-wrapper {
  position: relative;
  flex-grow: 1;
  height: 2px;
  background-color: #e5e7eb;
}

.js-casestudies-pagination.swiper-pagination-progressbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.js-casestudies-pagination .swiper-pagination-progressbar-fill {
  background-color: #1e1210 !important;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.p-casestudies__navigation {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ボタン：基本は黄色 */
.p-casestudies__prev,
.p-casestudies__next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  position: relative;
  border: none;
  cursor: pointer;
  padding: 0;
  background-color: #ffe200;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}
@media screen and (min-width: 768px) {
  .p-casestudies__prev,
  .p-casestudies__next {
    width: 40px;
    height: 40px;
  }
}

.p-casestudies__prev::after,
.p-casestudies__next::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #1e1210; /* 矢印はテキスト色 */
  border-right: 2px solid #1e1210;
}

.p-casestudies__prev::after {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.p-casestudies__next::after {
  transform: translate(-65%, -50%) rotate(45deg);
}

/* スライダーが端に到達して動けない時の色設定（灰色） */
.p-casestudies__prev.swiper-button-disabled,
.p-casestudies__next.swiper-button-disabled {
  background-color: #e5e7eb; /* 灰色 */
  cursor: not-allowed;
  opacity: 1; /* Swiperデフォルトの半透明化を防ぐ */
}

.p-casestudies__btn-wrapper {
  margin-top: 48px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-casestudies__btn-wrapper {
    margin-top: 64px;
  }
}

.p-collab {
  position: relative;
  padding-block: 80px;
  padding-inline: 20px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-collab {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-collab__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.p-collab__bg picture,
.p-collab__bg img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-collab__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 15, 30, 0.65);
  z-index: 1;
}

.p-collab__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-inline: auto;
}

.p-collab__header {
  margin-inline: auto;
}

.p-collab__subtitle {
  display: inline-block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1;
}

.p-collab__title {
  color: #ffffff;
  font-weight: 700;
  margin-top: 16px;
  font-size: clamp(22px, 2.77vw, 32px);
  line-height: 1.5;
}

.p-collab__content {
  margin-top: 32px;
}
@media screen and (min-width: 768px) {
  .p-collab__content {
    margin-top: 48px;
  }
}

.p-collab__desc {
  color: #ffffff;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 2;
}

.p-common-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* 横方向の中央揃え（スマホ・PC共通） */
  height: 300px;
  padding-inline: 20px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-common-header {
    height: 525px;
    padding-inline: 40px;
    /* PC版で上にヘッダーバーが被る分の余白を上部に設け、実質的な表示領域の中で上下中央になるよう調整 */
    padding-top: 90px;
  }
}

/* ベース設定 */
.p-common-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* 画像の背面に黒を敷いておく（通常時は画像が不透明なので見えません） */
  background-color: #000;
}

.p-common-header__bg picture,
.p-common-header__bg img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 1; /* 通常の画像は透過させない */
}

/* ==============================================
   --dark が付与された場合の専用スタイル
   ============================================== */
/* figure要素かつ2つのクラスを持つものを厳密に指定し、優先度を最大化 */
figure.p-common-header__bg.p-common-header__bg--dark picture,
figure.p-common-header__bg.p-common-header__bg--dark img {
  /* 画像を半透明にして下地の黒を透かせる（最も確実な暗化の手法） */
  opacity: 0.5 !important;
}

.p-common-header__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  text-align: center; /* スマホ・PCともにテキストを完全中央揃えに */
}

.p-common-header__title {
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(28px, 6vw, 56px);
  line-height: 1.2;
  margin-top: 60px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-common-header__title {
    margin-top: 0;
    text-align: left;
  }
}

/* 追加した注釈テキスト（※部分）のスタイル */
.p-common-header__note {
  color: #ffffff;
  font-weight: 500;
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.7142857143;
  margin-top: 16px; /* タイトルとの隙間 */
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-common-header__note {
    margin-top: 24px;
    text-align: left;
  }
}

.p-company {
  background-color: #ffffff;
  padding-block: 80px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-company {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-company__inner {
  max-width: 1080px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .p-company__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.p-company__header {
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-company__header {
    text-align: left;
  }
}

.p-company__subtitle {
  display: block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(16px, 1.66vw, 20px);
  line-height: 1;
}

.p-company__title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 16px;
  font-size: clamp(24px, 2.77vw, 40px);
  line-height: 1.2;
}

.p-company__img {
  max-width: 400px; /* ご指定の最大幅を設定 */
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .p-company__img {
    max-width: 276px;
  }
}

.p-company__img picture,
.p-company__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 71/116;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 100px;
  margin-top: -50px;
}
@media screen and (min-width: 768px) {
  .p-company__img picture,
  .p-company__img img {
    margin-top: 0;
  }
}

@media screen and (min-width: 768px) {
  .p-company__info {
    width: 58%;
    margin-top: 0;
  }
}

.p-company__list {
  margin-top: -20px;
  border-top: 2px solid #eaf0be;
}
@media screen and (min-width: 768px) {
  .p-company__list {
    margin-top: 0;
  }
}

.p-company__row {
  display: flex;
  padding-block: 24px;
  border-bottom: 2px solid #eaf0be;
}
@media screen and (min-width: 768px) {
  .p-company__row {
    padding-block: 32px;
  }
}

.p-company__term {
  width: 80px;
  flex-shrink: 0;
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 1.75;
}
@media screen and (min-width: 768px) {
  .p-company__term {
    width: 160px;
  }
}

.p-company__desc {
  color: #1e1210;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 1.75;
}

.p-concept {
  width: 100%;
  padding-block: 80px;
  padding-inline: 20px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-concept {
    padding-block: 100px;
  }
}

.p-concept__inner {
  max-width: 800px;
  margin-inline: auto;
}

.p-concept__title {
  font-size: clamp(22px, 4.25vw, 36px);
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.8181818182;
}
.p-concept__text {
  margin-top: 40px;
  font-size: clamp(14px, 3vw, 20px);
  letter-spacing: 0.1em;
  line-height: 2.2857142857;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .p-concept__text {
    margin-top: 60px;
    line-height: 2.6;
  }
}

.p-consulting {
  background-color: #ffe200;
  padding-block: 80px;
  padding-inline: 20px;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-consulting {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-consulting__bg-text {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: clamp(72px, 9vw, 106px);
  line-height: 1;
  z-index: 0;
  white-space: nowrap;
  opacity: 0.6;
}
@media screen and (min-width: 768px) {
  .p-consulting__bg-text {
    left: auto;
    right: calc(50% - 540px);
    transform: none;
  }
}

.p-consulting__inner {
  max-width: 1080px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.p-consulting__subtitle {
  display: block;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 23px);
  line-height: 1.8571428571;
}

.p-consulting__title {
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(19px, 2.95vw, 45px);
  line-height: 2;
}

.p-consulting__lead {
  color: #1e1210;
  margin-top: 32px;
  font-size: clamp(15px, 1.9vw, 24px);
  line-height: 2.2857142857;
}
@media screen and (min-width: 768px) {
  .p-consulting__lead {
    margin-top: 40px;
  }
}

.p-consulting__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 56px;
}
@media screen and (min-width: 768px) {
  .p-consulting__list {
    gap: 56px;
    margin-top: 80px;
  }
}

.p-consulting__card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
}
@media screen and (min-width: 768px) {
  .p-consulting__card {
    padding: 64px 56px;
  }
}

.p-consulting__card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.p-consulting__card-num {
  font-size: clamp(73px, 9.6vw, 110px);
  color: #eaf0be;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-4px) !important;
}
@media screen and (min-width: 1000px) {
  .p-consulting__card-num {
    transform: translateY(-6px) !important;
  }
}

.p-consulting__card-sub {
  color: #c3d82d;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 24px);
  line-height: 1.5;
}

.p-consulting__card-title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 16px;
  text-align: center;
  font-size: clamp(20px, 2.8vw, 38px);
  line-height: 1.5714285714;
}
@media screen and (min-width: 768px) {
  .p-consulting__card-title {
    margin-top: 24px;
  }
}

.p-consulting__card-desc {
  color: #1e1210;
  /* margin-top: 24px; を削除 */
  font-size: clamp(14px, 1.11vw, 16px); /* ご自身の設定を維持 */
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-consulting__card-desc {
    width: 48%; /* 追加：PC時に左側半分に収める */
  }
}

.p-consulting__card-img {
  width: 100%;
  /* margin-top: 32px; を削除 */
  flex-shrink: 0;
}
@media screen and (min-width: 768px) {
  .p-consulting__card-img {
    width: 46%; /* 40%から46%に変更 */
    /* margin-top: 0; を削除 */
  }
}

.p-consulting__card-img picture,
.p-consulting__card-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.p-consulting__card-body {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media screen and (min-width: 768px) {
  .p-consulting__card-body {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    gap: 40px;
  }
}

.p-contact {
  padding-block: 30px 140px;
  padding-inline: 20px;
}

.p-contact__inner {
  max-width: 800px;
  margin-inline: auto;
}

.p-contact__header {
  text-align: center;
}

/* 薄く巨大な背景用テキスト */
.p-contact__title-bg {
  position: relative;
  color: #f2f2f2;
  font-family: Arial, sans-serif;
  font-size: clamp(67px, 9vw, 106px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.05em;
  margin-bottom: -10px;
  top: -34px;
  left: -8%; /* -8%を削除または0にする */
}
@media screen and (min-width: 768px) {
  .p-contact__title-bg {
    margin-bottom: -20px;
  }
}
@media screen and (min-width: 1000px) {
  .p-contact__title-bg {
    top: -35px;
    left: 42%;
  }
}

.p-contact__lead {
  color: #1e1210;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 500;
  line-height: 1.75;
  padding-bottom: 40px;
  border-bottom: 1px solid #eeeeee;
  position: relative;
  z-index: 1;
}

.p-contact__form-wrapper {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .p-contact__form-wrapper {
    margin-top: 60px;
  }
}

.p-form__item {
  margin-top: 32px;
}

.p-form__label {
  display: block;
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
}

.p-form__control {
  margin-top: 12px;
}

/* ★CF7対策：CF7が自動生成するエラーラッパー(span)の横幅を100%にする */
.p-form__control .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* 入力フィールド共通スタイル */
.c-input,
.c-select,
.c-textarea {
  width: 100%;
  background-color: #f6f6f6;
  border: none;
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 16px;
  color: #1e1210;
  font-family: inherit;
  transition: background-color 0.3s;
}

.c-input::-moz-placeholder, .c-textarea::-moz-placeholder {
  color: #aaaaaa;
}

.c-input::placeholder,
.c-textarea::placeholder {
  color: #aaaaaa;
}

.c-input:focus,
.c-select:focus,
.c-textarea:focus {
  outline: none;
  background-color: #eeeeee;
}

/* セレクトボックス（矢印アイコン付き） */
.c-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111'%3e%3cpath d='M7 15l5 5 5-5H7zM7 9l5-5 5 5H7z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 20px;
  padding-right: 50px;
}

/* テキストエリア */
.c-textarea {
  resize: vertical;
  min-height: 240px;
}

/* プライバシーポリシー同意エリア */
.p-form__privacy {
  margin-top: 26px;
  text-align: center;
}

/* ★CF7対策：CF7が出力するチェックボックス用の独自ラッパー構造を調整 */
.p-form__privacy .wpcf7-form-control-wrap {
  display: inline-block;
  width: auto;
}

.p-form__privacy .wpcf7-checkbox {
  display: inline;
}

.p-form__privacy .wpcf7-list-item {
  margin: 0;
  display: inline;
}

/* 既存の .p-form__label を以下のように修正（flexを追加） */
.p-form__label {
  display: flex;
  align-items: center;
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
}

/* 必須マークのスタイルを新規追加 */
.c-required {
  display: inline-block;
  margin-left: 12px;
  padding: 4px 8px;
  background-color: #e53935; /* 視認性の高い赤色 */
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
  line-height: 1;
  letter-spacing: 0.05em;
}

/* プライバシーポリシーのテキスト内でも必須マークを綺麗に配置するための調整 */
.p-form__privacy-text {
  display: inline-flex;
  align-items: center;
}

/* ★CF7対策：CF7が出力するinputタグを直接指定 */
.p-form__privacy-checkbox input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin: 0 12px 0 0; /* 右側だけに余白を持たせる */
  accent-color: #ffe200;
  cursor: pointer;
  vertical-align: middle;
}

.p-form__privacy-text {
  color: #1e1210;
  font-size: clamp(12px, 1.25vw, 14px);
  font-weight: 500;
  vertical-align: middle;
}

.p-form__privacy-link {
  color: #1e1210;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.p-form__privacy-link:hover {
  opacity: 0.7;
}

/* 送信ボタンエリア */
.p-form__submit-wrapper {
  margin-top: 40px;
  text-align: center;
}
@media screen and (min-width: 1000px) {
  .p-form__submit-wrapper {
    margin-top: 60px;
  }
}

.c-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  padding-block: 16px;
  background: linear-gradient(122deg, #fff6af 2.54%, #ffe72e 100%);
  color: #1e1210;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s;
  position: relative;
}

.c-submit-btn:hover {
  opacity: 0.8;
}

.c-submit-btn::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 2px solid #1e1210;
  border-right: 2px solid #1e1210;
}

/* ★CF7対策：送信中スピナーやバリデーションエラーメッセージの表示位置調整 */
.wpcf7-not-valid-tip {
  color: #ff0000;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
  display: block;
  text-align: left;
}

.wpcf7-response-output {
  margin: 20px 0 0 0 !important;
  padding: 12px 20px !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  text-align: center;
}

.p-form__privacy-desc {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7142857143;
  color: #1e1210;
  margin-bottom: 20px;
}

.p-form__privacy-link {
  color: #1e1210;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.p-form__privacy-link:hover {
  opacity: 0.7;
}

/* 案内文の下に余白を作らず、チェックボックス側にmargin-topを指定 */
.p-form__privacy-control {
  margin-top: 24px;
}

.p-form__privacy-agree {
  color: #1e1210;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 700;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

/* ============================================
   CTA Section
   ============================================ */
.p-cta {
  background-color: #ffe200; /* カンプの背景色（黄色） */
  padding-block: clamp(60px, 8vw, 100px);
  padding-inline: 20px;
}

.p-cta__inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.p-cta__title {
  color: #ffffff; /* タイトルは白色 */
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.p-cta__desc {
  color: #1e1210; /* 説明文は黒色 */
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 700;
  line-height: 2;
  margin-top: clamp(32px, 4vw, 40px);
}

/* スマホとPCでテキストが違う場合の表示切り替え用 (すでに共通定義があれば不要です) */
.u-hidden-sp {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-hidden-sp {
    display: block;
  }
}

.u-visible-sp {
  display: block;
}
@media screen and (min-width: 768px) {
  .u-visible-sp {
    display: none;
  }
}

/* ボタンエリア */
.p-cta__btn-wrapper {
  margin-top: clamp(40px, 5vw, 48px);
  display: flex;
  justify-content: center;
}

/* CTAボタン */
.p-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  padding-block: 20px;
  background-color: #ffffff; /* 初期背景は白 */
  color: #1e1210; /* 初期文字色は黒 */
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid transparent; /* ホバー時の枠線ずれ防止 */
}

/* ボタン右側の矢印(>)をCSSで描画 */
.p-cta__btn::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid #1e1210;
  border-right: 1px solid #1e1210;
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.4s ease;
}

/* ホバー時の反転アクション（ご要望通り背景黄色・文字白に） */
.p-cta__btn:hover {
  opacity: 0.7;
}

/* ============================================
   Customers Section
   ============================================ */
.p-customers {
  background-color: #f5f5f5;
  padding-block: 80px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-customers {
    padding-block: 160px;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1000px) {
  .p-customers {
    padding-inline: 0px;
  }
}

.p-customers__inner {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

.p-customers__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-customers__label {
  display: block;
  font-size: clamp(12px, 1.5vw, 14px);
  line-height: 1.7142857143;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.p-customers__heading {
  display: block;
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.5;
  font-weight: 700;
}

.p-customers__text {
  margin: 0;
  margin-top: 25px;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.8666666667;
  text-align: center;
}

.p-customers__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 0;
  margin-top: 50px;
  padding: 0;
  list-style: none;
}
@media screen and (min-width: 768px) {
  .p-customers__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 70px;
  }
}

.p-customers__item {
  width: 100%;
  aspect-ratio: 1/1;
}

.p-customers__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.p-customers__logo-wrapper {
  width: 80%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-customers__logo {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  /* リンクではないため、グレーアウトせず最初から通常表示にします */
  opacity: 1;
}

/* 出現前の初期状態：透明で下にずらす */
.js-stagger-item {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
}

.p-faq {
  padding-block: clamp(20px, 10vw, 120px);
}

.p-faq__inner {
  max-width: 900px;
  margin-inline: auto;
}

.p-faq__header {
  text-align: center;
}

.p-faq__title-bg {
  position: relative;
  top: -40px;
  color: #f2f2f2;
  font-family: Inter;
  font-size: clamp(55px, 8.5vw, 106px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
  /* margin-bottom: 20px; */
  display: block;
  width: 100%;
  text-align: center;
  text-indent: 0.05em;
}

@media screen and (min-width: 1000px) {
  .p-faq__list {
    margin-top: 40px;
  }
}

.p-faq__item + .p-faq__item {
  margin-top: 24px;
}

.p-faq__q {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background-color: #ffe200;
  border: none;
  border-radius: 4px;
  padding: clamp(16px, 3vw, 24px) clamp(20px, 4vw, 32px);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.p-faq__q:hover {
  opacity: 0.85;
}

.p-faq__q-mark {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  font-family: Arial, sans-serif;
  margin-right: clamp(16px, 3vw, 24px);
  flex-shrink: 0;
  color: #1e1210 !important;
}

.p-faq__q-text {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 700;
  line-height: 1.5;
  flex-grow: 1;
  padding-right: 5px;
  color: #1e1210 !important;
}
@media screen and (min-width: 768px) {
  .p-faq__q-text {
    padding-right: 20px;
  }
}

.p-faq__q-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.p-faq__q-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1e1210;
  transform: translateY(-50%);
}

.p-faq__q-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: #1e1210;
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.p-faq__q.is-open .p-faq__q-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.p-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  visibility: hidden;
}

.p-faq__q.is-open + .p-faq__a {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.p-faq__a-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  padding: 0 clamp(20px, 4vw, 32px);
  background-color: #ffffff;
  transition: padding 0.4s ease;
}

.p-faq__q.is-open + .p-faq__a .p-faq__a-inner {
  padding: clamp(24px, 4vw, 32px) clamp(20px, 4vw, 32px);
}

.p-faq__a-mark {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  font-family: Arial, sans-serif;
  margin-right: clamp(16px, 3vw, 24px);
  flex-shrink: 0;
}

.p-faq__a-text {
  font-size: clamp(14px, 1.5vw, 15px);
  line-height: 1.8666666667;
  color: #1e1210;
}

.p-faq__list-bullet {
  padding-left: 20px;
  list-style-type: disc;
}

.p-faq__list-bullet li {
  margin-top: 8px;
}

.p-feature {
  position: relative;
  background-color: #ffe200;
  padding-block: 80px;
  padding-inline: 20px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-feature {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-feature__bg-text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: clamp(67px, 9vw, 106px);
  line-height: 1;
  z-index: 0;
  white-space: nowrap;
}
@media screen and (min-width: 1000px) {
  .p-feature__bg-text {
    top: -15px;
    left: 66%;
  }
}

.p-feature__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin-inline: auto;
  margin-top: 10px;
}
@media screen and (min-width: 1000px) {
  .p-feature__inner {
    margin-top: 30px;
  }
}

.p-feature__header {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.p-feature__subtitle {
  display: block;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1;
}

.p-feature__title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 36px;
  font-size: clamp(19px, 2.77vw, 32px);
  line-height: 1.5;
}
@media screen and (min-width: 1000px) {
  .p-feature__title {
    margin-top: 46px;
  }
}

.p-feature__desc {
  color: #1e1210;
  margin-top: 32px;
  font-weight: 500;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-feature__desc {
    margin-top: 48px;
  }
}

.p-feature__cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-feature__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
  }
}

.p-feature__card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.p-feature__card-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.p-feature__card-img picture,
.p-feature__card-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-feature__card-title {
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(18px, 1.66vw, 20px);
  line-height: 1.5;
  margin-bottom: 16px;
}

.p-feature__card-text {
  color: #1e1210;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 1.75;
  text-align: left;
}
@media screen and (min-width: 768px) {
  .p-feature__card-text {
    text-align: justify;
  }
}

.p-feature__lead {
  font-size: clamp(16px, 2vw, 20px); /* 例: 文字を少し大きくする */
  display: inline-block; /* 必要に応じて指定してください */
}

.p-flow {
  background-color: #ffffff;
  padding-block: 80px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-flow {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-flow__inner {
  max-width: 1080px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .p-flow__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
}

@media screen and (min-width: 768px) {
  .p-flow__header {
    width: 32%;
  }
}

.p-flow__en-title {
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(45px, 6.5vw, 87px);
  line-height: 1.1;
}

.p-flow__ja-title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 16px;
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .p-flow__ja-title {
    margin-top: 24px;
  }
}

.p-flow__steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 56px;
}
@media screen and (min-width: 768px) {
  .p-flow__steps {
    width: 60%;
    gap: 64px;
    margin-top: 0;
  }
}

.p-flow__step {
  display: flex;
  gap: 24px;
}
@media screen and (min-width: 768px) {
  .p-flow__step {
    gap: 40px;
  }
}

.p-flow__step-icon-col {
  width: clamp(60px, 5.55vw, 80px);
  flex-shrink: 0;
  position: relative;
}

.p-flow__step-icon picture,
.p-flow__step-icon img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 70px;
}
@media screen and (min-width: 1000px) {
  .p-flow__step-icon picture,
  .p-flow__step-icon img {
    min-width: 100px;
  }
}

.p-flow__step-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.p-flow__step-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #c3d82d;
  color: #ffffff;
  font-weight: 700;
  padding-block: 6px;
  padding-inline: 16px;
  border-radius: 999px;
  font-size: clamp(12px, 0.97vw, 14px);
  line-height: 1;
}

.p-flow__step-title {
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.5;
}

.p-flow__step-desc {
  color: #1e1210;
  margin-top: 16px;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 2;
}

.p-greeting {
  background-color: #f9f9f9; /* 既存セクションとの境界を美しく作る薄いグレー */
  padding-block: clamp(80px, 10vw, 140px);
  padding-inline: 20px;
  position: relative;
  overflow: hidden;
}

.p-greeting__inner {
  max-width: 1080px;
  margin-inline: auto;
  position: relative;
}

/* 背景の薄く巨大なテキスト */
.p-greeting__title-bg {
  position: absolute;
  top: -40px;
  left: -15%;
  color: #f0f0f0;
  font-size: clamp(60px, 8.5vw, 106px);
  font-family: Inter;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  width: 100%;
  text-align: center;
  text-indent: 0.03em; /* letter-spacingによる右ズレを中央へ補正 */
  pointer-events: none; /* テキスト選択やクリックの邪魔をしない */
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-greeting__title-bg {
    top: -40px;
  }
}
@media screen and (min-width: 1000px) {
  .p-greeting__title-bg {
    top: -70px;
  }
}

.p-greeting__container {
  margin-top: 48px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-greeting__container {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
    margin-top: 80px;
  }
}

/* 左カラム（固定・追従エリア） */
.p-greeting__sidebar {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-greeting__sidebar {
    width: 42%;
    position: sticky;
    top: 60px; /* PCスクロール時に心地よく追従 */
    height: -moz-fit-content;
    height: fit-content;
  }
}

.p-greeting__catch {
  color: #1e1210;
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  line-height: 1.5384615385;
  letter-spacing: 0.02em;
}

.p-greeting__profile {
  margin-top: 24px;
  border-left: 2px solid #ffe200; /* ブランドカラーの縦線アクセント */
  padding-left: 16px;
}
@media screen and (min-width: 768px) {
  .p-greeting__profile {
    margin-top: 48px;
  }
}

.p-greeting__lead {
  color: #888888;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.p-greeting__name {
  color: #1e1210;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1;
  margin-top: 10px;
}

/* 右カラム（本文エリア） */
.p-greeting__content {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-greeting__content {
    width: 53%;
  }
}

.p-greeting__text {
  color: #1e1210;
  font-size: clamp(14px, 1.5vw, 15px);
  line-height: 1.8666666667;
  font-weight: 500;
  text-align: justify; /* 両端を綺麗に揃えて知的な印象に */
}

/* 下方向へのmarginを禁止し、要素の上側で距離を制御 */
.p-greeting__text + .p-greeting__text {
  margin-top: 24px;
}

.p-greeting__sign {
  margin-top: 40px;
  text-align: right;
  color: #1e1210;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8666666667;
}
@media screen and (min-width: 768px) {
  .p-greeting__sign {
    margin-top: 56px;
  }
}

.p-hub {
  background-color: #fbfaf5;
  padding-block: 80px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-hub {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-hub__inner {
  max-width: 1080px;
  margin-inline: auto;
}

.p-hub__card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-hub__card {
    flex-direction: row;
    align-items: center;
    padding: 80px 45px;
    gap: 64px;
  }
}

.p-hub__img {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-hub__img {
    width: 45%;
    flex-shrink: 0;
  }
}

.p-hub__img picture,
.p-hub__img img {
  display: block;
  width: 100%;
  height: auto;
}

.p-hub__content {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-hub__content {
    width: 55%;
  }
}

.p-hub__subtitle {
  display: block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(24px, 2.77vw, 40px);
  line-height: 1;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-hub__subtitle {
    text-align: left;
  }
}

.p-hub__title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 24px;
  font-size: clamp(20px, 2.22vw, 32px);
  line-height: 1.5;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-hub__title {
    margin-top: 32px;
    text-align: left;
  }
}

.p-hub__desc {
  color: #1e1210;
  margin-top: 32px;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-hub__desc {
    margin-top: 40px;
  }
}

/* ====================================
   会社情報セクション
   ==================================== */
.p-info {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 40px;
  padding-inline: 20px;
  background: #fff; /* 親セクション自体の背景は白 */
}
@media screen and (min-width: 768px) {
  .p-info {
    padding-block: 100px;
    padding-inline: 40px;
  }
}

/* 文字などを手前に浮かす設定 */
.p-info__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin-inline: auto;
}

.p-info__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  max-width: 600px;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-info__bg {
    width: 30%;
  }
}
@media screen and (min-width: 1000px) {
  .p-info__bg {
    width: 25%;
  }
}
.p-info__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: right center;
     object-position: right center;
  transform: translateX(-100vw);
  filter: drop-shadow(100vw 0 0 #2a5e2d);
}

.p-info__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: right center;
     object-position: right center;
}

.p-info__inner {
  max-width: 1000px;
  margin-inline: auto;
}

.p-info__title {
  text-align: center;
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 1000px) {
  .p-info__title {
    text-align: left;
    margin-left: 100px;
  }
}

.p-info__list {
  margin-top: 40px;
  border-left: 1px solid #c3d82d;
  padding-left: 20px;
}
@media screen and (min-width: 768px) {
  .p-info__list {
    margin-top: 120px;
    padding-left: 40px;
  }
}

.p-info__row {
  margin-top: 40px;
}
.p-info__row:first-child {
  margin-top: 0;
}

.p-info__term {
  color: #c3d82d;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 2;
}

.p-info__desc {
  margin-top: 15px;
  margin-left: 20px;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 2;
  letter-spacing: 0.05em;
}

.p-info__note {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9em;
}

/* ============================================
   Line CTA Section (Banner Style) - Revised Button
   ============================================ */
.p-line-cta {
  background-color: #f7f8fa;
  padding-block: 60px;
  padding-inline: 0;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-line-cta {
    padding-block: 80px;
  }
}
@media screen and (min-width: 1000px) {
  .p-line-cta {
    padding-block: 185px;
  }
}

.p-line-cta__inner {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
@media screen and (min-width: 768px) {
  .p-line-cta__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
  }
}

/* ----------------------------------
   Left Content
   ---------------------------------- */
.p-line-cta__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-line-cta__content {
    flex: 1;
  }
}

/* ロゴ＋タイトルを横並び */
.p-line-cta__heading-group {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .p-line-cta__heading-group {
    justify-content: flex-start;
  }
}

.p-line-cta__logo-wrapper {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  margin-bottom: 0;
}

.p-line-cta__logo {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.p-line-cta__title {
  display: block;
  margin: 0;
  font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1.4;
  font-weight: 700;
  color: #333333;
  font-feature-settings: "palt";
  text-align: left;
}

.p-line-cta__text {
  display: block;
  margin: 0;
  margin-top: 20px;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.7142857143;
  font-weight: 400;
  color: #666666;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-line-cta__text {
    text-align: left;
  }
}

/* ----------------------------------
   Right Action Area
   ---------------------------------- */
.p-line-cta__action-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-line-cta__action-area {
    width: auto;
    flex-shrink: 0;
    min-width: 320px;
  }
}

.p-line-cta__balloon {
  display: block;
  font-size: 14px;
  color: #666666;
  margin-bottom: 10px;
  position: relative;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ▼▼▼ ボタンのデザイン変更箇所 ▼▼▼ */
.p-line-cta__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  /* 背景白、文字と枠線をアクセントカラーに */
  background-color: #ffffff;
  color: #c3d82d;
  border: 1px solid #c3d82d;
  text-decoration: none;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  padding-block: 16px;
  padding-inline: 40px;
  border-radius: 50px;
  transition: all 0.3s ease; /* アニメーションを滑らかに */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
@media screen and (min-width: 768px) {
  .p-line-cta__button {
    width: 100%;
  }
}

/* ホバー時に反転 */
.p-line-cta__button:hover {
  background-color: #c3d82d;
  color: #ffffff;
  opacity: 1; /* 透明度は変えず色で変化を見せる */
  transform: translateY(-2px);
}

.p-member {
  width: 100%;
  background: #fbf8eb;
  padding-block: 80px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-member {
    padding-block: 100px;
    padding-inline: 40px;
  }
}

.p-member__inner {
  max-width: 1000px;
  margin-inline: auto;
}

.p-member__title {
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  color: #2a5e2d; /* 緑色 */
}

.p-member__lead {
  margin-top: 30px;
  font-size: clamp(14px, 1.5vw, 22px);
  letter-spacing: 0.05em;
  line-height: 2;
}

.p-member__list {
  margin-top: 60px;
  display: grid;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-member__list {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 40px;
         column-gap: 40px;
    row-gap: 60px;
    margin-top: 80px;
  }
}
@media screen and (min-width: 1000px) {
  .p-member__list {
    margin-top: 110px;
    row-gap: 110px;
  }
}

.p-member__item {
  width: 100%;
}

.p-member__figure {
  width: 100%;
  aspect-ratio: 1/1; /* 正方形を維持 */
  border-radius: 6px;
  overflow: hidden;
  background-color: #ddd; /* 画像読み込み前のグレー */
}

.p-member__figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-member__body {
  margin-top: 20px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-member__body {
    margin-top: 30px;
  }
}

.p-member__name {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.p-member__position {
  font-size: 12px;
  margin-left: 10px;
  font-weight: 400;
  color: #9b9b9b;
}

.p-member__text {
  margin-top: 15px;
  line-height: 1.6;
  text-align: left; /* テキストは左揃え */
}

.p-message {
  position: relative;
  background-color: #ffe200;
  padding-block: 80px;
  padding-inline: 20px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-message {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-message__bg-text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: clamp(62px, 9vw, 120px);
  font-weight: 700;
  line-height: 1;
  z-index: 0;
  white-space: nowrap;
}

.p-message__bg-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}

.p-message__bg-img picture,
.p-message__bg-img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom right;
     object-position: bottom right;
}

.p-message__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-inline: auto;
}

.p-message__subtitle {
  display: block;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 23px);
  line-height: 1.8571428571;
}

.p-message__title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 16px;
  font-size: clamp(24px, 2.77vw, 40px);
  line-height: 2;
}

.p-message__desc {
  color: #1e1210;
  margin-top: 40px;
  font-weight: 500;
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  line-height: 2.6666666667;
}
@media screen and (min-width: 768px) {
  .p-message__desc {
    margin-top: 56px;
  }
}

.p-mv {
  position: relative;
  width: 100%;
  padding-block: 60px 0;
}
@media screen and (min-width: 768px) {
  .p-mv {
    padding-block: 80px 0;
  }
}

.p-mv__images {
  width: 100%;
  position: relative;
}

.p-mv__slider {
  width: 100%;
}

.swiper-slide-img {
  width: 100%;
}

.swiper-slide-img img {
  width: 100%;
  height: auto; /* 画像の比率を保ったまま全て表示させる */
}

.p-mvv {
  padding-block: 80px;
  background-color: #ffffff;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-mvv {
    padding-block: 120px;
  }
}
@media screen and (min-width: 1000px) {
  .p-mvv {
    padding-block: 260px;
  }
}

.p-mvv__block {
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-mvv__block {
    display: flex;
    align-items: center;
  }
}

.p-mvv__block:not(:last-child) {
  margin-bottom: 100px;
}
@media screen and (min-width: 768px) {
  .p-mvv__block:not(:last-child) {
    margin-bottom: 200px;
  }
}
@media screen and (min-width: 1000px) {
  .p-mvv__block:not(:last-child) {
    margin-bottom: 220px;
  }
}

@media screen and (min-width: 768px) {
  .p-mvv__block--mission {
    justify-content: flex-start;
  }
}

@media screen and (min-width: 768px) {
  .p-mvv__block--vision {
    justify-content: flex-end;
    text-align: right;
  }
}

.p-mvv__bg-text {
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: "Allura", cursive;
  font-weight: 200;
  font-size: clamp(75px, 15vw, 200px);
  line-height: 1;
  color: #c3d82d;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .p-mvv__bg-text {
    top: -70px;
    left: 0;
  }
}

.p-mvv__block--vision .p-mvv__bg-text {
  left: auto;
  right: -20px;
}
@media screen and (min-width: 768px) {
  .p-mvv__block--vision .p-mvv__bg-text {
    right: 0;
  }
}

.p-mvv__bg-text--center {
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
  .p-mvv__bg-text--center {
    top: -90px;
    left: 50%;
  }
}

.p-mvv__content {
  position: relative;
  z-index: 1;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-mvv__content {
    max-width: 850px;
  }
}

.p-mvv__title {
  display: flex;
  flex-direction: column;
}

.p-mvv__en {
  display: block;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.p-mvv__ja {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.3333333333;
  margin-top: 4px;
}

.p-mvv__desc {
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 2;
  color: #666666;
  margin-top: 32px;
}

/* ============================================
   MOTTO (Values) エリア - 案B：千鳥グリッドスタイル
   ============================================ */
.p-mvv__values {
  margin-top: 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-mvv__values {
    margin-top: 140px;
  }
}

.p-mvv__values-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-mvv__bg-text--center {
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
  .p-mvv__bg-text--center {
    top: -90px;
    left: 50%;
  }
}

.p-mvv__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px; /* スマホの隙間 */
  margin-top: 50px;
}
@media screen and (min-width: 768px) {
  .p-mvv__list {
    gap: 40px 60px; /* PCの隙間（横は広めに） */
    max-width: 1000px;
    margin-inline: auto;
    margin-top: 80px;
    align-items: flex-start; /* 縦位置調整のために必要 */
  }
}

/* ============================================
   MOTTO (Values) エリア - 最終完成形
   ============================================ */
.p-mvv__values {
  margin-top: 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-mvv__values {
    margin-top: 140px;
  }
}

.p-mvv__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 50px;
}
@media screen and (min-width: 768px) {
  .p-mvv__list {
    gap: 40px 60px;
    max-width: 1000px;
    margin-inline: auto;
    margin-top: 80px;
    align-items: flex-start;
  }
}

.p-mvv__item {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 4px;
  text-align: left;
  border: 1px solid #eeeeee;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  /* GSAPで登場させるため、初期状態はJSに任せるか、opacity:0にしておく */
  opacity: 0;
  /* ホバー時の挙動のみCSSで管理（即反応させるため） */
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}
@media screen and (min-width: 768px) {
  .p-mvv__item {
    width: calc((100% - 60px) / 2);
  }
}
.p-mvv__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 51, 42, 0.08);
  border-color: transparent;
}

/* 千鳥配置（PCのみ） */
@media screen and (min-width: 768px) {
  .p-mvv__item:nth-child(even) {
    margin-top: 60px;
  }
}
.p-mvv__num {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: "Allura", cursive;
  font-size: 80px;
  color: #1e503e;
  line-height: 1;
  opacity: 0.1;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.p-mvv__item-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  color: #333;
}

.p-mvv__item-text {
  font-size: 14px;
  line-height: 2;
  color: #666666;
  font-feature-settings: "palt";
  position: relative;
}

/* ============================================
   会社概要セクション (Premium Dark Style)
   ============================================ */
.p-company-outline {
  padding-block: 100px;
  position: relative;
  overflow: hidden;
}
.p-company-outline.is-dark {
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .p-company-outline {
    padding-block: 100px;
  }
}
@media screen and (min-width: 1000px) {
  .p-company-outline {
    padding-block: 160px 120px;
  }
}

.p-company-outline__header {
  position: relative;
  text-align: center;
  margin-bottom: 80px;
}
@media screen and (min-width: 768px) {
  .p-company-outline__header {
    margin-bottom: 120px;
  }
}

.p-company-outline__bg-text {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Allura", cursive;
  font-size: clamp(100px, 15vw, 240px);
  line-height: 1;
  color: #ffffff;
  opacity: 0.03;
  pointer-events: none;
  white-space: nowrap;
}

.p-company-outline__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.p-company-outline__en {
  display: block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.15em;
  color: #c9e883;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.p-company-outline__ja {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
  color: #ffffff;
}

.p-company-list {
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-company-list {
    max-width: 960px;
    margin-inline: auto;
  }
}

.p-company-list__inner {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
}

.p-company-list__row {
  width: 100%;
  padding-block: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media screen and (min-width: 768px) {
  .p-company-list__row {
    flex-direction: row;
    align-items: baseline;
    padding-block: 40px;
    padding-inline: 15px;
    gap: 60px;
  }
}

@media screen and (min-width: 768px) {
  .p-company-list__row--half {
    width: 50%;
  }
  .p-company-list__row--half:nth-of-type(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.p-company-list__term {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  min-width: 140px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-company-list__term {
    font-size: 16px;
  }
}

.p-company-list__desc {
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  line-height: 1.8;
  color: #ffffff;
  flex: 1;
}
@media screen and (min-width: 768px) {
  .p-company-list__desc {
    font-size: 18px;
  }
}

.u-sp-only {
  display: block;
}
@media screen and (min-width: 768px) {
  .u-sp-only {
    display: none;
  }
}

.p-company-list__sub-list {
  list-style: none;
}

.p-company-list__sub-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.5em;
  line-height: 1.8;
}
.p-company-list__sub-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background-color: #ffffff;
}

.p-company-list__grid-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.p-company-list__grid-list li {
  font-size: 14px;
  opacity: 0.9;
}
@media screen and (min-width: 768px) {
  .p-company-list__grid-list li {
    font-size: 16px;
    width: calc(50% - 10px);
  }
}

/* ============================================
   チーム紹介セクション (Team)
   ============================================ */
.p-team {
  padding-block: 100px;
  position: relative;
  overflow: hidden;
  /* 背景グラデーション（会社概要と同じ） */
}
.p-team.is-dark {
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .p-team {
    padding-block: 100px;
  }
}
@media screen and (min-width: 1000px) {
  .p-team {
    padding-block: 120px 120px;
  }
}

/* --- タイトルエリア --- */
.p-team__header {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}
@media screen and (min-width: 768px) {
  .p-team__header {
    margin-bottom: 100px;
  }
}

.p-team__bg-text {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Allura", cursive; /* 筆記体 */
  font-size: clamp(100px, 15vw, 240px);
  line-height: 1;
  color: #ffffff;
  opacity: 0.03;
  pointer-events: none;
  white-space: nowrap;
}

.p-team__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.p-team__en {
  display: block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.15em;
  color: #c9e883; /* アクセントカラー */
  text-transform: uppercase;
  margin-bottom: 10px;
}

.p-team__ja {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
  color: #ffffff;
}

.p-team__lead {
  font-size: 14px;
  line-height: 2;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.9);
}
@media screen and (min-width: 768px) {
  .p-team__lead {
    font-size: 16px;
  }
}

/* --- メンバーリスト（カードレイアウト） --- */
.p-team__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-team__list {
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    gap: 30px;
    max-width: 1100px;
    margin-inline: auto;
  }
}

/* 個別のカード（グラスモーフィズム） */
.p-team__item {
  /* すりガラスのような背景 */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  /* ホバー時の動き */
}
.p-team__item:hover {
  transform: translateY(-10px); /* 浮き上がる */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  /* 画像のズーム効果 */
}
.p-team__item:hover .p-team__img {
  transform: scale(1.05);
  filter: grayscale(0%); /* 色を戻す */
}

/* 画像エリア */
.p-team__img-wrapper {
  width: 100%;
  aspect-ratio: 3/4; /* 縦長の比率で統一 */
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 24px;
  background-color: #000; /* 画像ロード前の背景 */
}

.p-team__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(30%); /* 最初は少し彩度を落としてシックに */
}

/* テキストエリア */
.p-team__content {
  text-align: left;
}

.p-team__role {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 700;
}

.p-team__name {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .p-team__name {
    font-size: 24px;
  }
}

.p-team__desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  font-feature-settings: "palt";
}
@media screen and (min-width: 768px) {
  .p-team__desc {
    font-size: 14px;
  }
}

/* ============================================
   沿革セクション (History) - 完全修正版
   ============================================ */
.p-history {
  padding-block: 100px;
  position: relative;
  overflow: hidden;
}
.p-history.is-dark {
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .p-history {
    padding-block: 160px;
  }
}

.p-history__header {
  text-align: center;
  margin-bottom: 60px;
}
@media screen and (min-width: 768px) {
  .p-history__header {
    margin-bottom: 100px;
  }
}

.p-history__title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-history__en {
  display: block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.15em;
  color: #c9e883;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.p-history__ja {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
  color: #ffffff;
}

/* --- リスト本体 --- */
.p-history__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-history__list {
    flex-direction: row;
    justify-content: center;
    gap: 0; /* PCはgapなしでflex等分配置 */
    max-width: 1000px;
    margin-inline: auto;
  }
}

/* 個別のアイテム */
.p-history__item {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-history__item {
    flex-direction: column;
    gap: 32px;
    flex: 1; /* 均等に幅をとる */
    padding-inline: 10px;
  }
}

/* 連結ライン（PCのみ） */
/* ポイント：ラインを「ひし形の間」にだけ引く */
.p-history__item::after {
  content: "";
  display: none;
}
@media screen and (min-width: 768px) {
  .p-history__item::after {
    display: block;
    position: absolute;
    top: 60px; /* ひし形(120px)の中心 */
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    /* ラインの開始位置：中央(50%) + ひし形の横幅半分(約86px) */
    left: calc(50% + 86px);
    /* ラインの長さ：アイテム全幅(100%) - ひし形の横幅(約172px) */
    width: calc(100% - 172px);
  }
}

/* 最後のアイテムは右に線を伸ばさない */
.p-history__item:last-child::after {
  display: none;
}

/* --- ひし形エリア --- */
.p-history__diamond {
  position: relative;
  width: 100px;
  height: 100px;
  /* ひし形を作る回転 */
  transform: rotate(45deg);
  /* デザイン：細い枠線とすりガラス風 */
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  /* 位置調整 */
  flex-shrink: 0;
  margin-left: 10px; /* 回転のはみ出し分確保 */
  margin-block: 10px;
}
@media screen and (min-width: 768px) {
  .p-history__diamond {
    width: 120px;
    height: 120px;
    margin: 0;
  }
}

.p-history__item:hover .p-history__diamond {
  border-color: #c9e883;
  background-color: rgba(201, 232, 131, 0.1);
  box-shadow: 0 0 20px rgba(201, 232, 131, 0.4);
}

/* --- ひし形の中身（文字位置の補正用） --- */
.p-history__diamond-inner {
  width: 100%;
  height: 100%;
  /* 親の回転(45deg)を打ち消す */
  transform: rotate(-45deg);
  /* ど真ん中に配置 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.p-history__year {
  display: block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1;
  margin-bottom: 6px;
  color: #ffffff;
}

.p-history__month {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1;
  color: #ffffff;
}

/* --- 説明テキスト --- */
.p-history__desc {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 1.7333333333;
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .p-history__desc {
    text-align: center;
    margin-top: 16px;
  }
}

/* ============================================
   blog詳細セクション (History) - 完全修正版
   ============================================ */
.p-single-blog {
  padding-block: 80px;
}
@media screen and (min-width: 768px) {
  .p-single-blog {
    padding-block: 120px;
  }
}

.p-entry {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-entry {
    max-width: 800px;
    margin-inline: auto;
  }
}

.p-entry__thumbnail {
  width: 100%;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-entry__thumbnail {
    max-width: 80%;
    margin-inline: auto;
  }
}

.p-entry__thumbnail img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 51, 42, 0.08);
}

.p-entry__header {
  margin-top: 50px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.p-entry__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.p-entry__cat {
  display: inline-block;
  font-size: 12px;
  padding-block: 5px;
  padding-inline: 12px;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #ffffff;
  background-color: #c3d82d;
}

.p-entry__date {
  font-size: 14px;
  color: #666666;
}

.p-entry__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 20px;
}

.p-entry__body {
  font-size: 16px;
  line-height: 1.875;
  font-feature-settings: "palt";
  margin-top: 30px;
}

.p-entry__body > * + * {
  margin-top: 1.8em;
}

.p-entry__body h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 80px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00332a;
  color: #00332a;
  line-height: 1.4166666667;
}

.p-entry__body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 60px;
  border-left: 4px solid #c9e883;
  padding-left: 16px;
  line-height: 1.4;
}

.p-entry__body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-top: 30px;
}

.p-entry__body blockquote {
  border-left: 4px solid #cccccc;
  padding-left: 20px;
  color: #666666;
  font-style: italic;
  margin-top: 30px;
}

.p-single-blog__footer {
  width: 100%; /* 親要素の幅を最大まで広げる */
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.p-network {
  position: relative;
  background-color: #f3f4f6;
  padding-block: 80px;
  padding-inline: 20px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-network {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-network__bg-text {
  position: absolute;
  top: -5px;
  left: 5%;
  color: #ffffff;
  font-size: clamp(67px, 9vw, 106px);
  line-height: 1;
  z-index: 0;
  white-space: nowrap;
}
@media screen and (min-width: 1000px) {
  .p-network__bg-text {
    left: 50%;
    top: -20px;
  }
}

.p-network__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin-inline: auto;
}

.p-network__subtitle {
  display: inline-block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1;
}

.p-network__title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 16px;
  font-size: clamp(24px, 2.77vw, 40px);
  line-height: 1.2;
}
@media screen and (min-width: 768px) {
  .p-network__title {
    margin-top: 24px;
  }
}

.p-network__desc {
  color: #1e1210;
  margin-top: 32px;
  font-size: clamp(14px, 1.7vw, 20px);
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-network__desc {
    margin-top: 40px;
  }
}

.p-news {
  padding-block: 60px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-news {
    padding-block: 100px;
    padding-inline: 40px;
  }
}

.p-news__inner {
  max-width: 1080px;
  margin-inline: auto;
}

.p-news__subtitle {
  display: block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 23px);
  line-height: 1.8571428571;
}

.p-news__title {
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(24px, 2.22vw, 32px);
  line-height: 2;
}

.p-news__lead {
  color: #1e1210;
  margin-top: 24px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
}

.p-news__list {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .p-news__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
  }
}

.p-news-card__link {
  display: block;
  text-decoration: none;
}
.p-news-card__link:hover .p-news-card__thumb img {
  transform: scale(1.05);
}

.p-news-card__thumb {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.p-news-card__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}

.p-news-card__title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 16px;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 1.8571428571;
}

.p-news__btn-wrapper {
  margin-top: 48px;
}
@media screen and (min-width: 768px) {
  .p-news__btn-wrapper {
    margin-top: 64px;
  }
}

/* ====================================
   ニュース一覧ページ専用スタイル
   ==================================== */
.p-newsArchive {
  width: 100%;
  padding-block: 80px;
}
@media screen and (min-width: 768px) {
  .p-newsArchive {
    padding-block: 100px;
  }
}

.p-newsArchive__container {
  max-width: 800px; /* リストの横幅を制限 */
  margin-inline: auto;
}

/* --- 白い箱（リスト全体） --- */
.p-newsArchive__list {
  background: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* うっすら影 */
}
@media screen and (min-width: 768px) {
  .p-newsArchive__list {
    padding: 50px 60px;
  }
}

/* --- 各記事アイテム --- */
.p-newsArchive__item {
  display: block;
  text-decoration: none;
  border-bottom: 1px solid #e0e0e0; /* 下線 */
  padding-block: 25px;
  transition: opacity 0.3s;
}
.p-newsArchive__item:first-child {
  padding-top: 0;
}
.p-newsArchive__item:last-child {
  border-bottom: none; /* 最後の線は消す */
  padding-bottom: 0;
}
.p-newsArchive__item:hover {
  opacity: 0.7;
}

/* --- メタ情報（カテゴリラベル + 日付） --- */
.p-newsArchive__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

/* カテゴリラベル */
.p-newsArchive__cat {
  background-color: #899f83; /* 緑色 */
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  font-weight: 500;
  display: inline-block;
}

/* 日付 */
.p-newsArchive__date {
  font-size: 14px;
  letter-spacing: 0.05em;
  font-family: "Yu Mincho", serif; /* 雰囲気に合わせて明朝体など */
}

/* --- タイトル --- */
.p-newsArchive__title {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  font-weight: normal;
}
@media screen and (min-width: 768px) {
  .p-newsArchive__title {
    font-size: 18px;
  }
}

/* --- ページネーション --- */
.p-newsArchive__pager {
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
  /* ページャーの数字やボタンのスタイル */
}
.p-newsArchive__pager .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  /* 現在のページ */
  /* "次へ"などのテキストリンクの場合幅調整 */
}
.p-newsArchive__pager .page-numbers.current {
  background: #899f83; /* 緑色 */
  color: #fff;
  border-color: #899f83;
}
.p-newsArchive__pager .page-numbers:hover:not(.current) {
  background: #f0f0f0;
}
.p-newsArchive__pager .page-numbers.next, .p-newsArchive__pager .page-numbers.prev {
  width: auto;
  padding: 0 15px;
}

/* ====================================
   ニュース詳細ページ
   ==================================== */
.p-newsDetail {
  width: 100%;
  background-color: #fff;
  margin-top: 130px;
  margin-bottom: 20px;
  padding-block: 60px 80px;
}
@media screen and (min-width: 768px) {
  .p-newsDetail {
    padding-block: 120px;
    margin-bottom: 40px;
  }
}

.p-newsDetail__inner {
  max-width: 800px; /* 記事が読みやすい幅に制限 */
  margin-inline: auto;
  padding-inline: 20px;
}

/* --- ヘッダー情報 --- */
.p-newsDetail__header {
  margin-bottom: 60px;
}

.p-newsDetail__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.p-newsDetail__cat {
  background-color: #899f83; /* 落ち着いた緑 */
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  font-weight: 500;
  display: inline-block;
}
@media screen and (min-width: 1000px) {
  .p-newsDetail__cat {
    font-size: 16px;
  }
}

.p-newsDetail__date {
  font-size: 14px;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 1000px) {
  .p-newsDetail__date {
    font-size: 16px;
  }
}

.p-newsDetail__title {
  /* 白飛びしていた原因（color: #fff）を排除し、サイト共通の黒系に */
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.5;
  font-weight: normal;
  letter-spacing: 0.05em;
}

/* --- アイキャッチ画像 --- */
.p-newsDetail__thumb {
  margin-bottom: 60px;
  width: 100%;
}
.p-newsDetail__thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px; /* 角を少し丸める */
}

/* --- 本文エリア（WordPressが出力するタグへのスタイル） --- */
.p-newsDetail__content {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 80px;
  /* 本文内の段落の余白 */
  /* 本文内の見出し */
}
@media screen and (min-width: 768px) {
  .p-newsDetail__content {
    font-size: 18px;
  }
}
@media screen and (min-width: 1000px) {
  .p-newsDetail__content {
    font-size: 20px;
  }
}
.p-newsDetail__content p {
  margin-bottom: 2em;
}
.p-newsDetail__content h2 {
  font-size: 20px;
  border-left: 4px solid #2a5e2d;
  padding-left: 15px;
  margin-block: 40px 20px;
}
@media screen and (min-width: 768px) {
  .p-newsDetail__content h2 {
    font-size: 24px;
  }
}
@media screen and (min-width: 1000px) {
  .p-newsDetail__content h2 {
    font-size: 26px;
  }
}
.p-newsDetail__content h3 {
  font-size: 18px;
  font-weight: bold;
  margin-block: 30px 15px;
}
@media screen and (min-width: 768px) {
  .p-newsDetail__content h3 {
    font-size: 22px;
  }
}
@media screen and (min-width: 1000px) {
  .p-newsDetail__content h3 {
    font-size: 24px;
  }
}

/* --- 戻るボタン --- */
.p-newsDetail__footer {
  text-align: center;
  margin-top: 80px;
}

.p-newsDetail__back {
  color: #2a5e2d; /* 緑色の文字 */
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 0.1em;
  position: relative;
  transition: opacity 0.3s;
  /* ホバー時の挙動 */
  /* 左側の矢印アイコンなどをつけたい場合 */
  /*
  &::before {
    content: "«";
    margin-right: 10px;
  }
  */
}
.p-newsDetail__back:hover {
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  .p-newsDetail__back {
    font-size: 20px;
  }
}

#preloader {
  position: fixed;
  z-index: 9999;
  background: #000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.is-hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

#preloader video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* ============================================
   Privacy Policy & Static Page Styles
   ============================================ */
.p-page-content {
  padding-block: 80px;
  background-color: #ffffff;
}
@media screen and (min-width: 768px) {
  .p-page-content {
    padding-block: 120px;
  }
}

/* 本文エリアのラッパー */
.p-page-content__body {
  width: 100%;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  line-height: 1.875;
  font-feature-settings: "palt";
}
@media screen and (min-width: 768px) {
  .p-page-content__body {
    max-width: 880px; /* 読みやすい幅に制限 */
    margin-inline: auto;
  }
}

/* --- 本文内のスタイル --- */
/* 要素間の余白（段落や見出しの間） */
.p-page-content__body > * + * {
  margin-top: 2.5em; /* 少し広めにとって読みやすく */
}

/* 見出し2 (セクションタイトル) */
.p-page-content__body h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 700;
  margin-top: 60px;
  padding-bottom: 12px;
  border-bottom: 1px solid #cccccc; /* シンプルな下線 */
  color: #c3d82d; /* メインカラー */
  line-height: 1.4;
}
@media screen and (min-width: 768px) {
  .p-page-content__body h2 {
    font-size: 24px;
  }
}

/* 最初の要素の余白は消す */
.p-page-content__body > *:first-child {
  margin-top: 0;
}

/* 段落 */
.p-page-content__body p {
  margin-bottom: 0;
}

/* リスト（箇条書き） */
.p-page-content__body ul {
  background-color: #f9fbfb; /* 薄い背景色でエリア分け */
  padding-block: 24px;
  padding-inline: 40px;
  border-radius: 4px;
  list-style-type: disc; /* 黒丸 */
}

.p-page-content__body li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.p-page-content__body li:last-child {
  margin-bottom: 0;
}

/* リンクがある場合 */
.p-page-content__body a {
  color: #00332a;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.p-page-content__body a:hover {
  opacity: 0.7;
}

/* ============================================
   Page Introduction (導入部)
   ============================================ */
.p-page-introduction {
  text-align: center;
  padding-block: 60px;
  padding-inline: 20px;
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .p-page-introduction {
    padding-block: 100px;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1000px) {
  .p-page-introduction {
    padding-block: 200px 160px;
  }
}

.p-page-introduction__inner {
  max-width: 1000px;
  margin-inline: auto;
}

.p-page-introduction__title {
  font-weight: 500;
  line-height: 1.5625;
  font-size: clamp(32px, 3.6vw, 40px);
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .p-page-introduction__title {
    line-height: 1.5;
  }
}

.p-page-introduction__lead {
  font-weight: 400;
  line-height: 1.75;
  font-size: clamp(16px, 2.5vw, 18px);
  letter-spacing: 0.05em;
  margin-top: 24px;
  opacity: 0.9;
}
@media screen and (min-width: 768px) {
  .p-page-introduction__lead {
    line-height: 1.7777777778;
    margin-top: 12px;
  }
}

/* ============================================
   Sticky Layout Section (サービス詳細)
   ============================================ */
/* アンカーリンク位置調整 */
#marketing-promotion,
#research-promotion,
#creative-production,
#finance-consulting,
#startup-support,
#alliance-business {
  scroll-margin-top: 80px;
}
@media screen and (min-width: 768px) {
  #marketing-promotion,
  #research-promotion,
  #creative-production,
  #finance-consulting,
  #startup-support,
  #alliance-business {
    scroll-margin-top: 100px;
  }
}

/* レイアウト本体 */
.p-sticky-layout {
  color: #ffffff;
  line-height: 1.8125;
  padding-block: 60px;
  padding-inline: 0;
}
@media screen and (min-width: 768px) {
  .p-sticky-layout {
    padding-block: 80px;
  }
}
@media screen and (min-width: 1000px) {
  .p-sticky-layout {
    padding-block: 160px;
  }
}

.p-sticky-layout__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .p-sticky-layout__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}
@media screen and (min-width: 1440px) {
  .p-sticky-layout__inner {
    padding-inline: 0px;
  }
}

/* 偶数セクションの反転設定 */
@media screen and (min-width: 768px) {
  .p-sticky-layout--reverse .p-sticky-layout__inner {
    flex-direction: row-reverse;
  }
}

/* 左側：固定サイド */
.p-sticky-layout__fixed-side {
  width: 100%;
  position: static;
}
@media screen and (min-width: 768px) {
  .p-sticky-layout__fixed-side {
    width: 38%;
    position: sticky;
    top: 120px;
  }
}

/* 右側：スクロールサイド */
.p-sticky-layout__scroll-side {
  width: 100%;
  margin-top: 50px;
}
@media screen and (min-width: 768px) {
  .p-sticky-layout__scroll-side {
    width: 55%;
    margin-top: 0;
  }
}

/* 画像 */
.p-sticky-layout__image-wrapper {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

.p-sticky-layout__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

/* セクションヘッダー */
.p-section-header__number {
  font-size: clamp(14px, 1.2vw, 16px);
  color: rgba(255, 255, 255, 0.8);
  display: block;
  font-weight: 500;
  line-height: 1;
}

.p-section-header__title {
  font-size: clamp(28px, 3.2vw, 35px);
  font-weight: 500;
  line-height: 1.4210526316;
  border-left: 2px solid #c9e883;
  padding-inline-start: 20px;
  margin-top: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
@media screen and (min-width: 768px) {
  .p-section-header__title {
    padding-inline-start: 24px;
  }
}

.p-section-header__subtitle {
  color: #c9e883;
  font-size: clamp(18px, 2vw, 24px);
  display: block;
  letter-spacing: 0.05em;
  margin-top: 24px;
  line-height: 1.4545454545;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* サービスリード文 */
.p-service-lead {
  font-size: clamp(14px, 1.5vw, 16px);
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
@media screen and (min-width: 768px) {
  .p-service-lead {
    font-size: clamp(15px, 1.6vw, 17px);
  }
}

.p-service-lead__keywords {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7142857143;
  font-weight: 500;
}

.p-service-lead__text {
  margin-top: 24px;
  line-height: 1.875;
  font-size: clamp(16px, 1.7vw, 18px);
}

.p-service-lead__text p {
  margin-top: 1.5em;
}

.p-service-lead__text p:first-of-type {
  margin-top: 0;
}

/* 詳細リスト */
.p-detail-list {
  margin-top: 50px;
}
@media screen and (min-width: 768px) {
  .p-detail-list {
    margin-top: 70px;
  }
}

.p-detail-item {
  margin-top: 50px;
}
@media screen and (min-width: 768px) {
  .p-detail-item {
    margin-top: 70px;
  }
}

.p-detail-item__header {
  display: flex;
  align-items: baseline;
  position: relative;
}

.p-detail-item__header::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin-inline-start: 24px;
  transform: translateY(-5px);
}

.p-detail-item__number {
  font-size: clamp(20px, 2vw, 24px);
  color: #ffffff;
  margin-inline-end: 16px;
  font-weight: 700;
  line-height: 1;
}

.p-detail-item__title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.4166666667;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.p-detail-item__body {
  font-size: clamp(14px, 1.6vw, 18px);
  color: #e0e0e0;
  text-align: justify;
  margin-top: 20px;
  line-height: 1.8125;
}

.p-detail-item__body p {
  margin-top: 1.5em;
}

.p-detail-item__body p:first-of-type {
  margin-top: 0;
}

/* ============================================
   Page Navigation (Anchor Links)
   ============================================ */
.p-page-nav {
  padding-block: 40px;
  padding-inline: 20px;
  max-width: 1200px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .p-page-nav {
    padding-block: 60px;
    padding-inline: 40px;
  }
}

.p-page-nav__list {
  display: grid;
  gap: 30px;
}
@media screen and (min-width: 768px) {
  .p-page-nav__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.p-page-nav__item {
  height: 100%;
}

.p-page-nav__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: #e0e0e0; /* 背景色を少し濃く変更 */
  padding-block: 24px;
  padding-inline: 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media screen and (min-width: 768px) {
  .p-page-nav__link {
    padding-block: 30px;
    padding-inline: 24px;
  }
}

.p-page-nav__link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.p-page-nav__content-top {
  width: 100%;
}

.p-page-nav__header {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media screen and (min-width: 768px) {
  .p-page-nav__header {
    gap: 16px;
  }
}

.p-page-nav__icon-wrapper {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px; /* タイトルとの位置合わせ微調整 */
}
@media screen and (min-width: 768px) {
  .p-page-nav__icon-wrapper {
    font-size: 32px;
    padding-top: 4px;
  }
}

.p-page-nav__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.625;
  margin-top: 0;
  flex-grow: 1;
}

.p-page-nav__text {
  font-size: clamp(12px, 1.4vw, 16px);
  color: #666666;
  line-height: 1.6666666667;
  margin-top: 12px;
  padding-inline-start: 2px; /* アイコンの分だけ少しインデント調整 */
}
@media screen and (min-width: 768px) {
  .p-page-nav__text {
    margin-top: 16px;
  }
}

.p-page-nav__arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* 右寄せ */
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 20px;
  transition: color 0.3s ease;
}
@media screen and (min-width: 768px) {
  .p-page-nav__arrow {
    font-size: 14px;
    margin-top: 24px;
  }
}

.p-page-nav__link:hover .p-page-nav__arrow {
  color: #1e503e;
}

/* ====================================

詳細エリアのスクロール位置調整

==================================== */
/* ヘッダー固定の場合、IDジャンプで隠れないように余白を持たせる */
.p-detail-item {
  scroll-margin-top: 100px; /* ヘッダーの高さに合わせて調整してください */
}

/* ====================================

ナビゲーションカードのスタイル

==================================== */
.p-page-nav__item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 以前の .p-page-nav__link のスタイルを継承しつつ、div用に調整 */
.p-page-nav__box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: #fff; /* 背景色 */
  border: 1px solid #e0e0e0; /* 枠線 */
  border-radius: 8px;
  padding: 30px 20px 20px;
  transition: box-shadow 0.3s;
}
.p-page-nav__box:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.p-page-nav__content-top {
  margin-bottom: 20px;
}

/* 既存のタイトル周りのスタイルは維持 */
.p-page-nav__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.p-page-nav__icon-wrapper {
  /* アイコン装飾（適宜調整） */
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-page-nav__icon {
  font-size: 24px;
}

.p-page-nav__title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}
@media screen and (min-width: 1000px) {
  .p-page-nav__title {
    font-size: 20px;
  }
}

.p-page-nav__text {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* ▼▼▼ 新規追加：リスト部分のスタイル ▼▼▼ */
.p-page-nav__sub-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  /* border-top: 1px solid #eee;  ← この行を削除しました */
  border-top: none;
}

.p-page-nav__sub-item {
  border-bottom: 1px solid #eee;
}

.p-page-nav__sub-link {
  display: block;
  padding: 12px 5px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  padding-left: 15px;
  /* 文頭のドットやアイコン */
}
.p-page-nav__sub-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s;
}
.p-page-nav__sub-link:hover {
  color: #007bff;
  background-color: #f9f9f9;
  padding-left: 20px;
}
.p-page-nav__sub-link:hover::before {
  background-color: #007bff;
}
@media screen and (min-width: 768px) {
  .p-page-nav__sub-link {
    font-size: 14px;
  }
}
@media screen and (min-width: 1000px) {
  .p-page-nav__sub-link {
    font-size: 16px;
  }
}

/* ▼▼▼ View More ボタンのスタイル変更 ▼▼▼ */
/* divの中のaタグになったため、ボタンスタイルとして定義 */
.p-page-nav__arrow-link {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  align-items: center;
  gap: 10px;
  margin-top: auto; /* 下部に押し出し */
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s;
}
.p-page-nav__arrow-link i {
  transition: transform 0.3s;
}
.p-page-nav__arrow-link:hover {
  opacity: 0.7;
}
.p-page-nav__arrow-link:hover i {
  transform: translateX(5px);
}

/* ====================================
   サービス詳細内のアンカーリスト（目次）
   ==================================== */
.p-anchor-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0; /* 下のテキストとの余白 */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-anchor-list__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 薄い区切り線 */
}

.p-anchor-list__link {
  display: block;
  color: #ffffff; /* 白文字 */
  text-decoration: none;
  font-size: clamp(14px, 1.5vw, 16px);
  padding: 8px 0;
  transition: opacity 0.3s, color 0.3s;
  position: relative;
  padding-left: 15px;
  /* 頭のポチッとした装飾 */
}
.p-anchor-list__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: background-color 0.3s;
}
.p-anchor-list__link:hover {
  opacity: 0.8;
  color: #c9e883; /* ホバー時はアクセントカラー（黄緑）に */
}
.p-anchor-list__link:hover::before {
  background-color: #c9e883;
}

.p-partner-recruit {
  background-color: #ffffff;
  padding-block: 80px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-partner-recruit {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-partner-recruit__inner {
  max-width: 800px;
  margin-inline: auto;
}

.p-partner-recruit__header {
  text-align: center;
}

.p-partner-recruit__subtitle {
  display: inline-block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1;
}

.p-partner-recruit__title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 16px;
  font-size: clamp(24px, 2.77vw, 40px);
  line-height: 1.2;
}

.p-partner-recruit__content {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .p-partner-recruit__content {
    margin-top: 56px;
  }
}

.p-partner-recruit__lead {
  color: #1e1210;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 2;
}

.p-partner-recruit__box {
  background-color: #f3f4f6;
  border-left: 4px solid #ffe200;
  padding: 24px;
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .p-partner-recruit__box {
    padding: 40px;
  }
}

.p-partner-recruit__box-title {
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(16px, 1.38vw, 20px);
  line-height: 1.5;
}

.p-partner-recruit__box-list {
  color: #1e1210;
  margin-top: 16px;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 2;
}

.p-partner-recruit__closing {
  color: #1e1210;
  margin-top: 40px;
  font-weight: 700;
  font-size: clamp(16px, 1.38vw, 20px);
  line-height: 1.6;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-partner-recruit__closing {
    margin-top: 56px;
  }
}

.p-partner-recruit__signature {
  color: #1e1210;
  margin-top: 24px;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 1.5;
  text-align: right;
}

.p-partners {
  padding-block: 60px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-partners {
    padding-block: 100px;
    padding-inline: 40px;
  }
}

.p-partners__inner {
  max-width: 1080px;
  margin-inline: auto;
}

.p-partners__subtitle {
  display: block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 23px);
  line-height: 1.8571428571;
}

.p-partners__title {
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 2;
}

.p-partners__text {
  color: #1e1210;
  font-weight: 700;
  margin-top: 40px;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 2.5;
}
@media screen and (min-width: 768px) {
  .p-partners__text {
    margin-top: 56px;
  }
}

.p-partners__btn-wrapper {
  margin-top: 48px;
}
@media screen and (min-width: 768px) {
  .p-partners__btn-wrapper {
    margin-top: 64px;
  }
}

.p-produce {
  background-color: #fefcf4;
  padding-block: 80px;
  padding-inline: 20px;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-produce {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-produce__inner {
  max-width: 1080px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.p-produce__bg-text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-weight: 400;
  font-size: clamp(72px, 9vw, 106px);
  line-height: 1;
  z-index: 0;
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  .p-produce__bg-text {
    left: auto;
    right: calc(50% - 540px);
    transform: none;
  }
}
@media screen and (min-width: 1000px) {
  .p-produce__bg-text {
    top: -10px;
    right: calc(50% - 600px);
  }
}

.p-produce__subtitle {
  display: block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 23px);
  line-height: 1.8571428571;
}

.p-produce__title {
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(24px, 2.95vw, 45px);
  line-height: 2;
}

.p-produce__lead {
  color: #1e1210;
  margin-top: 32px;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 2.2857142857;
}
@media screen and (min-width: 768px) {
  .p-produce__lead {
    margin-top: 40px;
  }
}

.p-produce__list {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 56px;
}
@media screen and (min-width: 768px) {
  .p-produce__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 64px 40px;
    margin-top: 80px;
  }
}

.p-produce__item {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-produce__item {
    width: calc((100% - 80px) / 3);
  }
}

.p-produce__img {
  width: 100%;
}

.p-produce__img picture,
.p-produce__img img {
  display: block;
  width: 100%;
  height: auto;
}

.p-produce__item-title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.6666666667;
}
.p-produce__item-desc {
  color: #1e1210;
  margin-top: 10px;
  font-size: 15px;
  line-height: 2;
}

.p-qa {
  background-color: #ebf0fa;
  padding-block: 60px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-qa {
    padding-block: 100px;
    padding-inline: 40px;
  }
}

.p-qa__inner {
  max-width: 1080px;
  margin-inline: auto;
}

.p-qa__sp-header {
  margin-bottom: 32px;
}

.p-qa__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-qa__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6vw;
  }
}

.p-qa__img {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-qa__img {
    width: 65%;
  }
}

.p-qa__img img {
  width: 100%;
  height: auto;
}

.p-qa__body {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-qa__body {
    width: 48%;
  }
}

.p-qa__subtitle {
  display: block;
  color: #ffffff;
  font-weight: 700;
  font-family: Inter;
  font-size: clamp(74px, 7.26vw, 96px);
  line-height: 1;
}

.p-qa__title {
  color: #1e1210;
  font-weight: 700;
  text-align: center;
  font-size: 38px;
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-qa__title {
    text-align: left;
    margin-top: 16px;
  }
}

.p-qa__desc {
  color: #1e1210;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 2;
  margin-top: 24px;
}
@media screen and (min-width: 768px) {
  .p-qa__desc {
    margin-top: 32px;
  }
}

.p-qa__btn-wrapper {
  margin-top: 32px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-qa__btn-wrapper {
    margin-top: 48px;
    text-align: left;
  }
}

.p-relaxation {
  width: 100%;
  padding-block: 40px 100px;
}
@media screen and (min-width: 1000px) {
  .p-relaxation {
    padding-block: 50px 0px;
  }
}

.p-relaxation__cards {
  position: relative;
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  z-index: 1;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .p-relaxation__cards {
    flex-direction: row;
  }
}

.p-relaxation__card {
  flex: 1;
  background: #f5efeb;
  padding: 1rem;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  min-height: 400px;
}
@media screen and (min-width: 1000px) {
  .p-relaxation__card {
    min-height: 435px;
  }
}
.p-relaxation__card img {
  width: 100%;
  height: auto;
  height: 260px !important;
}
@media screen and (min-width: 768px) {
  .p-relaxation__card img {
    height: 200px !important;
  }
}
@media screen and (min-width: 1000px) {
  .p-relaxation__card img {
    height: 200px !important;
  }
}

.p-relaxation__intro {
  font-size: 14px;
  line-height: 1.7857142857;
  text-align: left;
}
@media screen and (min-width: 1000px) {
  .p-relaxation__intro {
    font-size: 16px;
    line-height: 1.8125;
  }
}

.p-relaxation__card-title {
  color: #c3d82d;
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1;
  margin-block: 0.625rem;
}
@media screen and (min-width: 1000px) {
  .p-relaxation__card-title {
    line-height: 0.1666666667;
    margin-block: 1.25rem;
  }
}

.p-relaxation__card-text {
  font-size: clamp(12px, 1.4vw, 16px);
  line-height: 1.6666666667;
}
@media screen and (min-width: 1000px) {
  .p-relaxation__card-text {
    line-height: 1.5625;
  }
}

.p-img__figure img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  aspect-ratio: 24/8;
}

.p-service-hero {
  position: relative;
  padding-block: 170px 110px;
  padding-inline: 20px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-service-hero {
    padding-block: 160px;
    padding-inline: 40px;
  }
}

.p-service-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.p-service-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* pictureタグも一緒に100%に広げる指定を追加します */
.p-service-hero__bg picture,
.p-service-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-service-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-service-hero__inner {
    text-align: left;
  }
}

.p-service-hero__title {
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(49px, 6.94vw, 97px);
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.p-service-hero__subtitle {
  color: #ffffff;
  font-weight: 700;
  margin-top: 24px;
  font-size: clamp(21.5px, 1.88vw, 24px);
  line-height: 1.6666666667;
}
@media screen and (min-width: 768px) {
  .p-service-hero__subtitle {
    margin-top: 32px;
  }
}

.p-service-hero__desc {
  color: #ffffff;
  margin-top: 24px;
  font-size: clamp(13px, 1.11vw, 16px);
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-service-hero__desc {
    margin-top: 40px;
  }
}

.p-serviceSection {
  padding-block: 60px 12.5rem;
}
@media screen and (min-width: 768px) {
  .p-serviceSection {
    padding-block: 80px 0rem;
  }
}

.p-serviceSection__contents {
  display: flex;
  flex-direction: column;
  gap: 44px;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", serif;
  padding-bottom: 1.875rem;
}
.p-serviceSection__contents:not(:first-of-type) .p-serviceSection__title {
  padding-top: 45px;
}
@media screen and (min-width: 768px) {
  .p-serviceSection__contents {
    flex-direction: row;
    align-items: center;
    gap: 50px;
    padding-bottom: 3.125rem;
    min-height: 472px;
  }
}
@media screen and (min-width: 1000px) {
  .p-serviceSection__contents {
    padding-top: 6.25rem;
    border-top: 1px solid #e8eef4;
    gap: 22px;
    padding-bottom: 6.25rem;
  }
}

.p-serviceSection__contents:not(:last-of-type) {
  border-bottom: 1px solid #e8eef4;
}

@media screen and (min-width: 1000px) {
  .p-serviceSection__contents {
    border-bottom: 1px solid #e8eef4;
  }
}
.p-serviceSection__content {
  flex: 1;
}
.p-serviceSection__content dl {
  display: flex;
  flex-direction: column;
}
.p-serviceSection__content dl dt {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: bold;
  line-height: 1;
  margin-top: 1.5625rem;
}
@media screen and (min-width: 768px) {
  .p-serviceSection__content dl dt {
    margin-top: 2.1875rem;
  }
}
.p-serviceSection__content dl dd {
  margin-top: 0.1875rem;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.4285714286;
}
@media screen and (min-width: 768px) {
  .p-serviceSection__content dl dd {
    margin-top: 0.625rem;
  }
}
@media screen and (min-width: 1440px) {
  .p-serviceSection__content {
    flex: 1.7;
  }
}

.p-serviceSection__title {
  font-size: clamp(20px, 3vw, 30px);
  color: #c3d82d;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}
@media screen and (min-width: 1440px) {
  .p-serviceSection__title {
    text-align: left;
  }
}

.p-serviceSection__img {
  flex: 1;
}
.p-serviceSection__img img {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: 6px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (min-width: 1000px) {
  .p-serviceSection__img img {
    max-width: 430px;
    margin: 0;
  }
}

.p-service {
  background-color: #fefcf1;
  padding-block: 60px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-service {
    padding-block: 100px;
    padding-inline: 40px;
  }
}

.p-service__inner {
  max-width: 1080px;
  margin-inline: auto;
  display: grid;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-service__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }
}

.p-service__img-wrapper {
  border-radius: 12px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-service__img-wrapper {
    border-radius: 16px;
  }
}

.p-service__img-wrapper img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: 500px;
  margin: 0 auto;
}
@media screen and (min-width: 1000px) {
  .p-service__img-wrapper img {
    max-width: 600px;
  }
}

.p-service__header {
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-service__header {
    text-align: left;
  }
}

.p-service__subtitle {
  display: block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(14px, 6.8vw, 87px);
  line-height: 1.5;
}

.p-service__title {
  color: #1e1210;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 2;
}
.p-service__text {
  color: #1e1210;
  margin-top: 32px;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-service__text {
    margin-top: 40px;
  }
}

.p-service__btn-wrapper {
  text-align: center;
  margin-top: 32px;
}
@media screen and (min-width: 768px) {
  .p-service__btn-wrapper {
    text-align: left;
    margin-top: 48px;
  }
}

.p-caseStudies {
  padding-block: 50px 250px;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", serif;
}
@media screen and (min-width: 768px) {
  .p-caseStudies {
    padding-top: 60px;
  }
}
@media screen and (min-width: 1000px) {
  .p-caseStudies {
    padding-block: 80px 400px;
  }
}
@media screen and (min-width: 1440px) {
  .p-caseStudies {
    padding-block: 120px 900px;
  }
}

.p-caseStudies__container {
  display: block;
  margin: 0 auto;
  max-width: 500px;
}
@media screen and (min-width: 768px) {
  .p-caseStudies__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 850px;
    border-radius: 10px;
    background: #fbfbfb;
    box-shadow: 0px 0px 8.892px 0px rgba(0, 0, 0, 0.3);
  }
}
@media screen and (min-width: 1000px) {
  .p-caseStudies__container {
    max-width: none;
  }
}
@media screen and (min-width: 1440px) {
  .p-caseStudies__container {
    max-width: 1200px;
  }
}

.p-caseStudies-main {
  padding: 30px 10px 50px;
  width: 100%;
  border-radius: 10px;
  background: #fbfbfb;
  box-shadow: 0px 0px 8.892px 0px rgba(0, 0, 0, 0.3);
}
@media screen and (min-width: 768px) {
  .p-caseStudies-main {
    width: 66%;
    max-width: 400px;
    border-radius: 0;
    padding-top: 40px;
    background: transparent;
    box-shadow: none;
  }
}
@media screen and (min-width: 1000px) {
  .p-caseStudies-main {
    width: 55%;
    max-width: 600px;
    padding-top: 60px;
  }
}
@media screen and (min-width: 1440px) {
  .p-caseStudies-main {
    min-width: 600px;
  }
}

.p-caseStudies__title {
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1;
  font-weight: 700;
  text-align: center;
}
@media screen and (min-width: 1440px) {
  .p-caseStudies__title {
    font-size: 1.5rem;
    line-height: 32px;
    margin-top: 26px;
  }
}

.p-caseStudies__mv {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 1000px) {
  .p-caseStudies__mv {
    margin-block: 20px 30px;
  }
}

.p-caseStudies__mv img {
  width: 100%;
  height: auto;
}

.p-caseStudies__contents {
  margin-top: 20px;
}

.p-caseStudies__contents a.p-caseStudies__readmore {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  text-decoration: underline;
}

.archive-blog__sidebar {
  width: 100%;
  margin: 40px auto;
  max-width: 400px;
}
@media screen and (min-width: 768px) {
  .archive-blog__sidebar {
    width: 37%;
    max-width: 450px;
    margin: 0;
    padding-top: 40px;
  }
}
@media screen and (min-width: 1000px) {
  .archive-blog__sidebar {
    padding-top: 60px;
  }
}
@media screen and (min-width: 1440px) {
  .archive-blog__sidebar {
    margin-top: 3.75rem;
  }
}

.archive-blog__sidebar-heading {
  padding-block: 0.375rem;
  border-radius: 3.49px;
  background: #dcdacc;
  text-align: center;
}

.archive-blog__sidebar-heading p {
  font-size: clamp(14px, 2vw, 20px);
  color: #c3d82d;
  font-weight: 500;
  line-height: 1;
}

.archive-blog__sidebar-list {
  margin-top: 1.25rem;
}
@media screen and (min-width: 1000px) {
  .archive-blog__sidebar-list {
    margin-top: 1.875rem;
  }
}

.archive-blog__sidebar-link {
  display: block;
  border-radius: 8.301px;
  background: #fbfbfb;
  box-shadow: 0px 0px 8.301px 0px rgba(0, 0, 0, 0.3);
  padding: 14px 10px 20px;
  position: relative;
}
@media screen and (min-width: 768px) {
  .archive-blog__sidebar-link {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
}

.archive-blog__sidebar-link + .archive-blog__sidebar-link {
  margin-top: 30px;
}

.archive-blog__sidebar-inner {
  display: block;
  text-decoration: none;
  color: inherit;
}
@media screen and (min-width: 768px) {
  .archive-blog__sidebar-inner {
    display: flex;
  }
}

.archive-blog__sidebar-contents {
  display: flex;
  align-items: center;
  gap: 1.875rem;
  padding-inline: 0.625rem;
}
@media screen and (min-width: 768px) {
  .archive-blog__sidebar-contents {
    align-items: flex-start;
  }
}

.archive-blog__sidebarImg {
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .archive-blog__sidebarImg {
    flex-shrink: 0;
  }
}

@media screen and (min-width: 768px) {
  .archive-blog__sidebarImg img {
    max-width: 120px;
    height: auto;
  }
}
@media screen and (min-width: 1440px) {
  .archive-blog__sidebarImg img {
    max-width: 173px;
  }
}

.archive-blog__sidebar-content {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .archive-blog__sidebar-content {
    width: auto;
    flex: 1;
  }
}

.archive-blog__sidebar-text {
  font-weight: 700;
  line-height: 1;
  margin-top: 0.8125rem;
}
@media screen and (min-width: 768px) {
  .archive-blog__sidebar-text {
    margin-top: 0;
    width: -moz-max-content;
    width: max-content;
    font-size: 11px;
  }
}
@media screen and (min-width: 1000px) {
  .archive-blog__sidebar-text {
    font-size: 14px;
  }
}
@media screen and (min-width: 1440px) {
  .archive-blog__sidebar-text {
    font-size: 16px;
    line-height: 1.25;
  }
}

.archive-blog__sidebar-excerpt {
  font-size: 0.875rem;
  line-height: 1.4285714286;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .archive-blog__sidebar-excerpt {
    font-size: 11px;
  }
}
@media screen and (min-width: 1000px) {
  .archive-blog__sidebar-excerpt {
    font-size: 13px;
    width: 90%;
  }
}

.archive-blog__sidebar-arrow {
  position: absolute;
  right: 0px;
}
@media screen and (min-width: 768px) {
  .archive-blog__sidebar-arrow {
    top: 50px;
  }
}
@media screen and (min-width: 1000px) {
  .archive-blog__sidebar-arrow {
    top: 30px;
  }
}
@media screen and (min-width: 1440px) {
  .archive-blog__sidebar-arrow {
    top: 40px;
  }
}

@media screen and (min-width: 768px) {
  .p-single-blog {
    padding-top: 100px;
  }
}
@media screen and (min-width: 1000px) {
  .p-single-blog {
    padding-top: 125px;
  }
}
@media screen and (min-width: 1440px) {
  .p-single-blog {
    padding-top: 146px;
  }
}

@media screen and (min-width: 768px) {
  .p-single-blog-main {
    width: 65%;
    margin-top: -96px;
  }
}
@media screen and (min-width: 1000px) {
  .p-single-blog-main {
    width: 69%;
  }
}

.p-single-blog__meta {
  display: flex;
  align-items: center;
  margin-top: 55px;
  justify-content: space-between;
}
@media screen and (min-width: 1000px) {
  .p-single-blog__meta {
    margin-top: 42px;
  }
}
@media screen and (min-width: 1440px) {
  .p-single-blog__meta {
    margin-top: 28px;
  }
}

.p-single-blog__category {
  padding: 10px 12px;
}

.p-single-blog__date {
  font-size: 0.875rem;
  line-height: 1;
}

.p-single-blog__title {
  margin-top: 2px;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 700;
  line-height: 28px; /* 140% */
}
@media screen and (min-width: 1440px) {
  .p-single-blog__title {
    font-size: 1.5rem;
    line-height: 32px; /* 133.333% */
    margin-top: 26px;
  }
}

.p-single-blog__mv {
  margin-top: 22px;
  width: 101%;
}
@media screen and (min-width: 1000px) {
  .p-single-blog__mv {
    margin-top: 39px;
  }
}

.p-single-blog__mv img {
  width: 100%;
}

.p-single-blog__content {
  margin-top: 43px;
}
.p-single-blog__content h2 {
  color: #ffe200;
  font-size: 1.25rem;
  background: #f8f8f8;
}
.p-single-blog__content h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 46px;
  background-color: #ffe200; /* 縦棒の色 */
  margin-right: 20px; /* 縦棒とテキストの間隔 */
  vertical-align: middle; /* テキストと縦棒の垂直中央揃え */
}
.p-single-blog__content .p-single-blog__content-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
  margin-top: 18px;
}
.p-single-blog__content h3 {
  color: #ffe200;
  font-weight: 700;
  margin-top: 37px;
  padding-bottom: 5px;
  font-size: 1.125rem;
  border-bottom: 1px solid #ffe200;
}
.p-single-blog__content h4 {
  color: #ffe200;
  margin-top: 36px;
  font-size: 1rem;
  font-weight: 700;
}
.p-single-blog__content ul {
  margin-top: 35px;
}
@media screen and (min-width: 1440px) {
  .p-single-blog__content ul {
    margin-top: 28px;
    padding-left: 40px;
  }
}
.p-single-blog__content ul li {
  font-size: 1rem;
}
.p-single-blog__content ul li:not(:first-of-type) {
  margin-top: 15px;
}
.p-single-blog__content ul li::before {
  content: "・";
  margin-right: -3px;
}

.p-single-blog__content-quote {
  margin-top: 57px;
  padding: 12px 29px 28px;
  background: #f8f8f8;
  border-left: 4px solid #023e78;
  position: relative;
}
@media screen and (min-width: 1440px) {
  .p-single-blog__content-quote {
    margin-top: 37px;
    padding: 14px 30px 31px;
    margin-left: 40px;
    width: 646px;
  }
}
.p-single-blog__content-quote::before {
  background-image: url(/public/assets/images/page-case/single-pattern.png) center/cover no-repeat;
  content: "";
  height: 45px;
  left: 25px;
  position: absolute;
  top: 25px;
  width: 60px;
}

.p-single-blog__links {
  display: flex;
  justify-content: space-between;
  color: #ffe200;
  margin: 40px 0 -8px;
}
.p-single-blog__link-prev,
.p-single-blog__link-next {
  border-radius: 4px;
  border: 1px solid #ffe200;
  color: #ffe200;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
}

.p-single-blog__aside {
  margin-bottom: -39px;
}

.p-solutions {
  position: relative;
  background-color: #f3f4f6;
  padding-block: 60px;
  padding-inline: 20px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-solutions {
    padding-block: 100px;
    padding-inline: 40px;
  }
}

.p-solutions__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  margin-inline: auto;
}

.p-solutions__subtitle {
  display: block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 23px);
  line-height: 1.7142857143;
}
@media screen and (min-width: 768px) {
  .p-solutions__subtitle {
    line-height: 1.875;
  }
}

.p-solutions__title {
  margin-top: 24px;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.6666666667;
}
@media screen and (min-width: 768px) {
  .p-solutions__title {
    margin-top: 32px;
    line-height: 1.875;
  }
}

.p-solutions__text {
  display: inline-block;
  text-align: left;
  margin-top: 32px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-solutions__text {
    margin-top: 40px;
    line-height: 2.1333333333;
  }
}

.p-solutions__bg-text {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: #ffffff;
  font-weight: 400;
  white-space: nowrap;
  font-size: clamp(67px, 8.5vw, 107px);
  line-height: 1;
  opacity: 0.6;
}
@media screen and (min-width: 768px) {
  .p-solutions__bg-text {
    bottom: -10px;
  }
}
@media screen and (min-width: 1000px) {
  .p-solutions__bg-text {
    left: 70%;
  }
}

.p-vision {
  position: relative;
  background-color: #f3f4f6;
  padding-block: 80px;
  padding-inline: 20px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-vision {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-vision__bg-text {
  position: absolute;
  bottom: 0px;
  right: 90px;
  color: #fafafa;
  font-size: clamp(67px, 9vw, 106px);
  line-height: 1;
  z-index: 0;
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  .p-vision__bg-text {
    right: 110px;
    bottom: 0px;
  }
}

.p-vision__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
}

.p-vision__subtitle {
  display: inline-block;
  color: #ffe200;
  font-weight: 700;
  font-size: clamp(16px, 1.38vw, 20px);
  line-height: 1;
}

.p-vision__title {
  color: #1e1210;
  font-weight: 700;
  margin-top: 16px;
  font-size: clamp(24px, 2.77vw, 40px);
  line-height: 1.2;
}
@media screen and (min-width: 768px) {
  .p-vision__title {
    margin-top: 24px;
  }
}

.p-vision__desc {
  color: #1e1210;
  margin-top: 40px;
  font-size: clamp(18px, 1.9vw, 20px);
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-vision__desc {
    margin-top: 56px;
  }
}

/* ====================================
   詳細ページ：メインレイアウト
   ==================================== */
.p-workDetail {
  width: 100%;
  padding-bottom: 100px;
}

@media screen and (min-width: 768px) {
  .p-workDetail__inner {
    max-width: 1150px;
    margin-inline: auto;
    padding-inline: 20px;
  }
}

/* 1. 一番上の大きな画像 */
.p-workDetail__main {
  margin-bottom: 60px;
  width: 100%;
}

.p-workDetail__main img {
  width: 100%;
  height: auto;
}
@media screen and (min-width: 1000px) {
  .p-workDetail__main img {
    border-radius: 8px; /* 角を少し丸める */
  }
}

/* 2. タイトルと説明文エリア */
.p-workDetail__header {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.p-workDetail__title {
  font-size: clamp(22px, 4vw, 44px);
  letter-spacing: 0.1em;
  font-family: serif; /* 明朝体風のデザインに合わせて */
}

.p-workDetail__subTitle {
  font-size: clamp(24px, 4vw, 32px);
  margin-top: 10px;
  font-weight: normal;
}

.p-workDetail__desc {
  font-size: 15px;
  margin-top: 30px;
  line-height: 2;
  text-align: left;
  padding-inline: 35px;
}
@media screen and (min-width: 768px) {
  .p-workDetail__desc {
    font-size: 20px;
  }
}

/* ====================================
   3. ギャラリーエリア（ここが重要）
   ==================================== */
.p-workDetail__gallery {
  display: grid;
  width: 100%;
  gap: 30px; /* 画像と画像の間隔 */
  margin-top: 80px;
  /* スマホは1列 (デフォルト) */
  grid-template-columns: 1fr;
  /* タブレットは2列 */
  /* PCは3列 */
}
@media screen and (min-width: 768px) {
  .p-workDetail__gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
}
@media screen and (min-width: 1000px) {
  .p-workDetail__gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 個別のアイテム（画像＋キャプション） */
.p-workDetail__item {
  width: 100%;
  padding-inline: 15px;
  max-width: 550px;
  margin: 0 auto;
}

/* 画像枠 */
.p-workDetail__figure {
  margin: 0;
  width: 100%;
  aspect-ratio: 4/3; /* 画像の比率を固定（横長） */
  overflow: hidden;
  border-radius: 4px;
}

/* 画像本体 */
.p-workDetail__figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* 枠いっぱいにトリミングして表示 */
  transition: transform 0.3s;
}
.p-workDetail__figure img:hover {
  transform: scale(1.05); /* ホバーで少し拡大 */
}

/* キャプション（テキスト） */
.p-workDetail__caption {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .p-workDetail__caption {
    font-size: 18px;
  }
}

/* ====================================
   戻るボタン
   ==================================== */
.p-workDetail__footer {
  text-align: center;
  margin-top: 80px;
}
@media screen and (min-width: 768px) {
  .p-workDetail__footer {
    margin-top: 100px;
  }
}

.p-workDetail__back {
  /* ボタンの形状を作るために必須 */
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 100px; /* 丸い形状 */
  /* ★ボタンデザインのため例外的に色を指定します */
  background-color: #fff;
  color: #c3d82d;
  /* フォントサイズ: clamp(最小, 推奨, 最大) */
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1;
  /* 余白（SP版） */
  padding-block: 15px;
  padding-inline: 40px;
  /* 余白（PC版） */
  /* ホバーアニメーション */
  transition: opacity 0.3s;
}
@media screen and (min-width: 768px) {
  .p-workDetail__back {
    padding-block: 20px;
    padding-inline: 80px;
  }
}
.p-workDetail__back:hover {
  opacity: 0.7;
}

/* 右側の矢印（＞） */
.p-workDetail__back::after {
  content: "＞";
  margin-left: 20px;
  font-weight: normal;
  font-size: 0.9em;
} /* ====================================
 ライトボックス画像の強制拡大設定
 ==================================== */
/* 1. 画像を包む枠を画面いっぱいに広げる */
.lum-lightbox-image-wrapper {
  display: flex !important;
  width: 100vw !important;
  height: 100vh !important;
  justify-content: center !important;
  align-items: center !important;
}

/* 2. 画像自体を画面サイズに合わせて拡大・縮小させる */
.lum-img {
  /* 幅を画面の85%に強制設定（これで小さい画像も引き伸ばされます） */
  width: 85vw !important;
  height: auto !important;
  /* ただし、縦長すぎて画面からはみ出る場合は高さ基準に切り替える */
  max-height: 80vh !important;
  max-width: 66vw !important;
  /* 画像の比率を保ったまま収める */
  -o-object-fit: contain !important;
     object-fit: contain !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

/* ====================================
   ライトボックスのクリック制御（スマホ無効化）
   ==================================== */
.js-lightbox {
  /* 【スマホ（標準）の設定】 */
  /* クリックを無効化する（これで何も起きなくなります） */
  pointer-events: none;
  cursor: default;
  /* 【タブレット以上（768px〜）の設定】 */
}
@media screen and (min-width: 768px) {
  .js-lightbox {
    /* クリックできるように戻す */
    pointer-events: auto;
    cursor: zoom-in; /* カーソルを虫眼鏡にする */
  }
}

/* ==========================================================================
   表示・非表示（画像やブロック要素の切り替え用）
   ========================================================================== */
.u-visible-sp {
  display: block !important;
}
@media screen and (min-width: 768px) {
  .u-visible-sp {
    display: none !important;
  }
}

.u-visible-pc {
  display: none !important;
}
@media screen and (min-width: 768px) {
  .u-visible-pc {
    display: block !important;
  }
}

@media screen and (min-width: 1000px) {
  .u-hidden-lg {
    display: none !important;
  }
}

@media screen and (min-width: 1440px) {
  .u-hidden-xl {
    display: none !important;
  }
}

/* ==========================================================================
   改行専用クラス（brタグ用）
   ========================================================================== */
@media screen and (min-width: 768px) {
  .u-br-sp {
    display: none;
  }
}

.u-br-md {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-br-md {
    display: inline;
  }
}

.u-br-pc {
  display: none;
}
@media screen and (min-width: 1000px) {
  .u-br-pc {
    display: inline;
  }
}

/* ==========================================================================
   テキスト配置
   ========================================================================== */
.u-center {
  text-align: center;
}
/*# sourceMappingURL=style.css.map */
