@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 Serif JP";
  font-weight: 400;
  color: #1c2624;
  background-blend-mode: multiply;
}

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

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

/* ==============================================
   Footer Styles
   ============================================== */
.l-footer {
  width: 100%;
  /* 背景色を明るいグレーに変更 */
  background-color: #f5f5f5;
  /* 文字色を黒に変更（背景が明るいため） */
  padding-block: clamp(50px, 6vw, 80px) 20px;
  padding-inline: clamp(20px, 4vw, 40px);
  margin-top: auto;
}

.l-footer__inner {
  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media screen and (min-width: 768px) {
  .l-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
  }
}
/* ----------------------------------
   Left Side (Logo & Text)
   ---------------------------------- */
.l-footer__left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .l-footer__left {
    align-items: flex-start;
  }
}
.l-footer__logo {
  /* ロゴエリア全体の高さをヘッダーと合わせる */
  height: 40px;
  margin: 0;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .l-footer__logo {
    height: 50px; /* PCでは少し大きく */
  }
}

.l-footer__logo-link {
  display: flex; /* 画像とテキストを横並びにする */
  align-items: center;
  height: 100%;
  text-decoration: none;
  transition: opacity 0.3s;
  gap: 12px; /* 画像とテキストの間隔 */
}

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

.l-footer__logo-image {
  width: auto;
  height: 100%; /* 親要素の高さに合わせる */
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

/* ▼ ロゴ横のテキストスタイル */
.l-footer__logo-text {
  font-size: 14px;
  font-weight: 7F00;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .l-footer__logo-text {
    font-size: 16px;
  }
}

/* ----------------------------------
   Navigation
   ---------------------------------- */
.l-footer__nav {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .l-footer__nav {
    width: auto;
  }
}
.l-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media screen and (min-width: 768px) {
  .l-footer__list {
    flex-direction: row;
    gap: clamp(30px, 4vw, 50px);
  }
}
.l-footer__item {
  text-align: center;
}

/* リンクスタイル（黒文字に変更） */
.l-footer__link {
  display: block;
  text-decoration: none;
  color: #333333; /* 黒文字 */
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
  position: relative;
  padding-block: 5px;
}
@media screen and (min-width: 1000px) {
  .l-footer__link {
    font-size: 18px;
  }
}

.l-footer__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #333333; /* 下線も黒 */
  transition: width 0.3s ease;
}

.l-footer__link:hover::after {
  width: 100%;
}

/* ----------------------------------
   Copyright
   ---------------------------------- */
.l-footer__copyright {
  margin-top: clamp(40px, 6vw, 60px);
  padding-top: 20px;
  /* ボーダーの色を薄いグレーに変更 */
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.l-footer__copyright small {
  font-size: 11px;
  /* 文字色を少し薄くして上品に */
  color: rgba(51, 51, 51, 0.6);
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.05em;
}

/* ============================================
   Page Top Button (変更なし・そのまま維持)
   ============================================ */
.c-pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #005c4b 0%, #00332a 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 900;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  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.3);
  cursor: pointer;
}
@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.5);
}
.c-pagetop__arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(-45deg);
  margin-top: 4px;
  transition: transform 0.3s ease;
}

.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 {
  background-color: #204f4e;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.625rem 1.25rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.c-button {
  display: inline-block;
  padding: 16px 30px;
  line-height: 1;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  align-items: center;
  font-size: 0.9375rem;
}
@media screen and (min-width: 1440px) {
  .c-button {
    width: 152px;
    font-size: 16px;
    padding: 15px 24px;
  }
}

.c-button--border {
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  background-color: transparent;
  padding: 15px 20px !important;
}
.c-button--border:hover,
.footer__btn--border:hover,
.p-CTA__button:hover {
  background-color: #fff;
  color: #4d4945;
  opacity: 1;
}

.c-button--black {
  color: #fff;
  border: none;
  border-radius: 80px;
  border: 0.25px solid #373232;
  background: #2a5e2d;
  margin-top: 5px;
}

.c-button--black:hover {
  opacity: 0.85;
}

.header__drawer {
  padding: 8.75rem 0;
  display: none;
  position: absolute;
  z-index: 900;
  top: -60px;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 110vh;
  background-color: rgba(130, 132, 135, 0.95);
  overflow-y: scroll;
  scrollbar-width: none;
}

.c-service-box__button {
  position: relative;
  display: inline-block;
  color: #9f9f9f;
  margin: 1.875rem auto;
  border: 1px solid #9f9f9f;
  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: #9f9f9f;
  }
}

.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: #204f4e;
}
@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;
  }
  .c-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
.p-404__btn {
  position: relative;
  z-index: 10000;
}

/* ====================================
   About Section
==================================== */
/* ====================================
   About Section (スプリットレイアウト)
==================================== */
.p-about {
  width: 100%;
  background: #dbdad5;
  padding-block: 100px;
  /* PC以上で左右分割レイアウトにする */
}
@media screen and (min-width: 1000px) {
  .p-about {
    padding-block: 180px 360px;
  }
}

/* 全体のラッパー */
.p-about__wrapper {
  width: 100%;
  display: block;
  padding-top: 100px;
}
@media screen and (min-width: 768px) {
  .p-about__wrapper {
    display: flex;
    width: 100%;
    padding-top: 180px;
  }
}

/* ------------------------------------
   左側：画像エリア
------------------------------------ */
.p-about__figure {
  margin: 0;
  width: 100%;
  height: 300px; /* スマホ時の画像の高さ（お好みで調整） */
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-about__figure {
    width: 50%; /* PCでは画面の半分 */
    height: auto; /* 高さは自動、もしくは min-height で固定 */
    /* 画面いっぱいに広げるための重要な設定 */
    flex-shrink: 0;
  }
}
.p-about__figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* 画像をトリミングして枠いっぱいに表示 */
  display: block;
  /* PCで角を直角にする場合（デザインに合わせて） */
  border-radius: 0;
}
@media screen and (min-width: 768px) {
  .p-about__figure {
    padding-inline: 0px;
  }
}

/* ------------------------------------
   右側：コンテンツエリア
------------------------------------ */
.p-about__content {
  width: 100%;
  padding: 90px 20px; /* スマホ時の上下左右の余白 */
}
@media screen and (min-width: 768px) {
  .p-about__content {
    width: 50%; /* PCでは画面の残り半分 */
    padding: 0; /* PCではインナーで余白調整するためリセット */
    display: flex;
    align-items: center; /* 上下中央寄せ */
    padding: 60px 20px; /* スマホ時の上下左右の余白 */
  }
}

/* 位置調整用のインナー（PCでテキストを右に寄せる要） */
.p-about__content-inner {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-about__content-inner {
    /* ★ここが重要：左側に大きな余白を入れてテキストを右に寄せる */
    padding-left: 15%; /* 画面幅の15%分左を空ける（調整してください） */
    padding-right: 5%; /* 右側の余白 */
    max-width: 600px; /* テキストが広がりすぎないように制限 */
  }
}
@media screen and (min-width: 1000px) {
  .p-about__content-inner {
    padding-left: 20%; /* 大きな画面ではさらに左を空ける */
  }
}

/* タイトルエリア */
.p-about__header {
  text-align: left;
}

.p-about__title {
  font-size: clamp(30px, 5vw, 56px);
  font-family: serif;
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 1;
  color: #333;
}

.p-about__subtitle {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 500;
  margin: 0;
}

/* 本文 */
.p-about__text {
  font-size: clamp(18px, 3vw, 24px);
  line-height: 2.4; /* 行間を広めに */
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.217em;
  line-height: 2.6666666667;
}
@media screen and (min-width: 768px) {
  .p-about__text {
    text-align: justify;
  }
}
@media screen and (min-width: 1000px) {
  .p-about__text {
    letter-spacing: 0.163em;
    line-height: 2.4166666667;
  }
}

/* ボタンエリア */
.p-about__btn-area {
  margin-top: 90px;
  text-align: -webkit-center;
}
@media screen and (min-width: 768px) {
  .p-about__btn-area {
    margin-top: 150px;
  }
}

/* ボタン本体（既存スタイルを維持） */
.p-about__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  font-family: serif;
  font-size: 16px;
  width: 100%;
  max-width: 350px;
  height: 60px;
  padding: 0 20px;
  transition: opacity 0.3s ease;
}
.p-about__btn:hover {
  opacity: 0.7;
}

.p-about__btn-text {
  font-weight: 500;
  font-family: Montserrat;
  letter-spacing: 0.07em;
}
@media screen and (min-width: 1000px) {
  .p-about__btn-text {
    font-size: 18px;
  }
}

/* 矢印画像 */
.p-about__view-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; /* 矢印のサイズ */
  height: auto;
}

.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 #204f4e;
  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: #204f4e; /* 緑色 */
  font-weight: bold;
  margin-right: 0.5em;
}

/* 全体の背景色（カンプに合わせて薄いグレーなどを指定してください） */
.p-archive {
  width: 100%;
  padding-block: 80px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-archive {
    padding-block: 100px;
    padding-inline: 40px;
  }
}

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

/* グリッドレイアウト */
.p-archive__list {
  margin-top: 60px;
  display: grid;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-archive__list {
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    -moz-column-gap: 30px;
         column-gap: 30px; /* カンプに合わせて少し狭めに調整 */
    row-gap: 50px;
  }
}

/* カード全体 */
.p-archive__item {
  display: block;
  text-decoration: none;
  background: #fff; /* カードの背景は白 */
  border-radius: 12px; /* 角丸 */
  overflow: hidden; /* 画像のはみ出しをカット */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* うっすら影 */
  transition: all 0.3s;
  color: #333;
}
.p-archive__item:hover {
  transform: translateY(-5px); /* ホバー時に少し浮かす */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* 画像エリア */
.p-archive__figure {
  width: 100%;
  aspect-ratio: 16/9; /* 画像の比率を固定（カンプに合わせて調整） */
  margin: 0;
}

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

/* テキストエリア（白背景部分） */
.p-archive__body {
  padding: 25px; /* 内部の余白 */
}

/* タイトル */
.p-archive__title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.5555555556;
  /* 長すぎる場合に2行で省略記号を表示（任意） */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 説明文（抜粋） */
.p-archive__text {
  font-size: 14px;
  line-height: 1.7142857143;
  color: #666;
  /* 長すぎる場合に3行で省略記号を表示（任意） */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* WordPressが出力するpタグの余白をリセット */
}
.p-archive__text p {
  margin: 0;
}

/* ページネーションエリア */
.p-archive__pager {
  margin-top: 60px;
  text-align: center;
}

/* 「次のページへ」ボタン */
.p-archive__next-btn {
  display: inline-block;
  padding: 12px 40px;
  background: #fff;
  border: 1px solid #2a5e2d; /* 緑色の枠線 */
  color: #2a5e2d; /* 緑色の文字 */
  text-decoration: none;
  border-radius: 30px; /* 丸いボタン */
  font-weight: 500;
  transition: all 0.3s;
  font-size: 16px;
}
.p-archive__next-btn:hover {
  background: #2a5e2d;
  color: #fff;
}

/* ============================================
   Blog Archive Page (Fixed: Image Zoom Only)
   ============================================ */
.p-blog-archive {
  padding-block: 80px;
  background-color: #f9fbfb;
}
@media screen and (min-width: 768px) {
  .p-blog-archive {
    padding-block: 120px;
  }
}

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

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

.p-blog-archive__empty {
  text-align: center;
  padding-block: 60px;
  color: #666666;
}

.p-blog-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 51, 42, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.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; /* 比率を16:9に戻しました */
  overflow: hidden;
  margin: 0;
  background-color: #eeeeee;
}

.p-blog-card__thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.p-blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media screen and (min-width: 768px) {
  .p-blog-card__body {
    padding: 24px;
  }
}
@media screen and (min-width: 1000px) {
  .p-blog-card__body {
    min-height: 180px; /* lg以上で高さを確保 */
  }
}

.p-blog-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.p-blog-card__cat {
  display: inline-block;
  background-color: #00332a; /* 変数定義がない場合に備え色コード記述 */
  color: #ffffff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 1000px) {
  .p-blog-card__cat {
    font-size: 14px;
  }
}

.p-blog-card__date {
  font-size: 13px;
  color: #888888;
}
@media screen and (min-width: 1000px) {
  .p-blog-card__date {
    font-size: 16px;
  }
}

.p-blog-card__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.5555555556;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  transition: color 0.3s ease;
}

.p-blog-card:hover .p-blog-card__title {
  color: #00332a;
}

.p-blog-card__excerpt {
  font-size: 13px;
  color: #666666;
  line-height: 1.8461538462;
  margin-top: auto;
  padding-top: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.p-blog-archive__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  color: #333333;
  text-decoration: none;
  font-family: "Zen Kaku Gothic New", sans-serif;
  transition: all 0.3s ease;
  font-size: 14px;
}

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

.page-numbers:not(.current):not(.dots):hover {
  background-color: #c9e883;
  border-color: #c9e883;
  color: #00332a;
}

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

.p-blog-archive__footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.c-button-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 60px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  background-color: #ffffff;
  color: #204f4e;
  border: 1px solid #204f4e;
}

.c-button-back:hover {
  background-color: #204f4e;
  color: #ffffff;
  opacity: 1;
}

/* ============================================
   p-blog Styles (Mynavi Will Style)
   ============================================ */
.p-blog {
  padding-block: 60px;
  padding-inline: 20px;
  color: #3b5583;
  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: #1c2624;
}

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

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

/* 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: #1c2624;
  text-decoration: underline;
  text-underline-offset: 4px;
  -webkit-text-decoration-color: rgba(59, 85, 131, 0.3);
          text-decoration-color: rgba(59, 85, 131, 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: #005c42;
  -webkit-text-decoration-color: #005c42;
          text-decoration-color: #005c42;
}

/* 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;
  justify-content: center;
  width: 220px;
  height: 60px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #204f4e;
  border: 1px solid #204f4e;
  /* ▼▼▼ 変更：通常時は「白背景・枠線あり」にする ▼▼▼ */
  background-color: #ffffff; /* 背景：白 */
  color: #204f4e; /* 文字：アクセントカラー */
  border: 1px solid #204f4e; /* 枠線：アクセントカラー */
}

.p-blog__button:hover {
  /* ▼▼▼ 変更：ホバー時に「塗りつぶし」にする ▼▼▼ */
  background-color: #204f4e; /* 背景：アクセントカラー */
  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;
}

/* 1. 全体を囲むエリア（基準点） */
.p-page-header {
  position: relative; /* 子要素を絶対配置するための基準 */
  width: 100%;
  height: 122px; /* ★好みの高さに調整してください */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-page-header {
    height: 310px; /* ★好みの高さに調整してください */
  }
}

/* 2. 背景画像の設定 */
.p-page-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* 一番後ろ */
}

.p-page-header__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* 画像をトリミングして枠いっぱいに表示 */
}

/* 3. 画像の上の黒いフィルター（オーバーレイ） */
.p-page-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* 画像より手前 */
}

/* 4. タイトル（文字）の設定 */
.p-page-header__title {
  position: relative;
  font-weight: 400;
  z-index: 3; /* フィルターよりさらに手前（最前面） */
  color: #fff; /* 白文字 */
  font-size: clamp(18px, 4vw, 44px);
  font-weight: normal; /* 画像に合わせて少し細めにしたい場合 */
  letter-spacing: 0.1em; /* 文字間隔を少し開ける */
  margin: 0;
}

.p-company {
  padding: 0px 20px 50px;
}
@media screen and (min-width: 768px) {
  .p-company {
    padding: 40px 40px 80px;
  }
}
@media screen and (min-width: 1440px) {
  .p-company {
    padding: 100px 80px 60px 100px;
  }
}

.p-company__container {
  padding-block: 3.125rem 3.125rem;
  padding-inline: 0.625rem;
  border-radius: 10px;
  background: #eef6f7;
  text-align: center;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-company__container {
    padding-block: 5rem 5rem;
    padding-inline: 2.5rem;
  }
}
@media screen and (min-width: 1440px) {
  .p-company__container {
    padding-inline: 95px;
    padding-block: 100px;
  }
}

.p-company__header {
  text-align: left;
}

.p-company__title {
  font-size: clamp(26px, 5vw, 60px);
  line-height: 1;
  font-weight: 400;
}
@media screen and (min-width: 1440px) {
  .p-company__title {
    line-height: 1;
  }
}

.p-company__info {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
@media screen and (min-width: 768px) {
  .p-company__info {
    max-width: 800px;
  }
}
@media screen and (min-width: 1440px) {
  .p-company__info {
    max-width: 1210px;
  }
}

.p-company__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #757575;
  margin-top: 30px;
}
@media screen and (min-width: 1440px) {
  .p-company__list {
    margin-top: 5rem;
  }
}

.p-company__item {
  display: flex;
  border-bottom: 1px solid #757575; /* 枠線 */
  padding: 1.25rem 0.625rem;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", serif;
  align-items: baseline;
}
@media screen and (min-width: 1440px) {
  .p-company__item {
    padding-block: 1.875rem 1.5625rem;
  }
}

.p-company__label,
.p-company__value {
  font-weight: 400;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1;
}

.p-company__label {
  flex: 0.4;
}

.p-company__value {
  line-height: 1.7142857143;
  flex: 1;
}
@media screen and (min-width: 1000px) {
  .p-company__value {
    flex: 0.4;
  }
}

.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;
  }
}

/* ============================================
   Contact Form Styles (Simple & Clean)
   ============================================ */
.p-contact {
  padding-block: 60px;
}
@media screen and (min-width: 768px) {
  .p-contact {
    padding-block: 100px;
  }
}
@media screen and (min-width: 1000px) {
  .p-contact {
    padding-block: 160px;
  }
}

.p-contact-form {
  width: 100%;
  background-color: #ffffff;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}
@media screen and (min-width: 768px) {
  .p-contact-form {
    max-width: 900px;
    margin-inline: auto;
    padding: 60px 80px;
  }
}

/* --- レイアウト --- */
.p-contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
@media screen and (min-width: 768px) {
  .p-contact-form__row {
    flex-direction: row;
    gap: 40px;
    margin-top: 30px;
  }
}

.p-contact-form__row:first-child {
  margin-top: 0;
}

.p-contact-form__item {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.p-contact-form__item--full {
  margin-top: 24px;
}
@media screen and (min-width: 768px) {
  .p-contact-form__item--full {
    margin-top: 30px;
  }
}

/* --- ラベル & 必須マーク --- */
.p-contact-form__label {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 8px;
}

.p-contact-form__required {
  color: #204f4e; /* 黄緑色のアクセントカラー */
  margin-left: 0.4em;
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
}

/* --- 入力フィールド (Input, Select, Textarea) --- */
.p-contact-form__input,
.p-contact-form__select,
.p-contact-form__textarea {
  width: 100%;
  padding-block: 14px;
  padding-inline: 16px;
  background-color: #f9f9f9; /* かなり薄いグレー */
  border: 1px solid transparent;
  border-radius: 4px;
  color: #333333;
  font-size: 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.p-contact-form__input::-moz-placeholder, .p-contact-form__textarea::-moz-placeholder {
  color: #bbbbbb;
}

.p-contact-form__input::placeholder,
.p-contact-form__textarea::placeholder {
  color: #bbbbbb;
}

.p-contact-form__input:focus,
.p-contact-form__select:focus,
.p-contact-form__textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #cccccc;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.03);
}

.p-contact-form__textarea {
  height: 180px;
  resize: vertical;
}

.p-contact-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* --- プライバシーポリシーエリア --- */
.p-contact-form__privacy {
  margin-top: 50px;
  text-align: center;
  background-color: #f9f9f9; /* 薄いグレーの背景でエリア分け */
  padding: 30px 20px;
  border-radius: 4px;
}

.p-contact-form__privacy-text {
  font-size: 13px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.p-contact-form__privacy-text a {
  color: #333333;
  text-decoration: underline;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.p-contact-form__privacy-text a:hover {
  opacity: 0.7;
}

/* チェックボックスエリア */
.p-contact-form__privacy-check {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #333333;
}

/* CF7のチェックボックスの余白リセット */
.wpcf7-list-item {
  margin: 0;
}

.wpcf7-list-item-label {
  cursor: pointer;
  margin-left: 5px; /* チェックボックスと文字の間隔 */
}

/* --- 送信ボタンエリア --- */
.p-contact-form__footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* 送信ボタン本体 (画像に合わせてシンプルなグレー) */
.p-contact-form__submit {
  width: 100%;
  max-width: 300px;
  padding-block: 18px;
  background-color: #cccccc; /* 初期状態はグレー */
  color: #ffffff;
  border: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 2px;
}

.p-contact-form__submit:hover {
  background-color: #999999; /* ホバーで少し濃く */
}

/* ============================================
   CTA Section
   ============================================ */
.p-cta {
  width: 100%;
  background-color: #204f4e;
  color: #ffffff;
  padding-block: 80px;
  padding-inline: 20px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-cta {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

.p-cta__inner {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-cta__heading {
  display: block;
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.p-cta__text {
  display: block;
  margin: 0;
  margin-top: 30px;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 2;
  font-weight: 500;
  opacity: 0.9;
}

.p-cta__button-wrapper {
  margin-top: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.p-cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 64px;
  background-color: #ffffff;
  color: #132437; /* 背景の濃い色に合わせて文字色を設定 */
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 50px; /* 丸みのあるピル型 */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  padding-inline: 30px;
}
@media screen and (min-width: 768px) {
  .p-cta__button {
    width: 360px;
    height: 72px;
    font-size: 18px;
  }
}

.p-cta__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

.p-cta__arrow {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  margin-left: 15px;
  border-top: 2px solid #132437;
  border-right: 2px solid #132437;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.p-cta__button:hover .p-cta__arrow {
  transform: rotate(45deg) translate(3px, -3px);
}

/* ============================================
   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;
  padding: 20px;
  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;
}

/* ============================================
   Feature Section
   ============================================ */
.p-feature {
  color: #ffffff;
  padding-block: 60px;
  padding-inline: clamp(20px, 3vw, 40px);
  overflow: hidden;
}
@media screen and (min-width: 1000px) {
  .p-feature {
    padding-block: 160px;
  }
}

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

/* ----------------------------------
   Header
   ---------------------------------- */
.p-feature__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-feature__label {
  display: block;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

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

.p-feature__header-text {
  margin: 0;
  margin-top: clamp(24px, 3vw, 32px);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

/* ----------------------------------
   List & Items
   ---------------------------------- */
.p-feature__list {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 10vw, 120px);
  margin-top: 60px;
}
@media screen and (min-width: 1000px) {
  .p-feature__list {
    margin-top: 140px;
  }
}

.p-feature__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 450px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .p-feature__item {
    flex-direction: row;
    justify-content: space-between; /* 均等配置 */
    gap: 40px; /* 画像を大きくしたので少し狭める */
    max-width: none;
  }
}

/* 偶数番目のアイテムを左右反転 */
.p-feature__item:nth-of-type(even) {
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .p-feature__item:nth-of-type(even) {
    flex-direction: row-reverse;
  }
}

/* ----------------------------------
   Image Area
   ---------------------------------- */
.p-feature__image-wrapper {
  width: 100%;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-feature__image-wrapper {
    width: 50%; /* PC時は幅を50%に拡大 */
    aspect-ratio: auto;
  }
}

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

/* ----------------------------------
   Content Area
   ---------------------------------- */
.p-feature__content {
  width: 100%;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .p-feature__content {
    width: 44%; /* 画像(50%)+Gap(40px)を考慮して調整 */
  }
}

.p-feature__number {
  display: block;
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.3636363636;
  font-style: italic;
  font-family: serif;
  opacity: 0.9;
  letter-spacing: 0.05em;
}

.p-feature__sub-heading {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  font-weight: 700;
  margin-top: 15px;
}

.p-feature__text {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.7142857143;
  text-align: justify;
  font-weight: 400;
  margin-top: 25px;
}

.p-feature__text + .p-feature__text {
  margin-top: 16px;
}

/* ----------------------------------
   Footer & Button
   ---------------------------------- */
.p-feature__footer {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
@media screen and (min-width: 1000px) {
  .p-feature__footer {
    margin-top: 140px;
  }
}

.p-feature__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 54px;
  background-color: #fff;
  color: #1e503e; /* アクセントカラー（定義がない場合は直接指定） */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  position: relative; /* afterのために必要 */
}

/* ホバー時のオーバーレイ色（紺色） */
.p-feature__button::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a332e; /* 濃い色 */
  opacity: 0;
  transition: opacity 0.3s;
}

.p-feature__button:hover::after {
  opacity: 0.1; /* ホバー時にうっすら色を重ねる */
}

.p-feature__button:hover {
  opacity: 0.9;
}

/* ============================================
   Scroll Animation (Slide In)
   ============================================ */
/* 共通設定 */
.js-animated {
  transition: opacity 0.8s ease, translate 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  /* 初期状態（スマホ・PC共通でまずは透明に） */
  opacity: 0;
}

/* 左からスライド（PC） / 下から（SP） */
.animated__slideIn--left {
  /* ▼ スマホ（基本）：下からふわっと */
  translate: 0 40px;
  /* ▼ PC（md以上）：左からスライド */
  /* 出現時 */
}
@media screen and (min-width: 768px) {
  .animated__slideIn--left {
    translate: -100px 0; /* 1000pxは遠すぎるので100px〜200px程度が自然です */
  }
}
.animated__slideIn--left.js-show {
  opacity: 1;
  translate: 0 0;
}

/* 右からスライド（PC） / 下から（SP） */
.animated__slideIn--right {
  /* ▼ スマホ（基本）：下からふわっと */
  translate: 0 40px;
  /* ▼ PC（md以上）：右からスライド */
  /* 出現時 */
}
@media screen and (min-width: 768px) {
  .animated__slideIn--right {
    translate: 100px 0;
  }
}
.animated__slideIn--right.js-show {
  opacity: 1;
  translate: 0 0;
}

/* ============================================
   Opening Animation (Fade In & Pen Draft)
   ============================================ */
.p-opening {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease, visibility 1s ease;
}

.p-opening.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

/* ----------------------------------
   1. ロゴ（その場でふわっと出現）
   ---------------------------------- */
.p-opening__logo-wrapper {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
@media screen and (min-width: 768px) {
  .p-opening__logo-wrapper {
    width: 250px;
    height: auto;
  }
}

.p-opening__logo {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0;
  /* 移動なしで、ゆっくり不透明度を上げる */
  animation: gentleAppear 2.5s ease-out forwards;
}

@keyframes gentleAppear {
  0% {
    opacity: 0;
    transform: scale(0.98); /* ほんのわずかに小さい状態から */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* 定位置・定サイズへ */
  }
}
/* ----------------------------------
   2. テキスト（ペン描画アニメーション）
   ---------------------------------- */
.p-opening__text-wrapper {
  width: 220px;
  height: 30px;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-opening__text-wrapper {
    width: 450px;
    height: 60px;
  }
}

.p-opening__svg-text {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.p-opening__text-path {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 24px;
  /* 線の設定 */
  fill: transparent; /* 最初は塗りなし */
  stroke: #1e503e; /* 線の色 */
  stroke-width: 0.8px;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000; /* 線を隠す */
  /* アニメーション */
  animation: drawLines 3.5s cubic-bezier(0.5, 0, 0.3, 1) 1s forwards, fillInk 1s ease-out 3.5s forwards;
}
@media screen and (min-width: 768px) {
  .p-opening__text-path {
    font-size: 52px;
    stroke-width: 1px;
  }
}

@keyframes drawLines {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes fillInk {
  0% {
    fill: transparent;
    stroke: #1e503e;
  }
  100% {
    fill: #1e503e; /* 塗りつぶし完了 */
    stroke: transparent;
  }
}
/* ==============================================
   Header Styles (統合版)
   ============================================== */
/* 変数定義（もし未定義ならコメントアウトを外して調整してください） */
.l-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  /* デフォルトは透明背景 */
  background-color: transparent;
  padding-inline: clamp(15px, 2.5vw, 40px);
  transition: background-color 0.3s ease;
  /* PC時の高さ設定 */
}
@media screen and (min-width: 768px) {
  .l-header {
    height: 80px;
  }
}

/* インナーコンテナ */
.l-header__inner {
  max-width: 1400px;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==============================================
   ロゴ設定
   ============================================== */
.l-header__logo {
  margin: 0;
  padding: 0;
  height: 24px;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .l-header__logo {
    height: 32px;
  }
}
@media screen and (min-width: 1000px) {
  .l-header__logo {
    height: 50px;
  }
}

.l-header__logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  transition: opacity 0.3s;
  gap: 12px;
}

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

.l-header__logo-image {
  width: auto;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

/* ロゴテキスト（デフォルトは白） */
.l-header__logo-text {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff; /* 基本白 */
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .l-header__logo-text {
    font-size: 16px;
  }
}

/* ==============================================
   ナビゲーション設定 (PC)
   ============================================== */
.l-header__nav {
  display: none;
}
@media screen and (min-width: 768px) {
  .l-header__nav {
    display: block;
  }
}

.l-header__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-header__item {
  display: block;
}

/* リンク文字（デフォルトは白） */
.l-header__link {
  text-decoration: none;
  color: #ffffff; /* 基本白 */
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  padding-block: 5px;
  transition: opacity 0.3s;
}

.l-header__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

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

.l-header__link:hover::after {
  width: 100%;
}

/* ==============================================
   ハンバーガーメニュー設定 (SP)
   ============================================== */
.l-header__hamburger {
  display: block;
  position: relative;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001; /* ドロワーより上に表示 */
  padding: 0;
}
@media screen and (min-width: 768px) {
  .l-header__hamburger {
    display: none;
  }
}

/* ラインの共通設定（デフォルトは白） */
.l-header__hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff; /* 基本白 */
  transition: all 0.4s ease;
}

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

.l-header__hamburger-line:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
}

.l-header__hamburger-line:nth-of-type(3) {
  bottom: 0;
}

/* ▼▼▼ メニュー展開時（×印になる時）は必ず白にする ▼▼▼ */
.l-header__hamburger.is-active .l-header__hamburger-line {
  background-color: #ffffff !important; /* 強制的に白 */
}

.l-header__hamburger.is-active .l-header__hamburger-line:nth-of-type(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.l-header__hamburger.is-active .l-header__hamburger-line:nth-of-type(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ==============================================
   ドロワーメニュー設定
   ============================================== */
.l-header__drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(30, 30, 30, 0.95);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.l-header__drawer.is-active {
  opacity: 1;
  visibility: visible;
}

.l-header__drawer-nav {
  width: 100%;
}

.l-header__drawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.l-header__drawer-item {
  width: 100%;
}

.l-header__drawer-item + .l-header__drawer-item {
  margin-top: 24px;
}

.l-header__drawer-link {
  display: block;
  font-size: clamp(18px, 4vw, 20px);
  line-height: 1.5;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.1em;
}

/* ==============================================
   バリエーション設定
   ============================================== */
/* ----------------------------------------------
   1. is-dark クラス（コモンヘッダー用）
   文字色を黒（$text-color）にする設定
   ---------------------------------------------- */
.l-header.is-dark {
  /* ロゴテキスト */
  /* リンク文字 */
  /* ハンバーガーライン（通常時） */
  /* リンク自体に is-dark クラスがついている場合の対応 */
  /* ハンバーガーライン自体に is-dark クラスがついている場合の対応 */
}
.l-header.is-dark .l-header__logo-text {
  color: #1c2624;
}
.l-header.is-dark .l-header__link {
  color: #1c2624;
}
.l-header.is-dark .l-header__link::after {
  background-color: #1c2624;
}
.l-header.is-dark .l-header__hamburger-line {
  background-color: #1c2624;
}
.l-header.is-dark .l-header__link.is-dark {
  color: #1c2624;
}
.l-header.is-dark .l-header__hamburger-line.is-dark {
  background-color: #1c2624;
}

/* ----------------------------------------------
   2. l-header--white クラス（白背景ヘッダー用）
   うっすら白背景 + 文字色黒
   ---------------------------------------------- */
.l-header--white {
  /* 背景設定 */
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  /* ロゴテキスト */
  /* リンク文字 */
  /* ▼▼▼ ハンバーガーライン（通常時は黒） ▼▼▼ */
  /* 展開時（is-active）は上で定義した「!importantで白」が優先されます */
}
.l-header--white .l-header__logo-text {
  color: #1c2624;
}
.l-header--white .l-header__link {
  color: #1c2624;
}
.l-header--white .l-header__link::after {
  background-color: #1c2624;
}
.l-header--white .l-header__hamburger-line {
  background-color: #1c2624;
}

/* ====================================
   会社情報セクション
   ==================================== */
.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 #204f4e;
  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: #204f4e;
  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: #204f4e;
  border: 1px solid #204f4e;
  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: #204f4e;
  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 {
  padding-block: clamp(60px, 8vw, 120px);
  overflow: hidden; /* 横にはみ出した場合の対策 */
}

.p-message__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* ----------------------------------
   Section Header
   ---------------------------------- */
.p-message__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.p-message__title {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
  margin-top: 5px;
}

/* ----------------------------------
   Body Layout (画像 + テキスト)
   ---------------------------------- */
.p-message__body {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 450px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .p-message__body {
    max-width: none;
    flex-direction: row;
    align-items: center; /* 垂直方向中央揃え */
    justify-content: flex-end; /* 右寄せ基準 */
  }
}
/* ----------------------------------
   Image Wrapper
   ---------------------------------- */
.p-message__image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .p-message__image-wrapper {
    width: 55%; /* 画像の幅を55%に抑える（大きすぎないように） */
    margin-right: auto; /* 左側に配置 */
    flex-shrink: 0;
  }
}
.p-message__picture {
  display: block;
  width: 100%;
  /* SP時：縦長(3:4) */
  aspect-ratio: 3/4;
}

@media screen and (min-width: 768px) {
  .p-message__picture {
    /* PC時：標準的な比率(4:3) */
    aspect-ratio: 4/3;
  }
}
.p-message__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  /* ▼▼▼ 修正箇所：SP時は画像の下の方（体）を優先して表示 ▼▼▼ */
  /* center 80% で、下から2割の位置を中心にします */
  -o-object-position: center 80% !important;
     object-position: center 80% !important;
}

/* PC表示の設定 */
@media screen and (min-width: 768px) {
  .p-message__picture {
    aspect-ratio: 3/3;
  }
  /* ▼▼▼ 追加：PC時は中央揃えに戻す ▼▼▼ */
  .p-message__img {
    -o-object-position: center center !important;
       object-position: center center !important;
  }
}
/* ----------------------------------
   Content Box
   ---------------------------------- */
.p-message__content-box {
  background-color: #ffffff;
  width: 100%;
  padding-block: clamp(30px, 4vw, 50px);
  padding-inline: clamp(20px, 4vw, 50px);
  /* 画像が縦長になった分、重なりを少し深めに調整 */
  margin-top: -50px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

@media screen and (min-width: 768px) {
  .p-message__content-box {
    width: 50%; /* テキストボックスの幅 */
    margin-top: 0;
    margin-left: -8%; /* 画像に対して左側に少し被せる */
    padding-block: 60px; /* PCでの上下の余白 */
    padding-inline: 50px; /* PCでの左右の余白 */
  }
}
@media screen and (min-width: 1000px) {
  .p-message__content-box {
    margin-left: -10%; /* 画面が大きい時はもう少し深く重ねる */
  }
}
/* テキストスタイル */
.p-message__content-heading {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  font-weight: 700;
  font-family: serif;
  color: #204f4e; /* テーマカラー */
}

.p-message__text {
  margin: 0;
  margin-top: clamp(24px, 3vw, 30px);
  font-size: clamp(14px, 1.4vw, 15px);
  line-height: 1.8;
  text-align: justify;
}

.p-message__text + .p-message__text {
  margin-top: 20px;
}

.p-message__signature {
  margin: 0;
  margin-top: clamp(30px, 4vw, 40px);
  font-size: clamp(14px, 1.4vw, 15px);
  line-height: 1.6;
  text-align: right;
  font-family: serif;
}

/* ============================================
   Main Visual (FV) Styles - Combined
   ============================================ */
.p-mv {
  width: 100%;
  text-align: center;
}

/* --- 画像エリアコンテナ --- */
.p-mv__images {
  position: relative; /* 基準点 */
  width: 100%;
  height: 100vh; /* 画面いっぱいの高さ */
  min-height: 600px;
  overflow: hidden; /* はみ出し防止 */
  /* ※黒いフィルターの設定は、管理しやすいようにファイルの一番下に移動しました */
}

/* --- キャッチコピー（タイトル） --- */
.p-mv__title {
  position: absolute;
  /* フィルター(z-index:1)より手前に表示 */
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  min-width: 200px;
  padding-inline: 20px;
  text-align: center;
  /* 新しいデザイン適用 */
  color: #fff;
  font-family: "Allura", cursive;
  font-size: clamp(32px, 10vw, 148px);
  font-weight: 100;
  letter-spacing: 0.05em;
  line-height: 1.2;
  /* 文字の視認性を高める影 */
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  /* 既存のメディアクエリがあれば維持 */
}
@media screen and (min-width: 1000px) {
  .p-mv__title {
    line-height: 1.6666666667;
    letter-spacing: 0.03em;
  }
}

/* --- サブタイトル --- */
.p-mv__subTitle {
  position: absolute;
  top: 70%;
  left: 50%;
  padding: 8px;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2; /* フィルターより上 */
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  min-width: 140px;
  border: 2px solid #fff;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0);
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .p-mv__subTitle {
    top: 60%;
    padding: 0.5em 1.2em;
    min-width: 200px;
  }
}
@media screen and (min-width: 1000px) {
  .p-mv__subTitle {
    line-height: 1.6666666667;
    letter-spacing: 0.03em;
    top: 65%;
  }
}

/* --- コンテンツエリア --- */
.p-mv__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.p-mv__content {
  padding-block: 3.125rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-mv__content {
    padding-block: 6.25rem 3.75rem;
  }
}
@media screen and (min-width: 1000px) {
  .p-mv__content {
    padding-block: 8.75rem 3.75rem;
  }
}
@media screen and (min-width: 1440px) {
  .p-mv__content {
    padding-block: 8.75rem 5rem;
  }
}

.p-mv__subtitle {
  padding-block: 0 1.875rem;
}
@media screen and (min-width: 1000px) {
  .p-mv__subtitle {
    padding-block: 0 3.75rem;
  }
}
@media screen and (min-width: 1440px) {
  .p-mv__subtitle {
    padding-block: 0 5rem;
  }
}

.p-mv__text {
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
}
@media screen and (min-width: 1000px) {
  .p-mv__text {
    font-size: 16px;
    line-height: 1.875;
  }
}
@media screen and (min-width: 1440px) {
  .p-mv__text {
    font-size: 18px;
  }
}

.p-mv__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/strength2.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.p-mv__content > * {
  position: relative;
  z-index: 1;
}

/* --- Swiper / Slider 設定 --- */
.p-mv__slider {
  width: 100%;
  height: 100%;
  z-index: 0; /* フィルターより下 */
}

.swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide picture {
  display: block;
  height: 100%;
  width: 100%;
}

/* 画像本体の基本制御 */
.swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

/* --- 特定の画像の調整 --- */
.swiper-slide-img3 img {
  -o-object-fit: cover !important;
     object-fit: cover !important;
  -o-object-position: center bottom !important;
     object-position: center bottom !important;
}

.swiper-slide-img img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: right center;
     object-position: right center;
}

.swiper-slide-img4 img,
.swiper-slide-img5 img,
.swiper-slide-img2 img {
  -o-object-fit: cover !important;
     object-fit: cover !important;
  -o-object-position: center 50% !important;
     object-position: center 50% !important;
}

/* --- スクロールアニメーション --- */
.p-mv__scroll {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .p-mv__scroll {
    bottom: 50px;
  }
}
@media screen and (min-width: 1000px) {
  .p-mv__scroll {
    bottom: 20px;
  }
}

.p-mv__scroll-text {
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
@media screen and (min-width: 1000px) {
  .p-mv__scroll-text {
    font-size: 20px;
  }
}

.p-mv__scroll-line {
  width: 1px;
  height: 100px;
  background-color: #ccc;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-mv__scroll-line {
    height: 150px;
  }
}
@media screen and (min-width: 1000px) {
  .p-mv__scroll-line {
    height: 200px;
  }
}

.p-mv__scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3e3a39;
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
/* =========================================================
   ▼▼▼ FVの黒フィルター設定（暗さ調整はここ） ▼▼▼
   ========================================================= */
.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: #204f4e;
  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__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;
  /* --- アニメーション初期状態 --- */
  opacity: 0;
  translate: 0 40px; /* 登場アニメーション用 */
  /* * transitionの設定（プロパティ順序に対応）
   * 1. opacity: 登場用 (1.6s)
   * 2. translate: 登場用 (1.6s)
   * 3. transform: ホバー用 (0.25s・高速)
   * 4. box-shadow: ホバー用 (0.25s・高速)
   * 5. border-color: ホバー用 (0.25s・高速)
   */
  transition-property: opacity, translate, transform, box-shadow, border-color;
  transition-duration: 1.6s, 1.6s, 0.25s, 0.25s, 0.25s;
  transition-timing-function: ease, cubic-bezier(0.2, 1, 0.3, 1), ease-out, ease-out, ease-out;
}
@media screen and (min-width: 768px) {
  .p-mvv__item {
    width: calc((100% - 60px) / 2);
  }
}

/* 千鳥配置 */
@media screen and (min-width: 768px) {
  .p-mvv__item:nth-child(even) {
    margin-top: 60px;
  }
}

/* --- 画面に入った時の表示（登場） --- */
.js-stagger-trigger.is-active .p-mvv__item {
  opacity: 1;
  translate: 0 0;
}

/* --- 順番待ちの設定（ここが重要） --- */
.js-stagger-trigger.is-active .p-mvv__item:nth-child(1) {
  /* * プロパティごとに遅延(delay)を個別指定
   * opacity, translate (登場用) -> 順番に遅らせる
   * transform, box-shadow (ホバー用) -> 常に 0s (即反応)
   */
  transition-delay: 0.5s, 0.5s, 0s, 0s, 0s;
}

.js-stagger-trigger.is-active .p-mvv__item:nth-child(2) {
  /* * プロパティごとに遅延(delay)を個別指定
   * opacity, translate (登場用) -> 順番に遅らせる
   * transform, box-shadow (ホバー用) -> 常に 0s (即反応)
   */
  transition-delay: 0.8s, 0.8s, 0s, 0s, 0s;
}

.js-stagger-trigger.is-active .p-mvv__item:nth-child(3) {
  /* * プロパティごとに遅延(delay)を個別指定
   * opacity, translate (登場用) -> 順番に遅らせる
   * transform, box-shadow (ホバー用) -> 常に 0s (即反応)
   */
  transition-delay: 1.1s, 1.1s, 0s, 0s, 0s;
}

.js-stagger-trigger.is-active .p-mvv__item:nth-child(4) {
  /* * プロパティごとに遅延(delay)を個別指定
   * opacity, translate (登場用) -> 順番に遅らせる
   * transform, box-shadow (ホバー用) -> 常に 0s (即反応)
   */
  transition-delay: 1.4s, 1.4s, 0s, 0s, 0s;
}

/* --- ホバー時の動き --- */
.p-mvv__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 51, 42, 0.08);
  border-color: transparent;
  /* ホバー時は全ての遅延を強制的にゼロにする */
  transition-delay: 0s !important;
}

/* 数字をカード背景にアートっぽく配置 */
.p-mvv__num {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: "Allura", cursive;
  font-size: 80px;
  color: #204f4e;
  line-height: 1;
  opacity: 0.1; /* 非常に薄く透かす */
  pointer-events: 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; /* 数字の上に表示させる */
}

.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: #204f4e;
}

.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;
}

.c-button-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 60px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  /* ぬるっと滑らかな変化（0.6秒） */
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: #ffffff;
  color: #204f4e;
  border: 1px solid #204f4e;
}

.c-button-back:hover {
  background-color: #204f4e;
  color: #ffffff;
  opacity: 1;
}

.p-news {
  position: relative;
}

.p-news__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 117%;
  padding-inline: 20px;
  flex-direction: column-reverse;
}
@media screen and (min-width: 768px) {
  .p-news__content {
    width: 100%;
    flex-direction: row-reverse;
    padding-inline: 0px;
  }
}
@media screen and (min-width: 1000px) {
  .p-news__content {
    position: relative;
    top: -100px;
  }
}

.p-news__link {
  background: #fff;
  text-align: center;
  width: 100%;
  max-width: 440px;
  padding: 40px 0px 0px;
  border-radius: 16px 16px 0px 0px;
}
@media screen and (min-width: 768px) {
  .p-news__link {
    height: 255px;
    padding: 58px 0px;
    max-width: 270px;
    border-radius: 16px 0px 0px 16px;
  }
}
@media screen and (min-width: 1000px) {
  .p-news__link {
    min-height: 240px;
    padding: 58px 45px;
  }
}

.p-news__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-items: baseline;
  border-radius: 4px;
  background: #585555;
  padding: 14px 20px;
  max-width: 180px;
  margin: 10px auto 0;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
  bottom: -460px;
  /* --- フォントオーサム（アイコン）のスタイル --- */
}
@media screen and (min-width: 768px) {
  .p-news__button {
    margin-top: 16px;
    padding: 10px 20px;
    position: static;
    bottom: auto;
  }
}
@media screen and (min-width: 1000px) {
  .p-news__button {
    margin-top: 1.875rem;
    padding: 10px 10px;
  }
}
.p-news__button i {
  color: #fff;
  font-size: 16px;
}
.p-news__button p {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}
.p-news__button:hover {
  opacity: 0.8;
}

.p-news__box {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  padding: 0px 15px 160px;
  border-radius: 0px 0px 16px 16px;
  max-width: 440px;
  margin-top: -10px;
}
@media screen and (min-width: 768px) {
  .p-news__box {
    padding: 57px 15px 0 30px;
    height: 255px;
    max-width: 500px;
    border-radius: 0px 16px 16px 0px;
    margin-top: 0;
  }
}
@media screen and (min-width: 1000px) {
  .p-news__box {
    padding: 71px 70px 51px 0px;
    max-width: 700px;
    width: 700px;
    gap: 33px;
  }
}
@media screen and (min-width: 1440px) {
  .p-news__box {
    width: 700px;
    max-width: 800px;
  }
}

.p-newsArchive__box {
  gap: 30px;
}
@media screen and (min-width: 768px) {
  .p-newsArchive__box {
    gap: 50px;
  }
}

.p-news__item {
  display: flex;
  align-items: center;
}

/* ==============================
   アイキャッチ画像
================================ */
.p-news__item {
  text-decoration: none;
  display: block;
}
.p-news__item:first-child .p-news__contentWrapper {
  border-top: 1px solid #e6e5e0;
}
@media screen and (min-width: 768px) {
  .p-news__item:first-child .p-news__contentWrapper {
    border-top: none;
  }
}

.p-news__contentWrapper {
  flex-grow: 1;
  border-bottom: 1px solid #e6e5e0;
  padding: 25px 0px;
}
@media screen and (min-width: 768px) {
  .p-news__contentWrapper {
    border-bottom: none;
    padding: 0;
  }
}
@media screen and (min-width: 1000px) {
  .p-news__contentWrapper {
    flex-grow: 0;
    padding-left: 40px;
  }
}

/* カテゴリ・日付 */
.p-news__info {
  display: ruby;
  align-items: center;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .p-news__info {
    display: flex;
    gap: 15px;
  }
}
@media screen and (min-width: 1000px) {
  .p-news__info {
    gap: 30px;
    margin-top: -10px;
  }
}

.p-news__infoCategory {
  background: #899f83;
  color: #fff;
  font-size: 16px;
  padding: 0.3125rem 0.3125rem;
  font-weight: 500;
  min-width: 100px;
}
@media screen and (min-width: 768px) {
  .p-news__infoCategory {
    min-width: 140px;
  }
}
@media screen and (min-width: 1000px) {
  .p-news__infoCategory {
    font-size: 16px;
    padding: 0.1875rem 0.625rem;
    min-width: 110px;
  }
}
.p-newsArchive__infoCategory,
.p-newsArchive__infoDate {
  font-size: clamp(18px, 2vw, 22px);
}

.p-newsArchive__title {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-top: 18px;
}
@media screen and (min-width: 768px) {
  .p-newsArchive__title {
    margin-top: 16px;
  }
}

.p-news__infoDate {
  font-size: 16px;
  line-height: 1;
  margin-left: 10px;
}
@media screen and (min-width: 1000px) {
  .p-news__infoDate {
    font-weight: 400;
    font-size: 17px;
    margin-left: 0;
  }
}

/* 記事タイトル */
.p-news__title {
  font-size: 16px;
  margin-top: 14px;
  line-height: 1.3333333333;
  word-break: break-word;
  overflow-wrap: break-word;
}
@media screen and (min-width: 768px) {
  .p-news__title {
    font-size: 17px;
    line-height: 1;
    margin-top: 0px;
  }
}
.p-news__buttonNext {
  width: clamp(30px, 50%, 60px);
}
@media screen and (min-width: 1000px) {
  .p-news__buttonNext {
    margin-top: 20px;
  }
}

.p-newsBlog__return {
  font-size: clamp(12px, 2vw, 16px);
  margin-top: 50px;
  text-align: center;
  font-weight: 700;
}
@media screen and (min-width: 1000px) {
  .p-newsBlog__return {
    margin-top: 100px;
  }
}
@media screen and (min-width: 1440px) {
  .p-newsBlog__return {
    margin-top: 150px;
  }
}

.p-newsBlog__returnLink {
  display: inline-flex;
  align-items: center;
  color: #204f4e; /* テキストの色 */
  text-decoration: none; /* 下線を削除 */
}

.p-newsBlog__prev {
  max-width: 35px;
}

.p-newsBlog__prev img {
  width: clamp(30px, 50%, 60px);
  max-width: 60px;
  height: auto; /* 画像の高さ */
  margin-right: 10px; /* 画像とテキストの間の余白 */
  font-weight: 700;
}
@media screen and (min-width: 1000px) {
  .p-newsBlog__prev img {
    max-width: 60px;
  }
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.p-news__button i {
  font-size: 18px;
}

/* ====================================
   ニュース一覧ページ専用スタイル
   ==================================== */
.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: #204f4e; /* メインカラー */
  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;
}

.p-page-header {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-inline: clamp(15px, 2.5vw, 40px);
}

@media screen and (min-width: 768px) {
  .p-page-header {
    height: 400px;
  }
}
.p-page-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.p-page-header__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
@media screen and (min-width: 1000px) {
  .p-page-header__content {
    max-width: 1150px;
  }
}

.p-page-header__title {
  font-size: clamp(35px, 5vw, 60px);
  line-height: 1.1714285714;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1c2624;
  margin-top: 30px;
}

.p-page-header__subtitle {
  margin-top: 10px;
  font-size: clamp(12px, 1.6vw, 20px);
  line-height: 2.0909090909;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #1c2624;
}

.is-dark {
  color: #1c2624 !important;
}

.l-header.is-dark .l-header__link::after {
  background-color: #1c2624;
}

/* ============================================
   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-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: #204f4e;
  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-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: #204f4e;
  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;
  }
}

/* ============================================
   Service Section (Sticky Stack & Text Anim)
   ============================================ */
.p-service {
  background: transparent;
  /* 文字色を白に指定 */
  color: #ffffff;
  padding-block: 80px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-service {
    padding-block: 100px;
    padding-inline: 40px;
  }
}

.p-service__inner {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

/* ----------------------------------
   Header
   ---------------------------------- */
.p-service__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-service__label {
  display: block;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

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

/* ----------------------------------
   List & Sticky Items
   ---------------------------------- */
.p-service__list {
  display: block;
  width: 100%;
  margin-top: 60px;
}
@media screen and (min-width: 768px) {
  .p-service__list {
    margin-top: 100px;
  }
}

.p-service__item {
  /* ▼ 高さ70vhで中央(15vh)に固定して重なりを綺麗にする */
  position: sticky;
  top: 15vh; /* (100vh - 70vh) / 2 = 15vh */
  height: 70vh;
  width: 100%;
  overflow: hidden;
  /* display: flex; は不要なため削除またはコメントアウト */
  /* display: flex;
  align-items: center;
  justify-content: center; */
  margin: 0;
  padding: 0;
  border: none;
  /* 画像が読み込まれるまでの背景、または隙間対策 */
  background-image: linear-gradient(to bottom, #4a9dc3, #105086);
  background-attachment: fixed;
  background-size: cover;
}

/* ----------------------------------
   Image Wrapper
   ---------------------------------- */
.p-service__image-wrapper {
  /* 【修正】widthを90%から100%に変更し、全幅にする */
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  /* box-shadowは右の画像には無いようなのでコメントアウト（必要なら戻してください） */
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); */
}
@media screen and (min-width: 768px) {
  .p-service__image-wrapper {
    /* PC時も100%のまま */
    width: 100%;
    height: 100%;
  }
}

/* 暗幕（文字を読みやすくするフィルター） */
.p-service__image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* 右の画像に合わせて少し青みのある暗いフィルターに調整（お好みで変更してください） */
  background-color: rgba(0, 20, 40, 0.6);
}

.p-service__image {
  width: 100%;
  height: 100%;
  /* 画像を枠いっぱいにトリミングして表示 */
  -o-object-fit: cover;
     object-fit: cover;
  /* 画像の上側を優先して表示 */
  -o-object-position: center top;
     object-position: center top;
  display: block;
}

/* ----------------------------------
   Content (Overlay)
   ---------------------------------- */
.p-service__content {
  /* 絶対配置で中央寄せ */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* フィルターより上に表示 */
  width: 100%;
  max-width: 860px;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* 【追加】文字色を確実に白にする */
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .p-service__content {
    padding-inline: 60px;
  }
}

.p-service__number {
  display: block;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 20px;
  /* 【追加】数字の色も白くする */
  color: #ffffff;
}

.p-service__item-heading {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.5;
  font-weight: 400;
  /* テキストの影を少し調整して視認性を高める */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  /* 【追加】見出しの色も白くする */
  color: #ffffff;
  /* 文字アニメーション時のガタつき防止 */
  font-feature-settings: "palt";
}

/* ----------------------------------
   Text Reveal Animation Class
   (JSで生成されるspanタグ用)
   ---------------------------------- */
.js-text-span {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px); /* 最初は少し下から */
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* 表示時の状態 */
.is-text-active .js-text-span {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------
   Footer & Button
   ---------------------------------- */
.p-service__footer {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-top: 0;
  padding-block: 80px;
  /* フッターも背景色を維持 */
  background-attachment: fixed;
  background-size: cover;
}
@media screen and (min-width: 768px) {
  .p-service__footer {
    padding-block: 140px;
  }
}

.p-service__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 54px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.3s ease;
  background-color: #ffffff;
  color: #1a332e;
}

.p-service__button:hover {
  opacity: 0.7;
}

/* ============================================
   Service Section Text Animation
   ============================================ */
/* ▼▼▼ この記述がないと、文字が最初から見えてしまいます ▼▼▼ */
/* 2行目の文字（最初は隠しておく） */
.js-anim-char {
  opacity: 0; /* 透明にする */
  display: inline-block;
  transform: translateY(10px); /* 少し下に配置 */
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

/* クラスがついたら表示する */
.is-anim-active .js-anim-char {
  opacity: 1; /* 不透明にする */
  transform: translateY(0); /* 元の位置に戻す */
}

/* 1行目と2行目の間の余白など微調整 */
.js-desc-wrapper {
  display: inline-block;
  margin-top: 0.5em; /* 2行目の上に少し隙間を空ける */
}

.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: #204f4e;
  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: #9f9f9f;
  font-size: 1.25rem;
  background: #f8f8f8;
}
.p-single-blog__content h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 46px;
  background-color: #9f9f9f; /* 縦棒の色 */
  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: #9f9f9f;
  font-weight: 700;
  margin-top: 37px;
  padding-bottom: 5px;
  font-size: 1.125rem;
  border-bottom: 1px solid #9f9f9f;
}
.p-single-blog__content h4 {
  color: #9f9f9f;
  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: #9f9f9f;
  margin: 40px 0 -8px;
}
.p-single-blog__link-prev,
.p-single-blog__link-next {
  border-radius: 4px;
  border: 1px solid #9f9f9f;
  color: #9f9f9f;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
}

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

/* ====================================
   詳細ページ：メインレイアウト
   ==================================== */
.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: #204f4e;
  /* フォントサイズ: 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; /* カーソルを虫眼鏡にする */
  }
}

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

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

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

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

@media screen and (min-width: 768px) {
  .u-img-sm {
    display: none;
  }
}

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

@media screen and (min-width: 768px) {
  .u-link-sm {
    visibility: hidden;
  }
}

@media screen and (min-width: 320px) {
  .u-link-md {
    visibility: hidden;
  }
}
@media screen and (min-width: 768px) {
  .u-link-md {
    visibility: visible;
    margin-top: -35px;
  }
}

.u-center {
  text-align: center;
}

.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;
  }
}
/*# sourceMappingURL=style.css.map */
