/* =========================================================
   Components
   再利用するUI部品（ボタン・カード・バッジ・見出し・ナビなど）
   ========================================================= */

/* =========================================================
   c-breadcrumb
   固定ページ（親子階層）用：パンくず（見た目のみ）
   ========================================================= */

.c-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .8rem;

  font-size: 1.4rem;
  line-height: 1.4;
  padding: 1.5rem;
  margin: 2rem auto;
  position: relative;
	max-width: 110rem
}
.c-breadcrumb::before {
  background-color: #F2F7F8;
  width: 100vw;
  height: 100%;
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.c-breadcrumb__sep {
  opacity: .6;
}

.c-breadcrumb__link {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.c-breadcrumb__current {
  font-weight: 700;
}

/* ---------------------------------------------------------
   Buttons (generic)
--------------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;

  min-height: 4.4rem;
  padding: 0.9em 1.2em;

  border: 0.1rem solid var(--border);
  border-radius: 1rem;

  background: var(--bg);
  color: var(--text);

  text-decoration: none;
  line-height: 1.2;

  cursor: pointer;
  user-select: none;
}

.c-btn:hover { text-decoration: none; }

.c-btn:disabled,
.c-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.c-btn--sm { min-height: 3.6rem; padding: 0.7em 1em; }
.c-btn--lg { min-height: 5.2rem; padding: 1em 1.4em; }


/* ---------------------------------------------------------
   Card / Panel (generic)
--------------------------------------------------------- */
.c-card {
  border: 0.1rem solid var(--border);
  border-radius: 1.6rem;
  background: var(--bg);
  padding: 2.4rem;
}

.c-card__title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.4;
}

.c-card__meta {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1.4rem;
}


/* ---------------------------------------------------------
   Card (media + body)  ★下層で使い回す汎用カード型
   - 影つき
   - 上：画像（高さ固定）
   - 下：白背景ボディ（余白はバリエーション）
--------------------------------------------------------- */
.c-cardMedia {
  background: #fff;
  box-shadow: 0 1.2rem 2.8rem rgba(0, 0, 0, 0.12);
}

.c-cardMedia__media {
  position: relative;
  height: var(--c-cardMedia-h, 18rem);
}

.c-cardMedia__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-cardMedia__body {
  background: #fff;
  padding: var(--c-cardMedia-pad, 3rem 1rem);
}

/* パディング・プリセット（必要なときだけHTMLに付与して使う） */
.c-cardMedia--padY30X10 { --c-cardMedia-pad: 3rem 1rem; }              /* 上下30 左右10 */
.c-cardMedia--padB30X10 { --c-cardMedia-pad: 0 1rem 3rem; }            /* 下30 左右10（上なし） */
.c-cardMedia--padAll15  { --c-cardMedia-pad: 1.5rem; }                 /* 上下左右15 */

/* 画像高さプリセット */
.c-cardMedia--h180 { --c-cardMedia-h: 18rem; }  /* 180px */
.c-cardMedia--h250 { --c-cardMedia-h: 25rem; }  /* 250px */


/* STEPラベル（data-step を使う） */
.c-cardMedia__media[data-step]::before {
  content: "STEP\A" attr(data-step);
  white-space: pre;

  position: absolute;
  top: 0;
  left: 0;

  width: 8rem;  /* 80px */
  height: 8rem; /* 80px */

  background: #0E7E60;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
  text-align: center;

  line-height: 1.1;
  font-size: 2.2rem;

  padding-top: 0.2rem;
}


/* ---------------------------------------------------------
   Badge / Tag (generic)
--------------------------------------------------------- */
.c-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  padding: 0.35em 0.7em;
  border: 0.1rem solid var(--border);
  border-radius: 9999px;

  font-size: 1.2rem;
  line-height: 1;

  color: var(--text);
  background: var(--bg);
}


/* ---------------------------------------------------------
   Title block (section heading helper)
--------------------------------------------------------- */
.c-title {
  display: grid;
  gap: 0.8rem;
}

.c-title__eyebrow {
  color: var(--muted);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.c-title__main {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.3;
}

.c-title__sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1.7;
}


/* ---------------------------------------------------------
   Divider (generic)
--------------------------------------------------------- */
.c-divider {
  border: 0;
  border-top: 0.1rem solid var(--border);
  margin: 3.2rem 0;
}


/* ---------------------------------------------------------
   Breadcrumb (generic)
--------------------------------------------------------- */
.c-breadcrumb {
  font-size: 1.3rem;
  color: var(--muted);
}

.c-breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}


/* ---------------------------------------------------------
   Pagination (generic)
--------------------------------------------------------- */
.c-pagination {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.c-pagination a { text-decoration: none; }

.c-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.8rem;
  height: 3.8rem;

  border: 0.1rem solid var(--border);
  border-radius: 0.8rem;
  padding: 0 1rem;
}

.c-pagination .current { font-weight: 700; }


/* ---------------------------------------------------------
   Form components (generic)
--------------------------------------------------------- */
.c-field { display: grid; gap: 0.8rem; }

.c-label {
  font-size: 1.4rem;
  color: var(--muted);
}

.c-input,
.c-select,
.c-textarea {
  width: 100%;
  border: 0.1rem solid var(--border);
  border-radius: 1rem;
  padding: 0.65em 0.85em;
  background: #fff;
}

.c-help {
  font-size: 1.3rem;
  color: var(--muted);
}


/* ---------------------------------------------------------
   Media object (generic)
--------------------------------------------------------- */
.c-media {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  align-items: start;
}

.c-media__figure { width: 6.4rem; }
.c-media__body { min-width: 0; }



/* =========================================================
   Footer
   （共通フッターなので component 扱い）
   ========================================================= */
.c-footer {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.c-footer__brand {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.c-footer__logo { width: 36rem; }

.c-footer__company {
  font-size: 1.8rem;
  font-weight: 700;
}

.c-footer__address,
.c-footer__tel,
.c-footer__fax {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.c-footerNav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-footerNav__item {
  border-bottom: 0.1rem solid #C9D3D6;
}

.c-footerNav__item a {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1.6rem 0;
  font-size: 1.5rem;
  text-decoration: none;
  color: #222;
  width: 28.5rem;
}

.c-footerNav__item a:hover { opacity: 0.5; }

.c-footerNav__item a::after {
  content: "›";
  font-size: 2rem;
}

.c-footerCopy {
  text-align: center;
  font-size: 1.3rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .c-footer { flex-direction: column; gap: 2rem;}
  .c-footerNav {  }
  .c-footerNav__item a { width: 100%; }
  .c-footerCta {justify-content: left;}
}
@media (max-width: 500px) {
  .c-footerCta {justify-content: center;}
}


/* =========================================================
   Page Top Button（共通UIなので component）
   ========================================================= */
.c-pageTop {
  position: fixed;
  right: 3rem;
  bottom: 3rem;
  z-index: 900;

  width: 5.2rem;
  height: 5.2rem;
  border: 0;
  border-radius: 0.4rem;

  background: #0B7C6B;
  cursor: pointer;

  display: grid;
  place-items: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.c-pageTop.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.c-pageTop:hover,
.c-pageTop:focus-visible {
  filter: brightness(0.95);
}

.c-pageTop__icon {
  width: 1.2rem;
  height: 1.2rem;
  border-left: 0.3rem solid #fff;
  border-top: 0.3rem solid #fff;
  transform: rotate(45deg);
  margin-top: 0.4rem;
}

@media (max-width: 767px) {
  .c-pageTop {
    right: 1.6rem;
    bottom: 1.6rem;
    width: 4.8rem;
    height: 4.8rem;
  }
}


/* =========================================================
   Heading Component（装飾h2用）
   ========================================================= */
.c-heading {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 5rem;
}

.c-heading__bars {
  display: flex;
  gap: 0.4rem;
  align-self: stretch;
}

.c-heading__bar { display: block; height: auto; }

.c-heading__bar--primary   { width: 1.4rem; background: #0E7E60; }
.c-heading__bar--secondary { width: 0.7rem; background: #86C1B1; }

.c-heading__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.c-heading__ja {
  margin: 0;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #222;
}

.c-heading__en {
  font-size: 2rem;
  font-weight: 700;
  color: #0E7E60;
  margin-top: 0.4rem;
}

@media (max-width: 767px) {
  .c-heading { gap: 1.2rem; margin-bottom: 3rem;}
  .c-heading__ja { font-size: 2.4rem; }
  .c-heading__en { font-size: 1.6rem; }
  .c-heading__bar--primary { width: 1rem; }
  .c-heading__bar--secondary { width: 0.5rem; }
}


/* =========================================================
   Primary Button（プロジェクト標準ボタン：あなたの c-btnPrimary）
   ========================================================= */
.c-btnPrimary {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 60rem;

  padding: 3rem;

  background-color: #0E7E60;
  color: #ffffff;

  font-size: 1.8rem;
  font-weight: 700;

  text-decoration: none;
  transition: background-color .3s ease;

  margin-inline: auto;
  margin-top: 8rem;
}

.c-btnPrimary:hover { background-color: #0c6b52; }

.c-btnPrimary__icon {
  position: absolute;
  left: 2rem;
  display: flex;
  align-items: center;
}

.c-btnPrimary__icon img { width: 5.5rem; height: auto; }

.c-btnPrimary__text { text-align: center; }

@media (max-width: 768px) {
  .c-btnPrimary {
    max-width: none;
    padding: 1.8rem 2rem;
    font-size: 1.6rem;
    margin-top: 3rem;
  }

  .c-btnPrimary__icon img { width: 2.8rem; }
}


/* =========================================================
   以下は「ページ固有寄り」だけど、いったんここに残す版
   ※後で 40-blocks.css に移すとさらに綺麗になる
   ========================================================= */


/* ------------------------------
   MV CTA（トップなどで使用）
------------------------------ */
.c-mv__cta {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  width: 40rem;
  padding: 1.5rem 2rem;

  background: #177E5C;
  color: #fff;
  text-decoration: none;

  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;

  transition: opacity .2s ease;
}

.c-mv__cta.yellow-cta__btn {
	background-color:#EDE857;
	color:#00632D;
}

.c-mv__cta:hover { opacity: .9; }

.c-mv__ctaIcon { flex: 0 0 auto; width: 5.6rem; height: 5.6rem; }
.c-mv__ctaIconImg { display: block; width: 100%; height: auto; }
.c-mv__ctaText { white-space: nowrap; }


/* ------------------------------
   CTA Card
------------------------------ */
.c-cta { padding: 6rem 0; }

.c-cta__inner {
  max-width: 110rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.c-ctaCard {
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
}

.c-ctaCard__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/top/cv-bc.jpg");
  background-size: cover;
  background-position: center;
}

.c-ctaCard__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.c-ctaCard__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 8rem 2rem;
}

.c-ctaCard__title {
  margin: 0;
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.c-ctaCard__rule {
  width: 24rem;
  height: 0.2rem;
  background: rgba(255,255,255,0.85);
  margin: 2.4rem auto;
}

.c-ctaCard__text {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.9;
  text-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.25);
}

.c-ctaCard__btn {
  margin: 3.2rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;

  padding: 1.5rem 2rem;
  background-color: #EDE857;
  text-decoration: none;
  color: #00632D;

  backdrop-filter: blur(6px);
}

.c-ctaCard__btn:hover,
.c-ctaCard__btn:focus-visible {
  opacity: 0.6;
}

.c-ctaCard__btnIcon { width: 2.8rem; height: 2.8rem; flex: 0 0 auto; }
.c-ctaCard__btnIconImg { display: block; width: 100%; height: auto; }
.c-ctaCard__btnText {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.c-ctaCard__photos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: nowrap;
}

.c-ctaCard__photo {
  width: 22rem;
  border: 0.2rem solid rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
}

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

@media (max-width: 1023px) {
  .c-ctaCard__content { padding: 6rem 2.4rem 5rem; }
  .c-ctaCard__title { font-size: 3.2rem; }
}

@media (max-width: 767px) {
  .c-cta { padding: 4rem 0; }
  .c-ctaCard { border-radius: 2rem; }
  .c-ctaCard__content { padding: 6rem 1.5rem 5rem; }
  .c-ctaCard__title { font-size: 2.6rem; line-height: 1.3; }
  .c-ctaCard__rule { width: 18rem; }
  .c-ctaCard__text { font-size: 1.6rem; }

  .c-ctaCard__btn {
    width: 100%;
    max-width: 32rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .c-ctaCard__btnIcon {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .c-ctaCard__btnText {
    white-space: normal;
    text-align: center;
    width: 100%;
    margin-left: 1rem;
  }

  .c-ctaCard__photo--hideSpFirst,
  .c-ctaCard__photo--hideSpLast { display: none; }

  .c-ctaCard__photos { gap: 2rem; margin-top: 3.2rem; }

  .c-ctaCard__photo {
    width: 22rem;
    max-width: 42vw;
  }
}


/* ------------------------------
   Service Section + Card Grid
------------------------------ */
.c-serviceSection { background-color: #F2F7F8; }

.c-serviceSection__inner {
  max-width: 110rem;
  margin: 0 auto;
  padding: 10rem 2rem;
}

.c-serviceSection__heading { margin-bottom: 5rem; }

.c-cardGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* 15px */
  justify-content: center;
}

.c-serviceCard {
width: calc((100% - 3rem) / 3);
    min-width: 26rem;
  background: #fff;
  box-shadow: 0 0.8rem 2rem rgba(0,0,0,0.12);
  text-decoration: none;
  color: inherit;
  display: block;
}

.c-serviceCard__media {
  margin: 0;
  height: 18rem;
  overflow: hidden;
}

.c-serviceCard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-serviceCard__body { padding: 3rem 1rem; }

.c-serviceCard__title {
  margin: 0 0 2rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #135531;
  text-decoration: underline;
  text-decoration-color: #135531;
  text-decoration-thickness: 0.1rem;
}

.c-serviceCard__text {
  margin: 0;
  font-size: 1.6rem;
  color: #222;
}

.c-serviceCard:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 1.2rem 2.6rem rgba(0,0,0,0.14);
  transition: transform .2s ease, box-shadow .2s ease;
}

@media (max-width: 1023px) {
  .c-serviceCard { width: calc((100% - 1.5rem) / 2); }
}

@media (max-width: 767px) {
  .c-serviceCard { width: 100%; }
  .c-serviceSection__inner { padding: 4rem 2rem; }
  .c-serviceSection__cta { margin-top: 3rem; }
}


/* ------------------------------
   Carousel（無限カルーセル）
------------------------------ */
.c-carousel {
  overflow: hidden;
  width: 100%;
  background: #f5f5f5;
}

.c-carousel__track {
  display: flex;
  width: max-content;
  animation: carousel-scroll 30s linear infinite;
}

.c-carousel__item {
  flex: 0 0 auto;
  width: 32rem;
  margin-right: 1rem;
}

.c-carousel__item img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  display: block;
  border-radius: 0.4rem;
}

@keyframes carousel-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .c-carousel__item { width: 24rem; }
  .c-carousel__item img { height: 15rem; }
}


/* =========================================================
   Responsive BR control
   br表示制御用ユーティリティ
   ========================================================= */

/* 初期状態：全部非表示 */
.u-only-tab,
.u-only-sp {
  display: none;
}

/* タブレット以下（768px以下）で表示 */
@media (max-width: 768px) {
  .u-only-tab { display: inline; }
}

/* SP以下（500px以下）で表示 */
@media (max-width: 500px) {
  .u-only-sp { display: inline; }
}

/* SPだけ非表示（必要な場合） */
@media (max-width: 500px) {
  .u-hidden-sp { display: none; }
}


/* =========================================================
   More link（一覧を見る系の共通リンク）
   ※重複してた定義を1つに統合
   ========================================================= */
.c-moreLink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2rem; /* テキストと矢印 20px */

  color: #222;
  text-decoration: none;

  padding-bottom: 1rem; /* 下線位置（10px） */
}

.c-moreLink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.1rem;
  background: currentColor;
  opacity: 0.9;
}

.c-moreLink:hover { opacity: 0.75; }

/* アイコン */
.c-moreLink__icon {
  width: 2.5rem; /* 25px */
  height: auto;
  display: block;
}

/* SPだけ矢印を右へ */
@media (max-width: 767px) {
  .c-moreLink {
    width: 100%;
    justify-content: space-between;
  }
}

/* =========================================================
   Contact Page
   ========================================================= */

/* ---- Hero ---- */
.p-contactHero {
  padding-top: clamp(8rem, 7vw, 12rem);
  padding-bottom: clamp(4.5rem, 4vw, 7rem);
  background: #fff;
}

.p-contactHero__inner {
  max-width: 110rem;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.p-contactHero__title {
  margin: 0;
  font-size: clamp(3.4rem, 4vw, 6.0rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #0B6A3A;
}

.p-contactHero__lead {
  margin: 2rem 0 0;
  font-size: clamp(1.6rem, 1.2vw, 2.2rem);
  font-weight: 800;
  color: #0B6A3A;
}

/* ---- Phone ---- */
.p-contactPhone {
  background: #EFEFEF;
  padding: clamp(4.5rem, 4.5vw, 7rem) 0;
}

.p-contactPhone__inner {
  max-width: 110rem;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.p-contactPhone__label {
  margin: 0;
  font-size: clamp(1.6rem, 1.2vw, 2.0rem);
  font-weight: 800;
  color: #222;
}

.p-contactPhone__number {
  margin-top: 2.4rem;
  font-size: clamp(3.2rem, 4vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #0B6A3A;
  line-height: 1.1;
}

/* SP用（telリンク）見た目を整える */
.p-contactPhone__number--sp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 1.2rem;
  padding: 0.8rem 1.2rem;
}

.p-contactPhone__number--sp:focus-visible {
  outline: 0.2rem solid rgba(11, 106, 58, 0.35);
  outline-offset: 0.4rem;
}

.p-contactPhone__note {
  margin: 2.4rem 0 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(0,0,0,0.72);
}

/* ✅ PCはクリック不可、SPはクリック可（表示切替） */
.p-contactPhone__number--pc { display: block; }
.p-contactPhone__number--sp { display: none; }

@media (max-width: 767px) {
  .p-contactPhone__number--pc { display: none; }
  .p-contactPhone__number--sp { display: inline-flex; }
}

/* ---- Form ---- */
.p-contactForm {
  padding: clamp(5rem, 5vw, 8rem) 0;
  background: #fff;
}

.p-contactForm__inner {
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.p-contactForm__head {
  text-align: center;
  margin-bottom: 3.2rem;
}

.p-contactForm__title {
  margin: 0;
  font-size: clamp(2.2rem, 2vw, 3.0rem);
  font-weight: 900;
  color: #222;
  letter-spacing: 0.03em;
}

.p-contactForm__desc {
  margin: 1.2rem 0 0;
  color: rgba(0,0,0,0.72);
  font-weight: 600;
  line-height: 1.8;
}

.p-contactForm__body .smf-form {
  background: #fff;
  border: 0.1rem solid rgba(0,0,0,0.08);
  border-radius: 1.6rem;
  padding: clamp(2rem, 2.2vw, 3.2rem);
  box-shadow: 0 1.8rem 3.6rem rgba(0,0,0,0.06);
}

.p-contactForm__body .smf-item {
  margin-top: 1.8rem;
}

.p-contactForm__body .smf-item__label {
  font-weight: 800;
}

.p-contactForm__body input[type="text"],
.p-contactForm__body input[type="email"],
.p-contactForm__body input[type="tel"],
.p-contactForm__body textarea,
.p-contactForm__body select {
  width: 100%;
  border-radius: 1.2rem !important;
  border: 0.1rem solid rgba(0,0,0,0.14) !important;
  padding: 1.4rem 1.4rem;
  font-size: 1.6rem;
}

.p-contactForm__body textarea {
  min-height: 16rem;
  resize: vertical;
}

.p-contactForm__body input:focus,
.p-contactForm__body textarea:focus,
.p-contactForm__body select:focus {
  outline: 0.2rem solid rgba(11, 106, 58, 0.25);
  outline-offset: 0.2rem;
}

/* 送信ボタン */
.p-contactForm__body .smf-button-control__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 1.2rem;
  padding: 1.6rem 2.4rem;

  background: #0B6A3A;
  color: #fff;

  font-weight: 900;
  font-size: 1.7rem;
  cursor: pointer;
}

.p-contactForm__body .smf-button-control__control:hover,
.p-contactForm__body .smf-button-control__control:focus-visible {
  opacity: 0.9;
}

/* 送信ボタン */
.smf-action {
	text-align:center;
	margin-top:5rem;
}

.smf-action:hover,
.smf-action:focus-visible {
  opacity: 0.9;
}

/* コンタクトフォーム 任意/必須のCSS */
.smf-item__label__text {
    position: relative;
}
.smf-item:has([data-validations~="required"]) .smf-item__label__text::after {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 23px;
  border-radius: 4px;
  content: "必須";
  font-size: 12px;
  color: #fff;
  background: #b22222;
}
.smf-item:not(:has([data-validations~="required"])) .smf-item__label__text::before {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 23px;
  border-radius: 4px;
  content: "任意";
  font-size: 12px;
  color: #fff;
  background: #888;
}



/* =========================================================
   Contact Phone - nicer design
   ========================================================= */

.p-contactPhone {
  background: linear-gradient(180deg, #F4F4F4 0%, #EFEFEF 100%);
  padding: clamp(5rem, 5vw, 8rem) 0;
}

.p-contactPhone__inner {
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* カード化（中身を包んで見せる） */
.p-contactPhone__inner {
  background: rgba(255,255,255,0.82);
  border: 0.1rem solid rgba(0,0,0,0.08);
  border-radius: 2rem;
  padding: clamp(3rem, 3.2vw, 4.6rem);
  box-shadow: 0 2.4rem 5.2rem rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

/* うっすら装飾（丸） */
.p-contactPhone__inner::before,
.p-contactPhone__inner::after {
  content: "";
  position: absolute;
  border-radius: 999rem;
  background: rgba(11, 106, 58, 0.10);
  filter: blur(0.2rem);
  pointer-events: none;
}

.p-contactPhone__inner::before {
  width: 28rem;
  height: 28rem;
  top: -16rem;
  left: -12rem;
}

.p-contactPhone__inner::after {
  width: 22rem;
  height: 22rem;
  bottom: -14rem;
  right: -10rem;
}

/* ラベルを“バッジ”っぽく */
.p-contactPhone__label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;

  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.08em;

  color: #0B6A3A;
  background: rgba(11, 106, 58, 0.08);
  border: 0.1rem solid rgba(11, 106, 58, 0.12);
  padding: 0.8rem 1.2rem;
  border-radius: 999rem;
}

/* 電話番号：タイポを整える */
.p-contactPhone__number {
  margin-top: 2.2rem;
  font-size: clamp(3.2rem, 4vw, 5.0rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #0B6A3A;
  line-height: 1.05;
}

/* SPのtelリンクを“ボタンっぽく”
.p-contactPhone__number--sp {
  background: rgba(11, 106, 58, 0.06);
  border: 0.1rem solid rgba(11, 106, 58, 0.16);
  border-radius: 1.4rem;
  padding: 1.2rem 1.4rem;
}
 */

/* 受付時間：読みやすく */
.p-contactPhone__note {
  margin: 1.6rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(0,0,0,0.68);
}

/* ✅ SPだけ “発信ボタン” を追加したくなるので、番号の下にCTA感 */
@media (max-width: 767px) {
  .p-contactPhone__number--sp {
    display: inline-flex;
    gap: 1.0rem;
  }

}

/* =========================================================
   Contact Form - colored, premium UI (override)
   ========================================================= */

.p-contactForm__body {
  --c-brand: #0B6A3A;
  --c-brand-weak: rgba(11, 106, 58, 0.10);
  --c-line: rgba(0,0,0,0.10);
  --c-text: #1f1f1f;
  --c-muted: rgba(0,0,0,0.62);
  --c-bg: #F3F6F5;
  --c-card: rgba(255,255,255,0.92);
}

/* フォーム背景を“セクション”っぽく */
.p-contactForm {
  background: linear-gradient(180deg, #ffffff 0%, var(--c-bg) 100%);
}

/* 外枠カード */
.p-contactForm__body .smf-form {
  background: var(--c-card);
  border: 0.1rem solid rgba(11, 106, 58, 0.18);
  border-radius: 2.2rem;
  padding: clamp(2.4rem, 2.6vw, 4rem);
  box-shadow: 0 2.8rem 6rem rgba(0,0,0,0.10);
  position: relative;
  overflow: hidden;
}

/* うっすら装飾（丸） */
.p-contactForm__body .smf-form::before,
.p-contactForm__body .smf-form::after {
  content: "";
  position: absolute;
  border-radius: 999rem;
  background: rgba(11, 106, 58, 0.10);
  pointer-events: none;
}

.p-contactForm__body .smf-form::before {
  width: 36rem;
  height: 36rem;
  top: -22rem;
  right: -18rem;
}

.p-contactForm__body .smf-form::after {
  width: 28rem;
  height: 28rem;
  bottom: -18rem;
  left: -14rem;
}

/* 各項目：余白と区切り（薄い） */
.p-contactForm__body .smf-item {
  margin-top: 2.4rem;
  padding-top: 2.4rem;
  border-top: 0.1rem solid rgba(0,0,0,0.06);
  position: relative;
  z-index: 1; /* 装飾より上 */
}
.p-contactForm__body .smf-item:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ラベル：強め＋緑のアクセント */
.p-contactForm__body .smf-item__label {
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--c-text);
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

/* ラベル左に縦バー */
.p-contactForm__body .smf-item__label::before {
  content: "";
  width: 0.5rem;
  height: 1.6rem;
  border-radius: 99rem;
  background: var(--c-brand);
  display: inline-block;
}

/* 必須バッジ */
.p-contactForm__body .smf-item__label .smf-required,
.p-contactForm__body .smf-item__label .smf-item__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.6rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999rem;
  background: var(--c-brand);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

/* 入力欄：白背景＋緑フォーカス */
.p-contactForm__body input[type="text"],
.p-contactForm__body input[type="email"],
.p-contactForm__body input[type="tel"],
.p-contactForm__body textarea,
.p-contactForm__body select {
  width: 100%;
  border-radius: 1.6rem;
  border: 0.1rem solid rgba(0,0,0,0.14);
  background: #fff;
  padding: 1.6rem 1.7rem;
  font-size: 1.6rem;
  line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.p-contactForm__body textarea {
  min-height: 18rem;
}

/* フォーカス（緑のリング） */
.p-contactForm__body input:focus,
.p-contactForm__body textarea:focus,
.p-contactForm__body select:focus {
  outline: none;
  border-color: rgba(11, 106, 58, 0.65);
  box-shadow: 0 0 0 0.45rem rgba(11, 106, 58, 0.16);
}

/* プレースホルダ */
.p-contactForm__body ::placeholder {
  color: rgba(0,0,0,0.36);
  font-weight: 600;
}

/* ラジオ：カードボタン化（見た目の主役） */
.p-contactForm__body .smf-radio-buttons-control {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

/* labelをカード化 */
.p-contactForm__body .smf-radio-buttons-control label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;

  padding: 1.6rem 1.8rem;
  border-radius: 1.8rem;
  border: 0.1rem solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.95);
  color: var(--c-text);

  transition: transform .12s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.p-contactForm__body .smf-radio-buttons-control label:hover {
  transform: translateY(-0.1rem);
}

/* ラジオ丸を少し大きく */
.p-contactForm__body .smf-radio-buttons-control input[type="radio"] {
  width: 2.0rem;
  height: 2.0rem;
  accent-color: var(--c-brand);
}

/* 選択中：緑に寄せる */
.p-contactForm__body .smf-radio-buttons-control label:has(input:checked) {
  border-color: rgba(11, 106, 58, 0.65);
  background: rgba(11, 106, 58, 0.08);
  box-shadow: 0 0 0 0.35rem rgba(11, 106, 58, 0.14);
}

/* PCではラジオを横並び（見栄えUP） */
@media (min-width: 900px) {
  .p-contactForm__body .smf-radio-buttons-control {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .p-contactForm__body .smf-radio-buttons-control label {
    justify-content: flex-start;
    text-align: center;
  }
}

/* PC：ラベル左 / 入力右 で整列（読みやすい） */
@media (min-width: 900px) {
  .p-contactForm__body .smf-item {
    display: grid;
    grid-template-columns: 22rem 1fr;
    column-gap: 2.6rem;
    align-items: start;
  }

  .p-contactForm__body .smf-item__label {
    margin: 0;
    padding-top: 1.1rem;
  }
}

/* 送信ボタン：存在感を出す */
.p-contactForm__body .smf-button-control {
  margin-top: 3.2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.p-contactForm__body .smf-button-control__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: min(44rem, 100%);
  padding: 1.9rem 3.2rem;

  border: 0;
  border-radius: 1.6rem;

  background: var(--c-brand);
  color: #fff;

  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 0.06em;

  cursor: pointer;
  box-shadow: 0 2.2rem 4.8rem rgba(11, 106, 58, 0.26);
  transition: transform .14s ease, opacity .18s ease, box-shadow .18s ease;
}

.p-contactForm__body .smf-button-control__control:hover,
.p-contactForm__body .smf-button-control__control:focus-visible {
  transform: translateY(-0.15rem);
  opacity: 0.95;
  box-shadow: 0 2.8rem 6.4rem rgba(11, 106, 58, 0.30);
}

.p-contactForm__body .smf-button-control__control:active {
  transform: translateY(0);
}

/* エラー文字 */
.p-contactForm__body .smf-error-messages,
.p-contactForm__body .smf-item__error {
  margin-top: 0.8rem;
  color: #b00020;
  font-weight: 900;
  font-size: 1.3rem;
}

/* =========================================================
   Radio buttons - vertical / no border / elegant
   ========================================================= */

.p-contactForm__body .smf-radio-buttons-control {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 1.2rem;
}

/* ラベルをシンプルに */
.p-contactForm__body .smf-radio-buttons-control label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;

  padding: 1rem;
  border: none;
  background: transparent;
  color: #1f1f1f;

  transition: background-color .18s ease;

  margin-bottom: 0.5rem;
}

/* ラジオ丸をブランドカラーに */
.p-contactForm__body .smf-radio-buttons-control input[type="radio"] {
  width: 2.0rem;
  height: 2.0rem;
  accent-color: #0B6A3A;
}

/* ホバー時にほんのり */
.p-contactForm__body .smf-radio-buttons-control label:hover {
  background: rgba(11, 106, 58, 0.06);
  border-radius: 0.8rem;
}

/* 選択中は少しだけ色を乗せる */
.p-contactForm__body .smf-radio-buttons-control label:has(input:checked) {
  background: rgba(11, 106, 58, 0.10);
  border-radius: 0.8rem;
  color: #0B6A3A;
}

/* ラジオを強制的に正円に戻す */
.p-contactForm__body input[type="radio"] {
  width: 2rem !important;
  height: 2rem !important;
  flex: 0 0 2rem;
}