@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: smooth;
}

/* 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: "YuGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Helvetica Neue", "Arial", sans-serif;
  font-weight: 400;
  color: #4a4a4a;
  background-blend-mode: multiply;
}

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

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

.l-footer {
  width: 100%;
  padding-block: 60px 40px;
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .l-footer {
    padding-block: 80px 40px;
  }
}

.l-footer__inner {
  display: grid;
  width: 100%;
  padding-inline: 20px;
  margin-inline: auto;
  /* ▼ SPレイアウト (1列) */
  grid-template-columns: 1fr;
  /* ★修正: 画像通りの順番に並び替えました */
  /* ロゴ -> タグライン -> メニュー -> コンタクト -> SNS -> コピーライト */
  grid-template-areas: "logo" "tagline" "nav" "contact" "sns" "copyright";
  justify-items: center;
  text-align: center;
  row-gap: 30px;
  /* ▼ タブレット (md: 768px〜) */
  /* ▼ PC (lg: 1000px〜) */
}
@media screen and (min-width: 768px) {
  .l-footer__inner {
    max-width: 900px;
    /* 左右2カラム構成 (左:右 = 1 : 1.2) */
    grid-template-columns: 1fr 1.2fr;
    /* 右列の上段にnav、下段にcontact */
    grid-template-areas: "logo    nav" "tagline contact" "sns     contact" "copyright copyright";
    justify-items: start; /* 左カラムは左揃え */
    text-align: left;
    -moz-column-gap: 40px;
         column-gap: 40px;
    row-gap: 30px;
    align-items: start; /* 上端揃え */
  }
}
@media screen and (min-width: 1000px) {
  .l-footer__inner {
    max-width: 1200px;
    /* 3カラム構成 (左・中央・右) */
    grid-template-columns: auto 1fr auto;
    /* PC配置: ロゴ・コンタクト・ナビ */
    grid-template-areas: "logo    contact nav" "tagline contact nav" "sns     contact nav" "copyright copyright copyright";
    -moz-column-gap: 60px;
         column-gap: 60px;
    row-gap: 20px;
  }
}

/* --- ロゴ --- */
.l-footer__logo-link {
  grid-area: logo;
  display: inline-block;
  width: 160px;
}
@media screen and (min-width: 768px) {
  .l-footer__logo-link {
    width: 200px;
  }
}

.l-footer__logo {
  width: 100%;
  height: auto;
}

/* --- タグライン --- */
.l-footer__tagline {
  grid-area: tagline;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .l-footer__tagline {
    font-size: 14px;
    margin-top: 0;
  }
}

/* --- ナビゲーション --- */
.l-footer__nav {
  grid-area: nav;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .l-footer__nav {
    /* タブレット: 右カラム内で中央揃え */
    justify-self: center;
    align-self: center;
    margin-top: 10px;
  }
}
@media screen and (min-width: 1000px) {
  .l-footer__nav {
    /* PC: 右端へ */
    justify-self: end;
    align-self: start;
    margin-top: 10px;
  }
}

.l-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .l-footer__nav-list {
    /* タブレット: 横並び・中央揃え */
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }
}
@media screen and (min-width: 1000px) {
  .l-footer__nav-list {
    /* PC: 縦並び・左揃え */
    flex-direction: column;
    align-items: flex-start;
  }
}

.l-footer__nav-item {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}
@media screen and (min-width: 1000px) {
  .l-footer__nav-item {
    font-size: 16px;
  }
}
.l-footer__nav-item a {
  text-decoration: none;
  transition: opacity 0.3s;
}
.l-footer__nav-item a:hover {
  opacity: 0.7;
}

/* --- コンタクト --- */
.l-footer__contact {
  grid-area: contact;
}
@media screen and (min-width: 768px) {
  .l-footer__contact {
    /* タブレット: 右カラム内で中央揃え */
    justify-self: center;
    text-align: center;
    align-self: start;
    margin-top: 0;
  }
}
@media screen and (min-width: 1000px) {
  .l-footer__contact {
    /* PC: 中央配置・左揃え */
    justify-self: center;
    text-align: left;
    align-self: center;
  }
}

.l-footer__contact-text {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
  color: #7d7d7d;
}
@media screen and (min-width: 1000px) {
  .l-footer__contact-text {
    font-size: 16px;
  }
}

.l-footer__contact-email {
  margin-top: 5px;
  font-size: 16px;
  letter-spacing: 0.05em;
  font-family: "Yu Gothic Pr6N";
}
@media screen and (min-width: 1000px) {
  .l-footer__contact-email {
    font-size: 20px;
    margin-top: 10px;
  }
}
.l-footer__contact-email a {
  text-decoration: none;
  transition: opacity 0.3s;
}
.l-footer__contact-email a:hover {
  opacity: 0.7;
}

/* --- SNSアイコン --- */
.l-footer__sns {
  grid-area: sns;
  display: flex;
  justify-content: center;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .l-footer__sns {
    /* タブレット: 左カラムの下配置 */
    justify-self: start;
    align-self: start;
    margin-top: 10px;
  }
}
@media screen and (min-width: 1000px) {
  .l-footer__sns {
    /* PC: ロゴの下 */
    align-self: start;
    margin-top: 0;
  }
}

.l-footer__sns-link {
  display: block;
  width: 32px;
  transition: opacity 0.3s;
}
.l-footer__sns-link:hover {
  opacity: 0.7;
}
.l-footer__sns-link img {
  width: 100%;
  height: auto;
}

/* --- コピーライト --- */
.l-footer__copyright {
  grid-area: copyright;
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.05em;
  color: #aaa;
}
@media screen and (min-width: 768px) {
  .l-footer__copyright {
    border-top: none;
    text-align: right;
    margin-top: 40px;
    padding-top: 0;
  }
}

/* ユーティリティ */
.u-hidden-lg {
  display: inline;
}
@media screen and (min-width: 1000px) {
  .u-hidden-lg {
    display: none;
  }
}

/* --- トップへ戻るボタン --- */
.l-footer__totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  z-index: 100;
  background: linear-gradient(135deg, #f3c397 0%, #ea96aa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  /* ▼▼▼ 初期状態：非表示にする設定 ▼▼▼ */
  opacity: 0; /* 透明にする */
  visibility: hidden; /* 見えなくする（重要：読み上げブラウザ等対策） */
  pointer-events: none; /* クリックできないようにする */
  transform: translateY(10px); /* 少し下に隠しておく */
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  /* ▼▼▼ JSでクラスがついた時の設定（表示） ▼▼▼ */
  /* ホバー時の動き（表示されている時のみ効くようになります） */
}
@media screen and (min-width: 768px) {
  .l-footer__totop {
    right: 40px;
    bottom: 40px;
    width: 50px;
    height: 50px;
  }
}
.l-footer__totop.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0); /* 元の位置に戻る */
}
.l-footer__totop:hover {
  opacity: 0.9;
  transform: translateY(-5px);
}

.l-footer__totop-arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: 4px;
}

.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: 1100px;
    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;
  }
}

.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: #efb3a2;
  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: #e694a6;
  margin: 1.875rem auto;
  border: 1px solid #e694a6;
  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: #e694a6;
  }
}

.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: #efb3a2;
}
@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: 280px 0;
  text-align: center;
}
.p-404__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.p-404__title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.p-404__text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}
.p-404__btn {
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  .p-404 {
    padding: 300px 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;
}

.p-about {
  position: relative;
  width: 100%;
  padding-block: 120px;
  overflow: hidden; /* 背景文字のはみ出し防止 */
  padding-inline: 15px;
}
@media screen and (min-width: 1000px) {
  .p-about {
    padding-block: 140px;
  }
}

/* 背景の大きな文字 */
.p-about__bg-text {
  position: absolute;
  top: 50px;
  left: 40%;
  transform: translateX(-50%);
  font-size: clamp(60px, 11vw, 152px);
  color: rgba(223, 232, 234, 0.3);
  white-space: nowrap;
  z-index: -1;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .p-about__bg-text {
    left: 26%;
  }
}
@media screen and (min-width: 1000px) {
  .p-about__bg-text {
    left: 25%;
  }
}
@media screen and (min-width: 1440px) {
  .p-about__bg-text {
    left: 25%;
  }
}

.p-about__title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) {
  .p-about__title {
    margin-bottom: 80px;
  }
}

.p-about__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .p-about__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    gap: 30px;
    align-items: start;
  }
}

/* ▼▼▼ ここを変更しました（下から出現へ） ▼▼▼ */
.p-about__item {
  width: 100%;
  /* アニメーション初期状態：透明にして「下に」少しずらす */
  opacity: 0;
  transform: translateY(40px); /* Y軸（縦）に40px下げる */
  /* 変化の設定：0.8秒かけて滑らかに */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  /* JSで .is-show がついた時の状態（表示＆元の位置） */
}
.p-about__item.is-show {
  opacity: 1;
  transform: translateY(0); /* 元の位置（0）に戻る */
}

/* 順番に出てくるように遅延（Delay）を設定（ここは変更なし） */
.p-about__item:nth-child(1) {
  transition-delay: 0s; /* 1つ目：すぐ出る */
}

.p-about__item:nth-child(2) {
  transition-delay: 0.3s; /* 2つ目：0.3秒遅れて出る */
}

.p-about__item:nth-child(3) {
  transition-delay: 0.6s; /* 3つ目：0.6秒遅れて出る */
}

/* ▲▲▲ ここまで ▲▲▲ */
.p-about__figure {
  margin: 0;
  width: 100%;
  aspect-ratio: 1/1; /* 正方形に近い比率 */
}

.p-about__figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
}
@media screen and (min-width: 768px) {
  .p-about__figure img {
    border-radius: 24px;
  }
}

/* ピンクの枠線のタイトル */
.p-about__box-title {
  margin-top: 40px;
  border: 1px solid #eea7b5; /* ピンク色の枠線 */
  color: #eea7b5;
  padding-block: 20px;
  padding-inline: 15px;
  text-align: left;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4545454545;
}
@media screen and (min-width: 768px) {
  .p-about__box-title {
    min-height: 5em; /* PCで高さを揃えるための調整 */
    display: flex;
    align-items: center;
    height: 140px;
  }
}
@media screen and (min-width: 1000px) {
  .p-about__box-title {
    margin-top: 32px;
    height: 110px;
  }
}

.p-about__text {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  text-align: justify;
}
@media screen and (min-width: 1000px) {
  .p-about__text {
    margin-top: 32px;
  }
}

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

.p-archive {
  width: 100%;
  padding-block: 80px;
  padding-inline: 20px;
  position: relative;
  z-index: 1;
  background-color: #fafafa;
}
@media screen and (min-width: 768px) {
  .p-archive {
    padding-block: 120px;
    padding-inline: 40px;
  }
}

/* 背景画像の擬似要素 */
.p-archive::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: url("../images/bg_img1.webp") center/cover no-repeat;
  opacity: 0.6;
}

/* グリッドレイアウト */
.p-archive__list {
  display: grid;
  gap: 40px;
  margin-top: 60px;
  /* スマホは1列、タブレット以上で3列 */
}
@media screen and (min-width: 768px) {
  .p-archive__list {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 30px;
         column-gap: 30px;
    row-gap: 50px;
  }
}

/* カード全体 */
.p-archive__item {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* ホバーを心地よく */
  color: #333;
  height: 100%; /* グリッド内で高さを最大まで伸ばす */
}
.p-archive__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  /* ホバー時に画像をズームさせる */
}
.p-archive__item:hover .p-archive__figure img {
  transform: scale(1.08);
}

/* ▼▼▼ 画像エリアの品質改善 ▼▼▼ */
.p-archive__figure {
  width: 100%;
  margin: 0;
  overflow: hidden; /* ズームした際にはみ出さないように */
  position: relative;
  /* ★重要：アスペクト比を固定（3:2 が写真として最も収まりが良いです） */
  /* 元の 16/10 だと細長すぎるため、3/2 または 4/3 を推奨します */
  aspect-ratio: 3/2;
}

.p-archive__figure img {
  width: 100%;
  height: 100%;
  /* ★重要：枠に合わせてトリミングする設定 */
  -o-object-fit: cover;
     object-fit: cover;
  /* 画像の位置を中央に合わせる */
  -o-object-position: center;
     object-position: center;
  transition: transform 0.6s ease; /* ゆっくりズームさせる */
  /* グローバルなCSSの影響を受けないようリセット */
  max-width: 100%;
  margin: 0;
  vertical-align: bottom; /* 画像下の謎の隙間を消す */
}

/* ▲▲▲ 画像エリアここまで ▲▲▲ */
/* テキストエリアコンテナ */
.p-archive__body {
  flex-grow: 1; /* 高さを埋める */
  display: flex;
  flex-direction: column;
  padding-block: 30px;
  padding-inline: 25px;
  position: relative;
  /* View moreボタンが重ならないように下余白を確保 */
  padding-bottom: 70px;
}

/* ピンクの線（グラデーション） */
.p-archive__body::before {
  content: "";
  display: block;
  width: 50%;
  height: 4px;
  background: linear-gradient(90deg, #eea7b5 0%, #eea7b5 70%, #fdeef1 70%, #fdeef1 100%);
  margin-bottom: 20px;
}

/* View moreボタン（擬似要素） */
.p-archive__body::after {
  content: "View more";
  position: absolute;
  bottom: 25px;
  right: 25px;
  font-family: "Lato", "Helvetica Neue", "Arial", sans-serif; /* 英文フォント変数があれば */
  font-size: 14px;
  color: #eea7b5;
  letter-spacing: 0.05em;
  font-weight: 500;
  /* 矢印画像の設定 */
  background-image: url("../images/Arrow.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 50px auto; /* 矢印のサイズ */
  padding-right: 60px; /* 文字と矢印の間の余白確保 */
  transition: opacity 0.3s;
}

.p-archive__item:hover .p-archive__body::after {
  opacity: 0.7; /* ホバー時に少し薄くする等の演出 */
}

/* タイトル */
.p-archive__title {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
  /* 2行制限 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 説明文 */
.p-archive__text {
  font-size: 14px;
  line-height: 1.8;
  color: #666; /* 少し薄くして階層をつける */
  /* 3行制限 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-archive__text p {
  margin: 0;
}

/* ページネーション (SCSSは元のままでOKですが、念の為記載) */
.p-case__pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.p-case__pagination ul {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.p-case__pagination li {
  margin: 0;
}
.p-case__pagination a,
.p-case__pagination .current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #eee;
  transition: all 0.3s;
}
.p-case__pagination a:hover,
.p-case__pagination .current:hover {
  background-color: #fbfbc9;
  border-color: #fbfbc9;
  opacity: 1;
}
.p-case__pagination .current {
  background-color: #ea96aa;
  border-color: #ea96aa;
  color: #fff;
  pointer-events: none;
}
.p-case__pagination .prev,
.p-case__pagination .next {
  font-size: 18px;
  color: #ea96aa;
  border: none;
  background: none;
}
.p-case__pagination .prev:hover,
.p-case__pagination .next:hover {
  background: none;
  opacity: 0.7;
}

/* --- セクション全体 --- */
.p-case {
  position: relative;
  width: 100%;
  padding-block: 90px 65px;
  background-color: #f8d5dc; /* 指定色 */
  overflow: hidden;
}
@media screen and (min-width: 1000px) {
  .p-case {
    padding-block: 200px 135px;
  }
}

/* --- 背景の巨大文字（指定CSS） --- */
.p-case__bg-text {
  position: absolute;
  top: 1%;
  left: 35%;
  transform: translateX(-50%);
  z-index: 0;
  font-size: clamp(72px, 11vw, 152px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.2); /* 指定色 */
}
@media screen and (min-width: 768px) {
  .p-case__bg-text {
    top: 16%;
    transform: translate(-50%, -50%);
    left: 21%;
  }
}
@media screen and (min-width: 1000px) {
  .p-case__bg-text {
    top: 13%;
    left: 42%;
  }
}

/* --- インナー幅制限 --- */
.p-case__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-case__inner {
    max-width: 1140px;
    margin-inline: auto;
  }
}

/* --- ヘッダーエリア --- */
.p-case__head {
  text-align: center;
  margin-bottom: 64px;
}
@media screen and (min-width: 1000px) {
  .p-case__head {
    margin-bottom: 80px;
  }
}

/* --- タイトル（指定CSS） --- */
.p-case__title {
  display: inline-block;
  font-family: "Lato", "Helvetica Neue", "Arial", sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 300;
  line-height: 1.5;
  padding-block: 15px;
  border-top: 0.5px solid #4a4a4a;
  border-bottom: 0.5px solid #4a4a4a;
}

/* サブタイトル（導入事例） */
.p-case__subtitle {
  margin-top: 40px;
  font-size: clamp(20px, 2.2vw, 24px);
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #eb99aa;
}
@media screen and (min-width: 1000px) {
  .p-case__subtitle {
    margin-top: 48px;
  }
}

/* 説明文 */
.p-case__desc {
  margin-top: 40px;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 2;
  font-weight: 500;
}
@media screen and (min-width: 1000px) {
  .p-case__desc {
    margin-top: 48px;
  }
}

/* --- 実績リスト（グリッド） --- */
.p-case__list {
  display: grid;
  grid-template-columns: 1fr; /* スマホは1列 */
  gap: 32px;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-case__list {
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    gap: 40px 30px;
  }
}

/* --- カード本体 --- */
.p-case__card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  max-width: 400px;
  margin: 0 auto;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.p-case__card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  /* ▼ 追加: 全体を少し透かす */
  opacity: 0.8;
}

/* --- 画像エリア（親枠） --- */
.p-case__card-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  /* ▼ 重要: 画像が拡大した時にはみ出さないように隠す */
  overflow: hidden;
}

/* --- 画像本体 --- */
.p-case__card-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* ▼ 追加: ズームのアニメーション速度（少しゆったりさせると高級感が出ます） */
  transition: transform 0.6s ease;
  /* ▼ 追加: カード(.p-case__card)がホバーされたら、この画像(&)を拡大する */
}
.p-case__card:hover .p-case__card-img {
  transform: scale(1.1); /* 1.1倍にズーム */
}

/* テキストエリア */
.p-case__card-body {
  padding: 40px 20px;
  flex-grow: 1;
}
@media screen and (min-width: 1000px) {
  .p-case__card-body {
    padding: 50px 20px;
  }
}

.p-case__card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.p-case__card-text {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  font-weight: 400;
  margin-top: 14px;
}

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

.p-case__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 200px;
  height: 50px;
  border-radius: 9999px;
  /* 画像から抽出したグラデーション */
  background: linear-gradient(90deg, #f2c193 0%, #eba3b3 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.3s;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.p-case__btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 167, 181, 0.6);
}
.p-case__btn:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

.p-case__btn-icon {
  width: 10px;
  display: flex;
  align-items: center;
}

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

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

.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: #ffffff;
  margin-top: 30px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.p-page-header__subtitle {
  margin-top: 15px;
  font-size: clamp(12px, 1.6vw, 20px);
  line-height: 2.0909090909;
  font-weight: 500;
  font-family: "Lato", "Helvetica Neue", "Arial", sans-serif;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

@media screen and (min-width: 768px) {
  .p-page-header__subtitle {
    margin-top: 20px;
  }
}
/* ===============================================
   Company Section
   =============================================== */
.p-company {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-block: 120px 60px;
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .p-company {
    padding-block: 120px;
  }
}
@media screen and (min-width: 1000px) {
  .p-company {
    padding-block: 260px;
  }
}

/* --- 背景テキスト (About Us) --- */
.p-company__bg-text {
  position: absolute;
  top: 68px;
  left: 0%;
  font-size: clamp(62px, 11vw, 152px);
  color: rgba(223, 232, 234, 0.3);
  font-family: "Times New Roman", Times, serif;
  white-space: nowrap;
  z-index: 0;
  line-height: 1;
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  .p-company__bg-text {
    top: 30px;
  }
}
@media screen and (min-width: 1000px) {
  .p-company__bg-text {
    top: 50px;
  }
}

.p-company__inner {
  width: 100%;
  padding-inline: 20px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-company__inner {
    max-width: 1100px;
    padding-inline: 0px;
  }
}
@media screen and (min-width: 1000px) {
  .p-company__inner {
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .p-company__inner {
    padding-inline: 0px;
  }
}

.p-company__title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* --- コンテンツエリア (画像 + リスト) --- */
.p-company__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-company__container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
  }
}
@media screen and (min-width: 1000px) {
  .p-company__container {
    gap: 80px;
  }
}

/* --- 画像エリア --- */
.p-company__figure {
  width: 100%;
  margin: 0 auto;
  margin-top: 60px;
}
@media screen and (min-width: 768px) {
  .p-company__figure {
    width: 45%;
    flex-shrink: 0;
    margin-top: 0;
    position: relative;
  }
}
@media screen and (min-width: 1000px) {
  .p-company__figure {
    width: 28%;
  }
}

.p-company__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
@media screen and (min-width: 768px) {
  .p-company__img {
    border-radius: 40px;
  }
}

/* --- 会社情報リストエリア --- */
.p-company__info {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-company__info {
    width: 55%;
    padding-top: 20px;
  }
}
@media screen and (min-width: 1000px) {
  .p-company__info {
    padding-top: 0;
  }
}
@media screen and (min-width: 1440px) {
  .p-company__info {
    position: relative;
    top: -20px;
  }
}

.p-company__list {
  width: 100%;
}

/* ★修正箇所：常に横並びにする設定 */
.p-company__row {
  display: flex;
  flex-direction: row; /* ★常時横並び */
  flex-wrap: nowrap; /* 折り返し禁止 */
  align-items: baseline; /* テキストのベースライン揃え */
  padding-block: 20px;
  border-bottom: 2px solid #ea96aa;
  gap: 20px; /* スマホ時の隙間 */
}
@media screen and (min-width: 768px) {
  .p-company__row {
    padding-block: 20px;
    gap: 60px; /* PC時の隙間 */
  }
}
@media screen and (min-width: 1440px) {
  .p-company__row {
    gap: 0px;
    padding-block: 15px;
  }
}

/* ★修正箇所：項目名の幅固定 */
.p-company__term {
  font-weight: 700;
  font-size: 13px;
  margin: 0; /* 余白リセット */
  width: 90px; /* ★スマホでの幅確保（文字数に合わせて調整） */
  flex-shrink: 0; /* 縮まないようにする */
}
@media screen and (min-width: 768px) {
  .p-company__term {
    width: 140px; /* PCでは少し広く */
    font-size: 16px;
  }
}

/* 内容部分 */
.p-company__desc {
  font-size: 13px;
  line-height: 1.7333333333;
  margin: 0;
  font-weight: 400;
  flex: 1;
}
@media screen and (min-width: 768px) {
  .p-company__desc {
    font-size: 16px;
  }
}

.p-concept {
  position: relative;
  width: 100%;
  padding-block: clamp(80px, 10vw, 120px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden; /* 背景文字のはみ出し防止 */
}
@media screen and (min-width: 1000px) {
  .p-concept {
    padding-block: 190px 170px;
  }
}

/* コンテンツ幅の制限コンテナ */
.p-concept__inner {
  position: relative;
  z-index: 1; /* 背景文字より手前に */
  width: 100%;
  padding-inline: 20px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-concept__inner {
    max-width: 1000px;
    margin-inline: auto;
  }
}

/* --- 背景の巨大文字 --- */
.p-concept__bg-text {
  position: absolute;
  top: 5%;
  left: 40%;
  transform: translateX(-50%);
  z-index: 0;
  font-size: clamp(72px, 11vw, 152px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.5);
}
@media screen and (min-width: 768px) {
  .p-concept__bg-text {
    top: 16%;
    transform: translate(-50%, -50%);
    left: 21%;
  }
}

/* --- メインタイトルエリア --- */
.p-concept__head {
  text-align: center;
}

.p-concept__title {
  display: inline-block; /* 線の幅を文字に合わせる */
  font-family: "Lato", "Helvetica Neue", "Arial", sans-serif; /* デザインに合わせて変更 */
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 300;
  line-height: 1.5;
  padding-block: 15px; /* 線と文字の間隔 */
  border-top: 0.5px solid #4a4a4a; /* 仮の色（適宜変更してください） */
  border-bottom: 0.5px solid #4a4a4a;
  width: clamp(200px, 60vw, 360px); /* 線の最小・最大幅を制御 */
}

/* --- キャッチコピー --- */
.p-concept__lead {
  margin-top: 40px;
  font-size: clamp(18.5px, 2vw, 24px);
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #e694a6;
}
@media screen and (min-width: 768px) {
  .p-concept__lead {
    margin-top: 60px;
  }
}

/* --- 本文エリア --- */
.p-concept__body {
  margin-top: 32px;
}
@media screen and (min-width: 768px) {
  .p-concept__body {
    margin-top: 48px;
  }
}

.p-concept__text {
  margin-top: 0; /* 最初のpの打ち消し */
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2;
  letter-spacing: 0.05em;
  font-weight: 500;
}
@media screen and (min-width: 1000px) {
  .p-concept__text {
    line-height: 2.6666666667;
  }
}
.p-concept__text + .p-concept__text {
  margin-top: 1.5em;
}

.p-concept__side-text {
  display: none;
}
@media screen and (min-width: 768px) {
  .p-concept__side-text {
    display: block;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0.15em;
    opacity: 0.8;
    z-index: 1;
  }
}
@media screen and (min-width: 1000px) {
  .p-concept__side-text {
    right: 50px;
  }
}

/* ====================================
   コンタクトフォーム（最終統合版）
   ==================================== */
/* セクション全体の背景（必要なら） */
.p-contact__title {
  text-align: center !important;
}

/* フォーム本体（白いカード） */
.p-contact-form {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  border-radius: 16px;
  margin-top: 45px;
  /* 背景色・影 */
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* 余白 */
  padding-block: 60px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-contact-form {
    padding-block: 80px;
    padding-inline: 80px;
  }
}
@media screen and (min-width: 1000px) {
  .p-contact-form {
    margin-top: 110px;
  }
}

/* 各項目の塊 */
.p-contact-form__item {
  width: 100%;
  margin-top: 40px;
}

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

/* ------------------------------------
   ラベルエリア（Pタグ対策済み）
   ------------------------------------ */
.p-contact-form__head {
  /* 親枠自体の設定 */
  width: 100%;
  /* Pタグがない場合の保険設定 */
  display: flex;
  align-items: center;
  gap: 15px;
  /* ★重要：Contact Form 7が勝手に入れるPタグを強制整形 */
  /* 改行タグ無効化 */
}
.p-contact-form__head p {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 15px;
  margin: 0 !important;
  padding: 0 !important;
}
.p-contact-form__head br {
  display: none;
}

/* 項目名（ラベル） */
.p-contact-form__label {
  font-weight: bold;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.5;
  margin: 0;
  white-space: nowrap; /* 改行禁止 */
}

/* 必須バッジ */
.p-contact-form__required {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  padding-block: 6px;
  padding-inline: 5px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  background-color: #333;
  color: #fff;
}

/* ------------------------------------
   入力エリア
   ------------------------------------ */
.p-contact-form__body {
  width: 100%;
  margin-top: 15px;
}

/* 姓・名エリア */
.p-contact-form__body--name {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media screen and (min-width: 768px) {
  .p-contact-form__body--name {
    flex-direction: row;
    gap: 30px;
  }
}

.p-contact-form__name-wrap {
  width: 100%;
}

/* 入力欄共通（テキスト、メール、電話） */
.p-contact-form__input {
  width: 100%;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  padding-block: 15px;
  padding-inline: 20px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #f5f5f5;
}

/* テキストエリア */
.p-contact-form__textarea {
  width: 100%;
  height: 240px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  padding: 20px;
  resize: vertical;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #f5f5f5;
}

/* プレースホルダー（入力例）の色 */
.p-contact-form__input::-moz-placeholder, .p-contact-form__textarea::-moz-placeholder {
  color: #bbb;
}
.p-contact-form__input::placeholder,
.p-contact-form__textarea::placeholder {
  color: #bbb;
}

/* ------------------------------------
   ラジオボタン
   ------------------------------------ */
.wpcf7-list-item {
  display: inline-block;
  margin: 0;
  margin-inline-end: 30px;
}

.wpcf7-list-item-label {
  margin-inline-start: 8px;
  font-weight: 500;
  cursor: pointer;
}

/* ------------------------------------
   送信ボタン（Pタグ対策済み）
   ------------------------------------ */
.p-contact-form__footer {
  margin-top: 60px;
  text-align: center;
  /* 勝手に入るPタグの余白を消して邪魔させない */
}
.p-contact-form__footer p {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

/* 送信ボタン本体 */
.p-contact-form__submit {
  /* ★重要：ブロック要素にして強制中央揃え */
  display: block;
  margin-inline: auto;
  width: 100%;
  max-width: 400px;
  border: none;
  border-radius: 100px;
  font-weight: bold;
  font-size: 16px;
  padding-block: 20px;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: opacity 0.3s;
  /* 色指定 */
  background-color: #e3c546;
  color: #fff;
}

.p-contact-form__submit:hover {
  opacity: 0.8;
}

/* ====================================
   サンクスページ（完全版）
   ==================================== */
/* セクション全体（背景色：ベージュ） */
.p-thanks {
  width: 100%;
  background-color: #e6e6e3; /* 背景色 */
  padding-block: 60px;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-thanks {
    padding-block: 80px;
  }
}

/* インナー幅制限 */
.p-thanks__inner {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

/* ------------------------------------
   タイトルエリア
   ------------------------------------ */
.p-contact__title {
  text-align: center;
  width: 100%;
}

.p-about__title {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.p-about__subtitle {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.5;
  margin-top: 10px;
}

/* ------------------------------------
   白いカード部分
   ------------------------------------ */
.p-thanks__card {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  border-radius: 16px;
  background-color: #fff; /* 白背景 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* 影 */
  padding-block: 60px;
  padding-inline: 20px;
  margin-top: 50px;
}
@media screen and (min-width: 768px) {
  .p-thanks__card {
    padding-block: 100px;
    padding-inline: 40px;
    margin-top: 60px;
  }
}

/* 完了メッセージ見出し */
.p-thanks__heading {
  text-align: center;
  font-weight: bold;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

/* 本文エリア */
.p-thanks__body {
  width: 100%;
  margin-top: 30px;
}

/* 本文テキスト */
.p-thanks__text {
  text-align: left;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-thanks__text {
    line-height: 1.75;
    text-align: center;
  }
}

/* ------------------------------------
   ボタンエリア
   ------------------------------------ */
.p-thanks__footer {
  width: 100%;
  margin-top: 50px;
  text-align: center;
}

/* ホームに戻るボタン */
.p-thanks__btn {
  display: block;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  border-radius: 100px;
  text-decoration: none;
  font-weight: bold;
  background-color: #e3c546;
  color: #fff;
  padding-block: 20px;
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1;
  transition: opacity 0.3s;
}

.p-thanks__btn:hover {
  opacity: 0.8;
}

/* -------------------------------------------------- */
/* 共通CTAセクション (Contact, Recruit, Access等に利用可) */
/* -------------------------------------------------- */
.c-cta-area {
  background: #747474;
  color: #fff; /* テキストの色（白系） */
  padding-block: 80px;
}
@media screen and (min-width: 768px) {
  .c-cta-area {
    padding-block: 110px;
  }
}

/* コンテンツ幅とグリッドレイアウト */
.c-cta-area__inner {
  width: 90%;
  max-width: 1200px; /* 最大幅 */
  margin: 0 auto;
  display: flow;
  /* 左(タイトル):右(内容) = 1 : 1.5 の比率で分割 */
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
@media screen and (min-width: 768px) {
  .c-cta-area__inner {
    align-items: center;
    display: grid;
  }
}

/* -------------------------------------------------- */
/* 左側: セクションタイトルエリア */
/* -------------------------------------------------- */
.c-cta-area__title {
  font-family: "Times New Roman", Times, serif; /* 欧文フォント */
  font-size: 80px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em; /* 広めの字間 */
}

.c-cta-area__subtitle {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; /* 和文フォント（明朝体） */
  font-size: 18px;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

/* -------------------------------------------------- */
/* 右側: コンテンツボディエリア */
/* -------------------------------------------------- */
.c-cta-area__body {
  text-align: center;
  margin: 0 auto;
}

/* リード文 */
.c-cta-area__lead {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.07em;
  margin-top: 50px;
}
@media screen and (min-width: 768px) {
  .c-cta-area__lead {
    font-size: 20px;
    margin-top: 0;
  }
}

/* 電話番号などの強調テキスト */
.c-cta-area__highlight {
  font-size: clamp(38px, 5vw, 48px);
  font-weight: 500;
  margin-top: 15px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

/* 受付時間などの補足テキスト */
.c-cta-area__note {
  font-size: 14px;
  margin-top: 10px;
}
@media screen and (min-width: 768px) {
  .c-cta-area__note {
    font-size: 16px;
  }
}

/* -------------------------------------------------- */
/* ボタンエリア */
/* -------------------------------------------------- */
.c-cta-area__actions {
  display: flex;
  flex-direction: column; /* ボタンを縦に並べる */
  gap: 30px;
  margin-top: 80px;
}
@media screen and (min-width: 768px) {
  .c-cta-area__actions {
    margin-top: 50px;
  }
}

/* ゴールドボタン共通スタイル */
.c-gold-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 18px;
  max-width: 440px;
  margin: 0 auto;
  background-color: #e8c642; /* ボタンの色（ゴールド/黄色系） */
  color: #333; /* ボタンテキストの色 */
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
  border: none;
  cursor: pointer;
}

.c-gold-btn:hover {
  opacity: 0.7;
}

/* --- セクション全体 --- */
.p-custom {
  position: relative;
  width: 100%;
  padding-block: 150px 80px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
@media screen and (min-width: 1000px) {
  .p-custom {
    padding-block: 200px;
  }
}

/* --- 背景の巨大文字（指定CSS） --- */
.p-custom__bg-text {
  position: absolute;
  top: 1%;
  left: 65%;
  transform: translateX(-50%);
  z-index: 0;
  font-size: clamp(72px, 11vw, 152px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}
@media screen and (min-width: 768px) {
  .p-custom__bg-text {
    top: 13%;
    left: auto;
    right: 5%;
    transform: translateY(-50%);
  }
}

/* --- コンテンツ幅制限 --- */
.p-custom__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-custom__inner {
    padding-inline: 20px;
    max-width: 1140px;
    margin-inline: auto;
  }
}

/* --- 画像ラッパー --- */
.p-custom__image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden; /* 画像からはみ出たオーバーレイをカット */
  min-height: 570px;
}
@media screen and (min-width: 768px) {
  .p-custom__image-wrapper {
    border-radius: 20px; /* PCのみ角丸 */
    /* アスペクト比を固定してレイアウト崩れを防ぐ */
    aspect-ratio: 16/9;
  }
}

.p-custom__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* スマホ版の高さを確保 */
  min-height: 570px;
}
@media screen and (min-width: 768px) {
  .p-custom__img {
    min-height: auto;
  }
}

/* --- テキストエリア（オーバーレイ） --- */
.p-custom__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding-block: 40px;
  padding-inline: 10px;
  /* 背景色（半透明の黒で文字を読ませる） */
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .p-custom__content {
    width: 80%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
  }
}
@media screen and (min-width: 1000px) {
  .p-custom__content {
    width: 75%;
    height: 70%;
  }
}

/* --- タイトル --- */
.p-custom__title {
  display: inline-block;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 300;
  line-height: 2.8333333333;
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px #a4846e;
  /* 上下の線 */
  padding-block: 10px;
  border-top: 0.5px solid #fff;
  border-bottom: 0.5px solid #fff;
}
@media screen and (min-width: 1000px) {
  .p-custom__title {
    padding-block: 0px;
  }
}

/* --- 本文エリア --- */
.p-custom__text-body {
  margin-top: 32px;
}

.p-custom__text {
  margin-top: 0;
  color: #ffffff;
  text-shadow: 0 0 20px #a4846e;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 2.6666666667;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.p-custom__text + .p-custom__text {
  margin-top: 0.3em; /* 行間調整 */
}

/* --- ユーティリティ（改行制御） --- */
.u-hidden-md {
  display: inline;
}
@media screen and (min-width: 768px) {
  .u-hidden-md {
    display: none;
  }
}

/* ===============================================
   Service Detail Section (p-detail)
   =============================================== */
.p-detail {
  width: 100%;
}

/* -----------------------------------------------
   導入エリア
----------------------------------------------- */
.p-detail__lead {
  background: linear-gradient(90deg, #e0e04a 0%, #ecec6f 100%);
  box-shadow: 0 0 11.835px 4.734px rgba(65, 22, 22, 0.04);
  padding-block: 60px 100px;
  text-align: center;
  color: #7f7f1b;
}
@media screen and (min-width: 768px) {
  .p-detail__lead {
    padding-block: 100px;
  }
}

.p-detail__lead-inner {
  width: 100%;
  padding-inline: 20px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .p-detail__lead-inner {
    max-width: 1000px;
  }
}

.p-detail__lead-title {
  font-size: clamp(16px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.p-detail__lead-text {
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 500;
  line-height: 1.8;
  margin-top: 20px;
}

/* -----------------------------------------------
   メインエリア
----------------------------------------------- */
.p-detail__main {
  width: 100%;
  background: #ffffec;
  padding-block: 0px 80px;
  /* PC: 右側の背景色変更 */
}
@media screen and (min-width: 768px) {
  .p-detail__main {
    padding-block: 100px 0px;
    height: 2600px;
    /* ★ここを変更：色が変わる位置を 80% → 88% にして狭くしました */
    background: linear-gradient(90deg, #fffff2 0%, #fffff2 88%, #f9f9d9 88%, #f9f9d9 100%);
  }
}
@media screen and (min-width: 1000px) {
  .p-detail__main {
    height: 2750px;
  }
}
@media screen and (min-width: 1440px) {
  .p-detail__main {
    height: 2900px;
  }
}

.p-detail__container {
  width: 100%;
  padding-inline: 20px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
@media screen and (min-width: 768px) {
  .p-detail__container {
    /* コンテンツ幅 */
    position: relative;
    top: -130px;
    max-width: 1280px;
    padding-inline: 30px;
    gap: 120px;
    margin-inline: auto;
  }
}
@media screen and (min-width: 1000px) {
  .p-detail__container {
    gap: 150px;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .p-detail__container {
    gap: 200px;
  }
}

/* -----------------------------------------------
   アイテム (全体ラッパー)
----------------------------------------------- */
.p-detail__item {
  position: relative;
  width: 100%;
  margin-top: -45px;
  /* PC: [装飾文字] と [カードユニット] を横並び */
  /* ▼ 3つ目専用 */
}
@media screen and (min-width: 768px) {
  .p-detail__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px; /* 装飾文字とカードの間の距離 */
  }
}
@media screen and (min-width: 768px) {
  .p-detail__item--pos3 {
    top: -110px;
  }
}
@media screen and (min-width: 768px) {
  .p-detail__item--pos4 {
    top: -340px;
  }
}
@media screen and (min-width: 768px) {
  .p-detail__item {
    margin-top: 0;
  }
}

/* PC偶数番目: 左右反転 */
@media screen and (min-width: 768px) {
  .p-detail__item--reverse {
    flex-direction: row-reverse;
  }
}
.p-detail__item-deco {
  /* スマホ非表示 */
  display: none;
}
@media screen and (min-width: 768px) {
  .p-detail__item-deco {
    /* ▼ 配置の土台 */
    position: relative;
    left: -4%;
    display: flex;
    align-items: center; /* 親要素に対して中央配置 */
    justify-content: center; /* 親要素に対して中央配置 */
    /* ▼ ここが修正の肝です */
    /* 縦書きモードにするだけで、英字は自動的に「横向き（右90度回転）」になります */
    writing-mode: vertical-rl;
    /* text-orientation: upright;  ←これを削除しました。これで文字が寝ます */
    /* ▼ デザイン装飾 */
    font-weight: 700;
    font-size: clamp(60px, 7.5vw, 95px);
    line-height: 1; /* 横向き文字の「幅」になります */
    color: transparent;
    -webkit-text-stroke: 2px #e8efa2;
    /* 余計な指定をリセット */
    width: auto;
    height: auto;
    margin: 0;
  }
}

.p-detail__item-filled {
  /* スマホ非表示 */
  display: none;
}
@media screen and (min-width: 768px) {
  .p-detail__item-filled {
    /* 配置 */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 縦書き・文字向き */
    writing-mode: vertical-rl;
    /* text-orientation: upright; は削除（文字を横向きにするため） */
    /* 塗りつぶし・色設定 */
    color: #f6f6ad;
    -webkit-text-stroke: 0; /* 枠線なし */
    font-weight: 700;
    font-size: clamp(60px, 8vw, 95px);
    line-height: 1;
    /* 右寄せ位置指定 */
    right: -5% !important;
    /* リセット */
    width: auto;
    height: auto;
    margin: 0;
  }
}

/* -----------------------------------------------
   カードラッパー (画像 + 白い箱 のセット)
----------------------------------------------- */
.p-detail__item-card {
  /* ▼スマホ版スタイル */
  background-color: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column-reverse; /* テキスト上、画像下 */
  gap: 30px;
  width: 100%;
  /* ▼PC版スタイル */
}
@media screen and (min-width: 768px) {
  .p-detail__item-card {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    display: flex;
    flex-direction: row; /* 画像左、ボックス右 */
    align-items: center;
    justify-content: center; /* 中央揃え */
    flex: 1;
  }
}

/* PC偶数番目: セット内の並びも反転 (ボックス左、画像右) */
@media screen and (min-width: 768px) {
  .p-detail__item--reverse .p-detail__item-card {
    flex-direction: row-reverse;
  }
}
/* -----------------------------------------------
   画像エリア
----------------------------------------------- */
.p-detail__item-figure {
  width: 100%;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .p-detail__item-figure {
    /* ★画像の幅比率 (全体100%のうち38%) */
    width: 38%;
    position: relative;
    z-index: 2; /* 白ボックスより手前に表示 */
  }
}

.p-detail__item-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 300/200;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
  display: block;
}
@media screen and (min-width: 768px) {
  .p-detail__item-figure img {
    /* 比率維持 */
    aspect-ratio: 406/318;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    /* ★left指定などは全て削除し、素直に配置させます */
  }
}

/* ★PC奇数番目 (画像が左): 画像を右へ押し込んで重ねる */
@media screen and (min-width: 768px) {
  .p-detail__item:not(.p-detail__item--reverse) .p-detail__item-figure {
    /* ★ネガティブマージンで右（ボックス側）へ食い込ませる */
    margin-right: -10%;
  }
}
/* ★PC偶数番目 (画像が右): 画像を左へ押し込んで重ねる */
@media screen and (min-width: 768px) {
  .p-detail__item--reverse .p-detail__item-figure {
    /* ★ネガティブマージンで左（ボックス側）へ食い込ませる */
    margin-left: -10%;
  }
}
/* -----------------------------------------------
   テキストエリア (白い箱)
----------------------------------------------- */
.p-detail__item-body {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-detail__item-body {
    /* ★テキストボックスの幅比率 (全体100%のうち72%) */
    /* 38% + 72% - 10%(重なり) = 100% */
    width: 72%;
    height: 400px;
    background-color: #fff;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* ★max-widthを削除し、比率通りに伸縮させてズレを防ぎます */
    /* max-width: 790px; ← 削除 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1; /* 画像の下 */
  }
}
@media screen and (min-width: 1000px) {
  .p-detail__item-body {
    justify-content: unset;
    height: 420px;
    padding-top: 50px;
    gap: 20px;
  }
}
@media screen and (min-width: 1440px) {
  .p-detail__item-body {
    height: 448px;
    padding-top: 70px;
  }
}

/* ★PC奇数番目 (画像が左から重なる): 左の余白を確保 */
@media screen and (min-width: 768px) {
  .p-detail__item:not(.p-detail__item--reverse) .p-detail__item-body {
    padding-left: 15%; /* 重なり分 + 余白 */
    padding-right: 8%;
  }
}
/* ★PC偶数番目 (画像が右から重なる): 右の余白を確保 */
@media screen and (min-width: 768px) {
  .p-detail__item--reverse .p-detail__item-body {
    padding-right: 15%; /* 重なり分 + 余白 */
    padding-left: 8%;
  }
}
/* --- 以下、中身のテキストスタイル --- */
.p-detail__item-label {
  display: inline-block;
  background-color: #c8c838;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  margin-bottom: 15px;
  align-self: flex-start;
}

.p-detail__item-title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0;
}

.p-detail__item-line {
  width: 86px;
  height: 2px;
  background: linear-gradient(to right, #c8c838 75%, #efefc2 25%);
  margin-top: 15px;
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .p-detail__item-line {
    width: 147px;
  }
}

.p-detail__item-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #c8c838;
  text-align: justify;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .p-detail__item-desc {
    font-size: 15px;
  }
}

/* -----------------------------------------------
   CTAエリア
----------------------------------------------- */
.p-detail__cta {
  width: 100%;
  margin-top: 80px;
  text-align: center;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-detail__cta {
    margin-top: 120px;
    position: relative;
    top: -450px;
  }
}

.p-detail__cta-title {
  font-size: clamp(20px, 3vw, 28px);
  color: #c8c838;
  font-weight: 700;
}

.p-detail__cta-text {
  font-size: clamp(13px, 2vw, 15px);
  color: #c8c838;
  margin-top: 15px;
  font-weight: 500;
}

.p-detail__cta-btn {
  margin-top: 30px;
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(90deg, #ebc098 0%, #ea96aa 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 60px;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.p-detail__cta-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 167, 181, 0.6);
}
.p-detail__cta-btn:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

.p-detail__cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ユーティリティ */
.u-hidden-sm {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-hidden-sm {
    display: inline;
  }
}

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

@media screen and (min-width: 768px) {
  .p-detail__item--pos3 {
    margin-top: 100px;
  }
}
@media screen and (min-width: 1000px) {
  .p-detail__item--pos3 {
    margin-top: 30px;
  }
}
@media screen and (min-width: 1440px) {
  .p-detail__item--pos3 {
    margin-top: 0;
  }
}

@media screen and (min-width: 768px) {
  .p-detail__item--pos4 {
    margin-top: 230px;
  }
}
@media screen and (min-width: 1000px) {
  .p-detail__item--pos4 {
    margin-top: 80px;
  }
}
@media screen and (min-width: 1440px) {
  .p-detail__item--pos4 {
    margin-top: 0;
  }
}

.p-detail__item {
  /* .p-detail__item のスタイル... */
  /* 最初の要素だけを指定 */
}
@media screen and (min-width: 768px) {
  .p-detail__item:first-of-type .p-detail__item-body {
    height: 480px;
  }
}
@media screen and (min-width: 1000px) {
  .p-detail__item:first-of-type .p-detail__item-body {
    height: 500px;
  }
}

.p-facility {
  padding-bottom: 3.125rem;
}
@media screen and (min-width: 1000px) {
  .p-facility {
    padding-bottom: 9.375rem;
  }
}

.p-facility__text {
  font-size: clamp(14px, 2vw, 22px);
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-facility__text {
    margin-top: 25px;
  }
}
@media screen and (min-width: 1000px) {
  .p-facility__text {
    margin-top: 30px;
  }
}

.p-feature {
  background-image: linear-gradient(to bottom, #589c88, #1a332e);
  color: #ffffff;
  padding-block: clamp(60px, 8vw, 100px);
  padding-inline: clamp(20px, 4vw, 40px);
}

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

.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(14px, 1.5vw, 16px);
  line-height: 1.75;
  text-align: center; /* テキストを中央揃え */
  max-width: 700px; /* 横に広がりすぎないように制限 */
  width: 100%;
}

.p-feature__list {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 8vw, 100px);
  margin-top: clamp(40px, 6vw, 80px);
}

.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: center;
    gap: 60px;
    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;
  }
}

.p-feature__image-wrapper {
  width: 100%;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-feature__image-wrapper {
    width: 40%;
    aspect-ratio: auto;
  }
}

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

.p-feature__content {
  width: 100%;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .p-feature__content {
    width: 50%;
  }
}

.p-feature__number {
  display: block;
  font-size: clamp(18px, 2vw, 22px);
  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, 20px);
  line-height: 1.6;
  font-weight: 700;
  margin-top: 15px;
}

.p-feature__text {
  margin: 0;
  font-size: clamp(13px, 1.4vw, 14px);
  line-height: 1.7142857143;
  opacity: 0.9;
  text-align: justify;
  margin-top: 25px;
}

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

.p-feature__footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(60px, 8vw, 100px);
}

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

.p-feature__button::after {
  background-color: #122543; /* ホバー時はブランドカラーの紺色へ */
  opacity: 0.9;
}

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

.p-greeting {
  width: 100%;
  padding-block: 60px;
}
@media screen and (min-width: 768px) {
  .p-greeting {
    padding-block: 100px;
  }
}

.p-greeting__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-greeting__box {
    flex-direction: row;
    justify-content: center;
    align-items: center; /* PCでは垂直方向中央揃え */
    gap: 60px; /* 画像とテキストの間隔 */
  }
}

.p-greeting__figure {
  width: 100%;
  max-width: 270px; /* スマホでの画像の最大幅 */
  margin: 0;
}
@media screen and (min-width: 768px) {
  .p-greeting__figure {
    max-width: 360px; /* PCでの画像の幅 */
    flex-shrink: 0;
  }
}

.p-greeting__figure img {
  width: 100%;
  height: auto;
  border-radius: 20px; /* 角丸 */
}
@media screen and (min-width: 768px) {
  .p-greeting__figure img {
    border-radius: 30px;
  }
}

.p-greeting__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; /* スマホは中央揃え */
}
@media screen and (min-width: 768px) {
  .p-greeting__body {
    align-items: flex-start; /* PCは左揃え */
    flex-grow: 1;
  }
}

.p-greeting__header {
  display: flex;
  align-items: baseline;
  gap: 15px;
  line-height: 1;
}

.p-greeting__name {
  font-size: clamp(26px, 2.8vw, 30px);
  font-weight: 700;
  color: #e694a6;
  margin: 0;
}

.p-greeting__position {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
}

.p-greeting__text {
  margin-top: 40px;
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 2;
  font-weight: 500;
  text-align: left; /* テキスト自体は左揃え */
  width: 100%;
}

.p-greeting__sns {
  margin-top: 30px;
  width: 100%;
  display: flex;
  justify-content: center; /* スマホはアイコン中央 */
}
@media screen and (min-width: 768px) {
  .p-greeting__sns {
    justify-content: flex-start; /* PCはアイコン左 */
  }
}

.p-greeting__link {
  display: block;
  width: 40px; /* アイコンサイズを少し大きめに調整 */
  transition: opacity 0.3s;
}

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

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

.l-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  background-color: transparent;
  padding-inline: clamp(20px, 4vw, 60px);
}

@media screen and (min-width: 768px) {
  .l-header {
    height: 80px;
  }
}
.l-header__inner {
  max-width: 1380px;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .l-header__inner {
    margin-top: 10px;
  }
}

/* Logo */
.l-header__logo {
  margin: 0;
  padding: 0;
  height: 34px;
  display: flex;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .l-header__logo {
    height: 34px;
  }
}
.l-header__logo-link {
  display: block;
  height: 100%;
  transition: opacity 0.3s;
}

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

/* Navigation (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;
}

/* Link Style */
.l-header__link {
  text-decoration: none;
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  padding-block: 5px;
  transition: opacity 0.3s;
}

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

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

/* Contact Button */
.l-header__button {
  text-decoration: none;
  color: #ffffff;
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 1.6;
  font-weight: 500;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.05em;
  background-color: #1e503e;
  border-radius: 3px;
  padding-block: 12px;
  padding-inline: 32px;
  margin-left: 10px;
  transition: background-color 0.3s, opacity 0.3s;
}

.l-header__button:hover {
  background-color: #26634d;
  opacity: 1;
}

/* Hamburger (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: 1px;
  background-color: #4a4a4a;
  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: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);
}

/* Drawer (SP) */
.l-header__drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(251, 251, 201, 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: 24px;
  line-height: 1.5;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.1em;
}

/* ====================================
   会社情報セクション
   ==================================== */
.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 #efb3a2;
  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: #efb3a2;
  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;
}

/* ===============================================
   Intro Section
   =============================================== */
.p-intro {
  width: 100%;
  position: relative;
  z-index: 0;
  /* ▼ 下地と下側画像 */
  background-color: #ffffff;
  background-image: url("../images/bg_img1.webp");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 50%;
  padding-block: 60px;
  /* ▼▼▼ 上半分のピンク背景色 (::before) ▼▼▼ */
  /* ▼▼▼ 上半分の模様画像 (::after) ▼▼▼ */
}
@media screen and (min-width: 768px) {
  .p-intro {
    padding-block: 120px;
  }
}
.p-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%; /* 上半分（スマホ） */
  z-index: -2; /* 一番後ろ */
  background-color: #ffeff2; /* ピンク色 */
  box-shadow: 0 0 20px 8px rgba(0, 0, 0, 0.02); /* 影 */
}
@media screen and (min-width: 768px) {
  .p-intro::before {
    height: 50%; /* 上半分（PC） */
  }
}
.p-intro::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* ★ここを修正: ピンク背景と同じ高さにします */
  height: 70%;
  z-index: 0;
  pointer-events: none;
  /* ★ ここで模様の色（白）を指定 */
  background-color: #ffffff;
  /* 画像を「型」として使い、上の白色を流し込みます */
  -webkit-mask-image: url("../images/bg_img2.webp");
  mask-image: url("../images/bg_img2.webp");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
  /* 濃さの調整 */
  opacity: 1;
  /* ★ここを修正: PC時は50%の高さにします */
}
@media screen and (min-width: 768px) {
  .p-intro::after {
    height: 50%;
  }
}

/* --- コンテンツの中身（スタイル維持） --- */
.p-intro__inner {
  width: 100%;
  padding-inline: 20px;
  margin-inline: auto;
  /* z-indexの調整で前面に来るようにする */
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-intro__inner {
    max-width: 1100px;
    padding-inline: 40px;
  }
}

/* ... (以下のタイトルや画像のスタイルはそのまま変更なし) ... */
.p-intro__title {
  text-align: center;
  line-height: 1.4;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-intro__title {
    padding-bottom: 30px;
  }
}

@media screen and (min-width: 768px) {
  .p-intro__title::after {
    content: "";
    display: block;
    width: 600px;
    height: 1px;
    background-color: #e6b2ba;
    margin-top: 20px;
    margin-inline: auto;
  }
}
.p-intro__title-en {
  font-family: "Lato", "Helvetica Neue", "Arial", sans-serif;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.4285714286;
  font-weight: 700;
  color: #e694a6;
  letter-spacing: 0.05em;
}

.p-intro__title-particle {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
  color: #ea96aa;
}

.p-intro__title-jp {
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 500;
  color: #ea96aa;
}
@media screen and (min-width: 768px) {
  .p-intro__title-jp {
    font-size: clamp(20px, 3vw, 28px);
  }
}

.p-intro__desc {
  margin-top: 30px;
  text-align: center;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 2;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #e694a6;
}
@media screen and (min-width: 768px) {
  .p-intro__desc {
    margin-top: 40px;
  }
}

.p-intro__image-area {
  margin-top: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .p-intro__image-area {
    margin-top: 60px;
  }
}
@media screen and (min-width: 1000px) {
  .p-intro__image-area {
    margin-top: 100px;
  }
}

.p-intro__img {
  width: 100%;
  height: auto;
  aspect-ratio: 335/220;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
}
@media screen and (min-width: 768px) {
  .p-intro__img {
    aspect-ratio: 800/400;
    border-radius: 30px;
  }
}

.p-lead {
  position: relative;
  width: 100%;
  padding-block: 60px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-lead {
    padding-block: 80px;
  }
}
@media screen and (min-width: 1000px) {
  .p-lead {
    padding-block: 120px;
  }
}

.p-lead::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* コンテンツより後ろ */
  pointer-events: none;
  /* ★ 模様の色を「白」に指定 */
  background-color: #d3d3d3;
  /* 画像を「型（マスク）」として使い、白色を反映させます */
  -webkit-mask-image: url("../images/bg_img2.webp");
  mask-image: url("../images/bg_img2.webp");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: top center;
  mask-position: top center;
  -webkit-mask-size: cover;
  mask-size: cover;
  /* 濃さの調整 */
  opacity: 0.3;
}

.p-lead__title {
  font-weight: 700;
  font-size: clamp(16px, 2.4vw, 30px);
  line-height: 2.5;
  text-align: center;
  color: #e694a6;
}

.p-lead__text {
  font-weight: 500;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 2;
  text-align: center;
  color: #e694a6;
  margin-top: 28px;
}
@media screen and (min-width: 768px) {
  .p-lead__text {
    margin-top: 48px;
    line-height: 2.2222222222;
  }
}

/* ローディング画面全体 */
.p-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
}
.p-loader.is-hidden {
  pointer-events: none;
}

/* コンテンツラッパー */
.p-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* ロゴエリア */
.p-loader__logo-svg {
  width: 180px;
  height: auto;
  overflow: visible;
}
@media screen and (min-width: 768px) {
  .p-loader__logo-svg {
    width: 240px;
  }
}
.p-loader__logo-svg svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}

/* テキストエリア */
.p-loader__text {
  font-family: "Jost", "Futura", "Century Gothic", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #333;
  opacity: 0;
}
@media screen and (min-width: 768px) {
  .p-loader__text {
    font-size: 20px;
  }
}

/* スクロール固定用 */
body.is-fixed {
  overflow: hidden;
  height: 100vh;
}

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

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

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

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

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

.p-member__item {
  width: 100%;
}

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

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

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

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

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

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

/* --- セクション全体 --- */
.p-message {
  position: relative;
  width: 100%;
  padding-block: 64px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
@media screen and (min-width: 1000px) {
  .p-message {
    padding-block: 132px 96px;
  }
}

/* --- 背景の巨大文字 --- */
.p-message__bg-text {
  position: absolute;
  top: 3%;
  left: 65%;
  transform: translateX(-50%);
  z-index: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(72px, 11vw, 152px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  color: rgba(223, 232, 234, 0.3);
}
@media screen and (min-width: 768px) {
  .p-message__bg-text {
    /* PC：右上に配置 */
    top: 2%;
    left: auto;
    right: 1%;
    transform: none;
  }
}

/* --- インナー幅制限 --- */
.p-message__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-inline: 35px;
}
@media screen and (min-width: 768px) {
  .p-message__inner {
    margin-inline: auto;
    max-width: 800px;
  }
}
@media screen and (min-width: 1000px) {
  .p-message__inner {
    max-width: 980px;
  }
}

/* --- レイアウトボックス（Grid/Flex制御） --- */
.p-message__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .p-message__box {
    display: grid;
    /* 左:画像(320px固定) / 右:残りすべて */
    grid-template-columns: 320px 1fr;
    grid-template-rows: auto auto; /* テキスト行、ボタン行 */
    /* グリッドエリア定義 */
    grid-template-areas: "img text" "img btn";
    gap: 0px;
    align-items: center; /* 垂直中央揃え */
  }
}
@media screen and (min-width: 1000px) {
  .p-message__box {
    grid-template-columns: 400px 1fr;
    gap: 0 80px; /* 横の隙間60px */
  }
}

/* --- 画像エリア --- */
.p-message__img-area {
  width: 100%;
  padding-inline: 25px;
  max-width: 350px;
  /* スマホの並び順制御：テキスト(1) -> 画像(2) -> ボタン(3) */
  order: 2;
}
@media screen and (min-width: 768px) {
  .p-message__img-area {
    grid-area: img;
    order: unset; /* PCはGridエリアで制御 */
    padding-inline: 0px;
  }
}
@media screen and (min-width: 1000px) {
  .p-message__img-area {
    max-width: none;
  }
}

.p-message__figure {
  width: 100%;
  aspect-ratio: 1/1.1; /* 少し縦長の比率 */
  position: relative;
}

.p-message__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 9999px;
}

/* --- テキストエリア --- */
.p-message__text-area {
  text-align: center;
  width: 100%;
  max-width: 330px;
  /* スマホの並び順：一番上 */
  order: 1;
}
@media screen and (min-width: 768px) {
  .p-message__text-area {
    grid-area: text;
    text-align: center;
    align-self: end;
    padding-bottom: 20px;
    max-width: none;
  }
}

/* タイトル (Message from the CEO) */
.p-message__title {
  display: inline-block;
  font-family: "Lato", "Helvetica Neue", "Arial", sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.05em;
  /* 上下の線 */
  padding-block: 15px;
  border-top: 0.5px solid #4a4a4a;
  border-bottom: 0.5px solid #4a4a4a;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-message__title {
    width: auto; /* PCは文字幅に合わせるか、適度な幅 */
    min-width: 360px;
    padding-block: 20px;
  }
}

/* サブタイトル (代表挨拶) */
.p-message__subtitle {
  margin-top: 40px;
  font-size: 24px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #eba3b3; /* ピンク色 */
}
@media screen and (min-width: 768px) {
  .p-message__subtitle {
    margin-top: 56px;
  }
}

/* 本文 */
.p-message__desc {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .p-message__desc {
    margin-top: 56px;
  }
}

.p-message__text {
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 2; /* ゆったりとした行間 */
  font-weight: 400;
  color: #333;
}

/* --- ボタンエリア --- */
.p-message__btn-area {
  width: 100%;
  text-align: center;
  /* スマホの並び順：一番下 */
  order: 3;
}
@media screen and (min-width: 768px) {
  .p-message__btn-area {
    grid-area: btn;
    align-self: start; /* 上揃え気味 */
    margin-top: 30px;
  }
}

.p-message__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 200px;
  height: 54px;
  border-radius: 9999px;
  /* グラデーションボタン */
  border-radius: 30px;
  background: linear-gradient(90deg, #f2c193 0%, #eba3b3 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.p-message__btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 167, 181, 0.6);
}
.p-message__btn:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

.p-message__btn-icon {
  width: 10px;
  display: flex;
  align-items: center;
}
.p-message__btn-icon img {
  width: 100%;
  height: auto;
}

/* ===============================================
   Motto Section
   =============================================== */
.p-motto {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-block: 60px;
  /* ベースの背景色（薄い黄色） */
  background-color: #fafac8;
  /* 下のピンク色の線 */
  border-bottom: 1px solid #ea96aa;
  /* ▼▼▼ 背景画像（模様）の設定 ▼▼▼ */
}
@media screen and (min-width: 768px) {
  .p-motto {
    padding-block: 140px;
  }
}
.p-motto::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* ★ ここを白に変更しました */
  background-color: #ffffff;
  /* 画像を「型」として使い、上の白色を流し込みます */
  -webkit-mask-image: url("../images/bg_img2.webp");
  mask-image: url("../images/bg_img2.webp");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
  /* 濃さの調整（白は薄く見えやすいので、必要なら数値を上げてください） */
  opacity: 1;
}

/* --- 背景テキスト (Motto) --- */
.p-motto__bg-text {
  position: absolute;
  top: 0;
  right: 0%;
  font-size: clamp(72px, 11vw, 152px);
  color: #fff;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  .p-motto__bg-text {
    top: 20px;
    right: 0;
  }
}

.p-motto__inner {
  width: 100%;
  padding-inline: 10px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .p-motto__inner {
    max-width: 1000px;
    padding-inline: 40px;
  }
}

.p-motto__title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.p-motto__content {
  width: 100%;
  text-align: center;
}

.p-motto__text {
  font-size: clamp(18px, 1.9vw, 20px);
  font-weight: 500;
  margin-top: 20px;
  line-height: 2;
  letter-spacing: 0.05em;
  word-break: break-all;
}
@media screen and (min-width: 1000px) {
  .p-motto__text {
    margin-top: 48px;
    line-height: 2.2222222222;
  }
}

.p-mv {
  width: 100%;
  height: 100vh; /* 画面いっぱいの高さにする */
  min-height: 600px; /* スマホなどで要素が少なすぎた時の保険 */
  position: relative;
  /* 背景画像の設定 */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* テキストエリア（変更なし・z-index不要） */
.p-mv__text-body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding-inline: 20px;
}

.p-mv__title {
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.5833333333;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.p-mv__title-accent {
  font-size: 1.1em;
  font-weight: normal;
  color: #f5a6a6;
}

.p-mv__lead {
  margin-top: 15px;
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.6;
  letter-spacing: 0.15em;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .p-mv__lead {
    margin-top: 10px;
  }
}

/* スクロールパーツ（位置調整のみ） */
.p-mv__scroll {
  /* ▼ 追加: スマホでは消す */
  display: none;
  position: absolute;
  bottom: 100px;
  left: 3%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  /* ▼ 変更: md(768px)以上で表示させる */
}
@media screen and (min-width: 768px) {
  .p-mv__scroll {
    display: flex; /* ここで復活させる */
    bottom: 30px;
  }
}
.p-mv__scroll .p-mv__scroll-text {
  font-size: 10px;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  color: #4a4a4a;
}
.p-mv__scroll .p-mv__scroll-line {
  width: 1px;
  height: 100px;
  background-color: #ccc;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-mv__scroll .p-mv__scroll-line {
    height: 100px;
  }
}
@media screen and (min-width: 1000px) {
  .p-mv__scroll .p-mv__scroll-line {
    height: 114px;
  }
}
.p-mv__scroll .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;
  }
}

.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: #efb3a2; /* テキストの色 */
  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;
}

.p-service {
  position: relative;
  width: 100%;
  padding-block: clamp(80px, 10vw, 120px);
  background-color: #edfafc;
  overflow: hidden;
}

.p-service__bg-text {
  position: absolute;
  top: 2%;
  left: 60%;
  color: rgba(255, 255, 255, 0.5);
  transform: translateX(-50%);
  z-index: 0;
  font-size: clamp(72px, 11vw, 152px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  .p-service__bg-text {
    top: 16%;
    transform: translate(-50%, -50%);
    right: 30%;
  }
}

.p-service__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-service__inner {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    max-width: 1120px;
    margin-inline: auto;
  }
}

.p-service__content {
  width: 100%;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-service__content {
    width: 40%;
  }
}

.p-service__title {
  display: inline-block;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 300;
  line-height: 1.5;
  padding-block: 15px;
  border-top: 0.5px solid #4a4a4a;
  border-bottom: 0.5px solid #4a4a4a;
  width: clamp(200px, 60vw, 360px);
}

.p-service__lead {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.5555555556;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .p-service__lead {
    margin-top: 40px;
  }
}

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

.p-service__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  gap: 10px;
  width: 240px;
  height: 56px;
  border-radius: 30px;
  background: linear-gradient(90deg, #f2c193 0%, #eba3b3 100%);
  font-size: 16px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.p-service__btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 167, 181, 0.6);
}
.p-service__btn:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

.p-service__img {
  width: 100%;
  margin: 80px auto 0;
  max-width: 350px;
}
@media screen and (min-width: 768px) {
  .p-service__img {
    margin-top: 0;
    width: 75%;
    max-width: none;
  }
}

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

.p-service__btn-arrow {
  display: flex; /* 画像の上下余白ズレを防ぐ */
  align-items: center;
  width: 12px; /* 矢印のサイズに合わせて調整してください */
  height: auto;
  /* 画像自体の設定 */
}
.p-service__btn-arrow img {
  width: 100%;
  height: auto;
  display: block;
}

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

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

/* ====================================
   Values (Service) セクション - 完成版
   ==================================== */
.p-values {
  position: relative;
  width: 100%;
  padding-block: 80px;
  background: #fbfbc9;
}
@media screen and (min-width: 768px) {
  .p-values {
    padding-block: 100px;
  }
}

.p-values__inner {
  padding-inline: 15px;
}

.p-values__bg-text {
  position: absolute;
  top: 20px;
  left: 0%;
  font-size: clamp(60px, 11vw, 132px);
  color: #fff;
  white-space: nowrap;
  z-index: 0;
  line-height: 1;
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  .p-values__bg-text {
    top: 30px;
  }
}
@media screen and (min-width: 1000px) {
  .p-values__bg-text {
    right: 0% !important;
    left: auto;
  }
}

.p-values__title {
  position: relative;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 60px;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-values__title {
    margin-bottom: 80px;
  }
}

/* リスト全体 */
.p-values__list {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 1;
  padding-bottom: 100px;
}
@media screen and (min-width: 768px) {
  .p-values__list {
    max-width: 800px;
    gap: 60px;
  }
}
@media screen and (min-width: 1000px) {
  .p-values__list {
    max-width: 1100px;
  }
}

/* カード本体 */
.p-values__item {
  width: 100%;
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid #eee;
  overflow: hidden;
  position: sticky;
  /* ★カード全体をFlexコンテナ化（中身の高さを制御するため） */
  display: flex;
  flex-direction: column;
  /* カードの高さ設定 */
  height: 90vh; /* スマホ */
  /* ▼ 最後の要素だけ別のスタイルを当てる記述（画像の出し分けなど） */
}
@media screen and (min-width: 768px) {
  .p-values__item {
    height: 70vh; /* タブレット以上 */
  }
}
.p-values__item:last-child .p-values__figure {
  display: block !important;
  max-width: 270px;
  margin: 0 auto;
  margin-top: 5px;
}
@media screen and (min-width: 768px) {
  .p-values__item:last-child .p-values__figure {
    display: none !important;
  }
}
@media screen and (min-width: 1000px) {
  .p-values__item:last-child .p-values__figure {
    display: block !important;
  }
}

/* 画像エリアの設定 */
.p-values__figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  display: none;
}
@media screen and (min-width: 600px) {
  .p-values__figure {
    display: block !important;
    max-width: 270px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) {
  .p-values__figure {
    display: none !important;
  }
}
@media screen and (min-width: 1000px) {
  .p-values__figure {
    display: block !important;
    width: 45%;
    aspect-ratio: 4/3;
  }
}
.p-values__figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* --- スタッキング位置（重なりの調整） --- */
/* スマホ */
.p-values__list > .p-values__item:nth-child(1) {
  top: 40px;
}

.p-values__list > .p-values__item:nth-child(2) {
  top: 80px;
}

.p-values__list > .p-values__item:nth-child(3) {
  top: 120px;
}

.p-values__list > .p-values__item:nth-child(4) {
  top: 160px;
}

/* タブレット以上 */
@media screen and (min-width: 768px) {
  .p-values__list > .p-values__item:nth-child(1) {
    top: 100px;
  }
  .p-values__list > .p-values__item:nth-child(2) {
    top: 140px;
  }
  .p-values__list > .p-values__item:nth-child(3) {
    top: 180px;
  }
  .p-values__list > .p-values__item:nth-child(4) {
    top: 220px;
  }
}
/* --- カード内部のデザイン --- */
.p-values__item-header {
  padding-block: 15px;
  padding-inline: 20px;
  border-bottom: 1px solid #f0f0f0;
  /* ヘッダーの高さは固定せず成り行き */
  flex-shrink: 0;
}
@media screen and (min-width: 768px) {
  .p-values__item-header {
    padding-block: 25px;
    padding-inline: 40px;
  }
}

.p-values__number {
  color: #c8c838;
  font-weight: 700;
  font-size: clamp(16px, 1.7vw, 18px);
  letter-spacing: 0.05em;
}

.p-values__item-body {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
  /* ★ここが重要：ヘッダー以外の残りの高さを全て埋める */
  /* これにより、エリアが広がり、下の align-items: center が効いて上下中央になります */
  flex: 1;
  /* lg以上でのみ横並び ＆ 上下中央揃え */
}
@media screen and (min-width: 768px) {
  .p-values__item-body {
    padding: 20px 40px;
  }
}
@media screen and (min-width: 1000px) {
  .p-values__item-body {
    flex-direction: row;
    align-items: center; /* ★上下中央揃え */
    justify-content: space-between;
    padding: 20px 40px;
    gap: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .p-values__item-body {
    padding-inline: 40px;
    gap: 60px;
  }
}

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

.p-values__label {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 20px);
}

.p-values__heading {
  color: #c8c838;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin-top: 15px;
}
@media screen and (min-width: 768px) {
  .p-values__heading {
    margin-top: 15px;
  }
}
@media screen and (min-width: 1440px) {
  .p-values__heading {
    font-size: 24px;
    margin-top: 20px;
  }
}

.p-values__desc {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2;
  text-align: justify;
  margin-top: 15px;
}
@media screen and (min-width: 768px) {
  .p-values__desc {
    margin-top: 15px;
  }
}
@media screen and (min-width: 1000px) {
  .p-values__desc {
    margin-top: 10px;
  }
}
@media screen and (min-width: 1440px) {
  .p-values__desc {
    margin-top: 10px;
  }
}

/* ====================================
   詳細ページ用ヘッダー
   ==================================== */
.p-detail-header {
  width: 100%;
  padding-block: 100px 80px;
}
@media screen and (min-width: 768px) {
  .p-detail-header {
    padding-block: 100px;
  }
}
@media screen and (min-width: 1000px) {
  .p-detail-header {
    padding-block: 160px 100px;
  }
}

.p-detail-header__inner {
  width: 100%;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-detail-header__inner {
    max-width: 1000px; /* 下のコンテンツ幅と合わせる */
    margin-inline: auto;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .p-detail-header__inner {
    max-width: 1200px; /* 下のコンテンツ幅と合わせる */
  }
}

.p-detail-header__title {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 50px;
  color: #eea7b5;
  line-height: 1;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .p-detail-header__title {
    font-size: 60px;
  }
}

.p-detail-header__sub {
  color: #eea7b5;
  font-size: 13px;
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .p-detail-header__sub {
    font-size: 14px;
  }
}

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

.p-workDetail__inner {
  width: 100%;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .p-workDetail__inner {
    max-width: 1000px; /* カンプのバランスに合わせて調整 */
    margin-inline: auto;
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1000px) {
  .p-workDetail__inner {
    padding-inline: 0px;
  }
}

/* ====================================
   詳細ページ：メインレイアウト
   ==================================== */
/* 1. メインビジュアル（上部） */
.p-workDetail__visual {
  width: 100%;
  /* ▼ 変更点1：幅の制限はそのまま */
  max-width: 400px;
  margin: 0 auto 60px;
  /* ▼ 変更点2：アスペクト比を固定し、はみ出しを隠す設定を追加 */
  aspect-ratio: 3/2; /* ★ここでお好みの比率（4/3, 16/9など）に変更できます */
  overflow: hidden;
  border-radius: 16px; /* 角丸を親要素につける */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative; /* object-fitのための基準点 */
}
.p-workDetail__visual img {
  width: 100%;
  height: 100%; /* ▼ 変更点3：親要素の高さ一杯に広げる */
  /* ▼ 変更点4：枠に合わせてトリミングする重要な設定 */
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center; /* 画像の中心を表示 */
  display: block;
  /* border-radius, box-shadow は親要素に移したので削除 */
}
@media screen and (min-width: 768px) {
  .p-workDetail__visual {
    max-width: 600px;
    margin-bottom: 100px;
  }
}
@media screen and (min-width: 1000px) {
  .p-workDetail__visual {
    max-width: 900px;
    margin-bottom: 140px;
  }
}

/* 2. コンテンツエリア（下部・2カラム） */
.p-workDetail__content {
  display: flex;
  flex-direction: column; /* スマホは縦並び */
  gap: 50px;
  max-width: 500px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .p-workDetail__content {
    flex-direction: row; /* PCは横並び */
    justify-content: space-between; /* 左右に配置 */
    align-items: flex-start;
    gap: 80px; /* 左右のカラム間隔 */
    max-width: 750px;
  }
}

/* --- 左側：メインテキスト --- */
.p-workDetail__main-text {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-workDetail__main-text {
    width: 60%; /* 左側を広めに */
  }
}

/* ピンクの線 */
.p-workDetail__line {
  display: block;
  width: 30%;
  height: 4px;
  background: linear-gradient(90deg, #eea7b5 0%, #eea7b5 70%, #fdeef1 70%, #fdeef1 100%);
}
@media screen and (min-width: 1000px) {
  .p-workDetail__line {
    width: 50%;
  }
}

/* 見出し */
.p-workDetail__heading {
  font-size: clamp(16px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-top: 20px;
}
@media screen and (min-width: 768px) {
  .p-workDetail__heading {
    font-size: 24px;
  }
}

/* 説明文 */
.p-workDetail__desc {
  font-size: 14px;
  line-height: 2;
  text-align: justify;
  margin-top: 25px;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .p-workDetail__desc {
    font-size: 18px;
  }
}

/* --- 右側：スペック表 --- */
.p-workDetail__specs {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-workDetail__specs {
    width: 35%; /* 右側は少し狭く */
    padding-top: 10px; /* 左の見出し位置とバランス調整 */
  }
}

.p-workDetail__spec-row {
  margin-bottom: 20px;
  /* 項目名 */
  /* 内容 */
}
.p-workDetail__spec-row dt {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  line-height: 2;
}
.p-workDetail__spec-row dd {
  font-size: 14px;
  margin-left: 0;
  margin-top: 10px;
  line-height: 2;
  font-weight: 500;
}

/* 3. 戻るボタン */
.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-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  /* グラデーション背景 */
  background: linear-gradient(90deg, #eeb0bb 0%, #eea7b5 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding-block: 16px;
  padding-inline: 60px;
  border-radius: 50px;
  transition: all 0.3s;
  letter-spacing: 0.05em;
  /* 矢印アイコン（右側） */
}
.p-workDetail__back::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 10px;
  margin-top: -1px;
  transition: transform 0.3s;
}
.p-workDetail__back:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 167, 181, 0.6);
}
.p-workDetail__back:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

/* リンク専用スタイル */
.p-workDetail__link {
  color: #eea7b5; /* テーマカラーのピンク（リンクだと分かる色） */
  text-decoration: underline; /* 下線をつけてリンクであることを強調 */
  transition: opacity 0.3s; /* ふんわり変化させる */
  word-break: break-all; /* URLが長すぎてはみ出るのを防ぐ */
  /* ホバー時の挙動 */
}
.p-workDetail__link:hover {
  opacity: 0.6; /* 少し薄くする */
  text-decoration: none; /* ホバー時は下線を消す（動きをつける） */
}

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

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

.u-hidden {
  display: none;
}
@media screen and (min-width: 1000px) {
  .u-hidden {
    display: block;
  }
}
/*# sourceMappingURL=style.css.map */
