/*
Theme Name: kahoku_Theme
Version: 1.0
*/


/* =========================
   Page KV
========================== */
.page-kv {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: auto;
    position: relative;
}

.page-kv img {
    width: 100%;
    height: auto;
    display: block;
}

/*.page-kv__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}*/

.page-kv__inner {
    position: absolute;
    top: 50%;
    left: 30%;
    right: 0%;
    transform: translate(-20%, -50%);
    text-align: center;
}

.page-kv__jp {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 10px;
    color: #fff;
    position: relative;
    top: 20px;
}


.page-kv__jp.works_title {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 3px;
    color: #1F9244;
    position: relative;
    top: 20px;
    margin-top: 15px;
	word-break: auto-phrase;
}

.page-kv__en {
    font-family: "Pathway Gothic One", sans-serif;
    font-weight: 400;
    font-size: 80px;
    line-height: 100px;
    letter-spacing: -0.31px;
    color: #fff;
}

/* =========================
   header scrolled
========================== */
/* トップページかつ固定時の基本設定 */
.home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* 最初は透明 */
    transition: all 0.3s ease;
}

.home .site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* スクロールした時の文字色変更 */
.home .site-header.is-scrolled .global-nav__list a {
    color: #0a0a0a;
}

/* ロゴの切り替え（CSSで制御する場合） */
.home .site-header.is-scrolled .site-logo img {
    content: url('/wp-content/uploads/2026/02/logo-02.png');
}

.home .site-header.is-scrolled .nav-toggle {
    color: #0a0a0a;
}

/* トップページ以外の時だけ適用される設定 */
body:not(.home) .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body:not(.home) {
    padding-top: 68px;
}


/* =========================
   ABOUT US
========================== */
.page-anchor {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #1F9244;
}

.page-anchor__inner {
    display: flex;
    justify-content: center;
}

.page-anchor__item {
    width: 174px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ホバー時だけ反転 */
.page-anchor__item:hover {
    background: #fff;
    color: #000;
    text-decoration: none;
}

.message-section {
    padding: 120px 0;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    margin-bottom: 120px;
}

.section-title__jp {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 10px;
    color: #0A0A0A;
    margin-bottom: 24px;
}

.section-title__en {
    font-family: "Pathway Gothic One", sans-serif;
    font-weight: 400;
    font-size: 128px;
    line-height: 100px;
    letter-spacing: -0.31px;
    color: #1F9244;
}

/* 本文レイアウト */
.message-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

/* 左：画像 */
.message-content__image img {
    width: 100%;
    max-width: 399px;
    height: auto;
    border-radius: 6px;
}

/* 右：テキスト */
.message-content__body {
    max-width: 531px;
}

/* キャッチコピー */
.message-content__lead {
    font-weight: 700;
    font-size: 48px;
    line-height: 70px;
    letter-spacing: 2px;
    color: #1F9244;
    margin-bottom: 32px;
}

/* 本文テキスト */
.message-content__text {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
    color: #0A0A0A;
    margin-bottom: 32px;
}

/* 署名 */
.message-content__name {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #0A0A0A;
    text-align: right;
}

.message-content__name span {
    margin-left: 20px;
    font-size: 30px;
    line-height: 36px;
    margin-top: 4px;
}

.company-profile {
    background: #F5F5F5;
    padding: 120px 20px;
	margin-bottom: 50px;
}

.company-profile__inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* テーブル全体 */
.company-profile__table {
    max-width: 1000px;
    margin: 0 auto;
}

/* 1行 */
.company-profile__row {
    display: flex;
}

/* 左：見出し */
.company-profile__th {
    width: 246px;
    padding: 20px 24px 20px 32px;
    font-weight: 500;
    border-bottom: 1px solid #41B25D;
}

/* 右：内容（グレーライン） */
.company-profile__td {
    flex: 1;
    padding: 20px 0 20px 100px;
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid #BBBBBB;
}

/* 1行目だけ上線を入れる */
.company-profile__row:first-child .company-profile__th {
    border-top: 1px solid #41B25D;
}

.company-profile__row:first-child .company-profile__td {
    border-top: 1px solid #BBBBBB;
}

.history {
  padding: 0px 20px 120px;
}

.history__list {
  max-width: 800px;
  margin: 0 auto;
}

.history__item {
  display: grid;
  grid-template-columns: 220px 40px 1fr;
  column-gap: 24px;
  position: relative;	
}

.history__year {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  white-space: nowrap;
}

.history__ad {
  font-family: "Pathway Gothic One";
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2px;
  color: rgba(31, 146, 68, 0.4);
  margin-right: 32px;
}

.history__era {
  font-family: "Zen Kaku Gothic New";
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 2px;
  color: #1F9244;
  position: relative;
  top: -8px;
}

.history__axis {
  position: relative;
  display: flex;
  justify-content: center;
  top: 14px;
}

.history__axis::before {
  content: "";
  width: 14px;
  height: 14px;
  background: #1F9244;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  margin-top: 6px;
}

.history__axis::after {
  content: "";
  position: absolute;
  top: 22px;
  width: 4px;
  height: calc(100% + 60px);
  background: #E6E6E6;
}

.history__item--last .history__axis::after {
  height: 60px; /* 最後だけ短く */
}

.history__item:last-child .history__axis::after {
  height: 100%;
}

.history__events {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  top: 12px;
}

.history__event {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.history__month {
  width: 48px;
  flex-shrink: 0;
  text-align: right;
  font-family: "Zen Kaku Gothic New";
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 2px;
  color: #1F9244;
  white-space: nowrap;
}

.history__text {
  font-family: "Zen Kaku Gothic New";
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: -0.31px;
  color: #0A0A0A;
  word-break: normal;
  overflow-wrap: break-word;
}

.office-section {
  position: relative;
  padding: 100px 20px;
  background-image: url('/wp-content/uploads/2026/02/about-bg.png');
  background-size: 1400px 1398px; /* 画像サイズ */
  background-repeat: no-repeat;
  background-position: 20px 0; /* left:20px */
  border-radius: 6px;
}

.section-title__white__jp {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 10px;
    color: #fff;
    margin-bottom: 24px;
}

.section-title__white__en {
    font-family: "Pathway Gothic One", sans-serif;
    font-weight: 400;
    font-size: 128px;
    line-height: 100px;
    letter-spacing: -0.31px;
    color: #fff;
}

.office-list {
  max-width: 1000px;
  margin: 80px auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.office-item {
  display: flex;
  background-color: #fff;
}

.office-text {
  flex: 1;
  padding: 30px 35px;
  max-width: 500px;
}

.office-name {
  font-family: "Zen Kaku Gothic New";
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: #0A0A0A;
}

.office-underline {
  width: 430px;
  border-bottom: 1px solid #1F9244;
  margin-bottom: 16px;
}

.office-address,
.office-tel {
  font-family: "Zen Kaku Gothic New";
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: #364153;
}

.office-map {
  flex: 1;
  max-width: 500px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  overflow: hidden;
}

.office-map iframe {
  display: block;
  width: 100%;
  height: 248px;
  border: 0;
}

.office-tel {
  display: flex;
  flex-wrap: wrap;
}

.office-tel .fax {
  white-space: nowrap;
}

/* スマホだけFAXを下に落とす */
@media (max-width: 600px) {
  .office-tel .fax {
    width: 100%;
  }
}

.office-tel .tel::after {
  content: " / ";
}

@media (max-width: 600px) {
  .office-tel .tel::after {
    content: "";
  }
}

/* =========================
   BUSINESS
========================== */
.business-hero {
  padding-top: 120px;
}

.business-hero__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

/* これを他の見出しでも使い回す！ */
.page-heading {
  font-family: "Zen Kaku Gothic New";
  font-weight: 700;
  font-size: 48px;
  line-height: 80px;
  letter-spacing: 2px;
  text-align: center;
  color: #1F9244;
  margin: 0;
  word-break: auto-phrase;
}

/* これも共通で使える */
.page-lead {
  font-family: "Zen Kaku Gothic New";
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  text-align: center;
  color: #0A0A0A;
  margin-top: 24px;
  margin-bottom: 48px;
}

/* 背景ブロック */
.business-hero__bg {
  width: 100%;
  height: 637px;
  margin: 0 auto;
  background: #F5F5F5;
  border-radius: 6px;

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

/* 画像 */
.business-hero__image {
  width: 1000px;
  height: auto;
  display: block;
}

.business-section {
  padding-top: 120px;
  padding-bottom: 24px;
}

.business-section__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 14px;
}

/* 6行のまとまり */
.business-grid {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
}

.business-grid p:empty {
  display: none;
}

.business-grid p {
  margin: 0;
}


/* 1行（2カラム） */
.business-row {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

/* 交互 */
.business-row--reverse {
  flex-direction: row-reverse;
}

/* 左右カード共通 */
.business-card {
  height: 414px;
}

/* テキスト側 */
.business-card--text {
  width: 700px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background: #ffffff;
  display: flex;
  align-items: center;
}

/* 右に来る場合は角を逆にする */
.business-row--reverse .business-card--text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* テキスト内側 */
.business-card__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 536px;
  margin: 0 auto;
}

/* 日本語タイトル */
.business-card__jp {
  font-family: "Zen Kaku Gothic New";
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 10px;
  text-align: center;
  color: #0A0A0A;
  margin: 0;
}

/* 英語タイトル */
.business-card__en {
  font-family: "Pathway Gothic One";
  font-weight: 400;
  font-size: 48px;
  line-height: 20px;
  letter-spacing: -0.31px;
  text-align: center;
  color: #1F9244;
  margin: 0;
}

/* 下線 */
.business-card__line {
  width: 536px;
  height: 0;
  border-top: 1px solid #1F9244;
  margin: 16px auto 8px;
}

/* 説明 */
.business-card__desc {
  font-family: "Zen Kaku Gothic New";
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: #364153;
  margin: 0;
}

/* 画像側 */
.business-card--image {
  width: 700px;
  border-radius: 6px;
  overflow: hidden;
}

/* 画像はカードにぴったり */
.business-card--image img {
  width: 100%;
  height: 414px;
  object-fit: cover;
  display: block;
}

.business-btn{
  margin-top:80px;
  text-align:center;
}

/* =========================
   CSR
========================== */
.csr-section {
  padding-top: 120px;
  padding-bottom: 24px;
}

.csr-section__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 14px;
}

/* 6行のまとまり */
.csr-grid {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
}

.csr-grid p:empty {
  display: none;
}

.csr-grid p {
  margin: 0;
}

/* 1行（2カラム） */
.csr-row {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

/* 交互 */
.csr-row--reverse {
  flex-direction: row-reverse;
}

/* 左右カード共通 */
.csr-card {
  height: 414px;
}

/* テキスト側 */
.csr-card--text {
  width: 700px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background: #ffffff;
  display: flex;
  align-items: center;
}

/* 右に来る場合は角を逆にする */
.csr-row--reverse .csr-card--text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* テキスト内側 */
.csr-card__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 536px;
  margin: 0 auto;
}

/* 日本語タイトル */
.csr-card__jp {
  font-family: "Zen Kaku Gothic New";
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 10px;
  text-align: center;
  color: #0A0A0A;
  margin: 0;
}

/* 英語タイトル */
.csr-card__en {
  font-family: "Pathway Gothic One";
  font-weight: 400;
  font-size: 48px;
  line-height: 20px;
  letter-spacing: -0.31px;
  text-align: center;
  color: #1F9244;
  margin: 0;
}

/* 下線 */
.csr-card__line {
  width: 536px;
  height: 0;
  border-top: 1px solid #1F9244;
  margin: 16px auto 8px;
}

/* 説明 */
.csr-card__desc {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: #364153;
  margin: 0;
}

/* 画像側 */
.csr-card--image {
  width: 700px;
  border-radius: 6px;
  overflow: hidden;
}

/* 画像はカードにぴったり */
.csr-card--image img {
  width: 100%;
  height: 414px;
  object-fit: cover;
  display: block;
}

.csr-btn {
  margin-top: 80px;
  text-align: center;
}

.csr-sdgs {
  margin-top: 120px;
}

.csr-sdgs__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 20px;
  background: #f5f5f5;
  border-radius: 6px;
}

/* タイトル */
.csr-sdgs__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 80px;
  letter-spacing: 2px;
  text-align: center;
  color: #1F9244;
  margin: 0;
}

/* 会社名 + 日付 */
.csr-sdgs__meta {
  font-weight: 500;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 2px;
  text-align: center;
  color: #0A0A0A;
  margin: 32px 0 32px;
}

/* 説明文 */
.csr-sdgs__text {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  text-align: center;
  color: #0A0A0A;
  margin: 24px auto 0;
  max-width: 1000px;
}

/* カード 2×2 */
.csr-sdgs__cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* カード */
.sdgs-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;

  /* 固定widthはやめて、枠に合わせて伸縮させる */
  width: 100%;
  min-height: 400px;
}

/* 下段だけ高さ450 */
.sdgs-card--tall {
  min-height: 450px;
}

/* 上（アイコン） */
.sdgs-card__top {
  /* 高さ50%指定はカード高さに依存してズレやすいのでやめる */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0 4px;
}

/* 見出し（人材育成） */
.sdgs-card__title{
  font-weight:700;
  font-size:24px;
  line-height:34px;
  letter-spacing:2px;
  text-align:center;
  color:#1F9244;
  margin:16px 0 12px;

  /* 2行まででも高さが揃うように固定 */
  min-height:68px; /* 34px × 2行 */
  display:flex;
  align-items:center;
  justify-content:center;
}

.sdgs-card__top img {
  width: auto;
  max-width: 220px;
  height: auto;
  display: block;
}

/* 中央線 */
.sdgs-card__line {
  width: 417px;
  max-width: calc(100% - 80px);
  border-top: 1px solid #1F9244;
}

/* 下（テキスト） */
.sdgs-card__bottom {
  flex: 1;
  width: 417px;
  max-width: calc(100% - 80px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;

  padding: 20px 0 28px;
}

/* リスト風 */
.sdgs-card__item {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: #364153;
  margin: 0;
  position: relative;
  padding-left: 18px;
}

.sdgs-card__item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1F9244;
  position: absolute;
  left: 0;
  top: 7px;
}

/* 下の注釈 */
.csr-sdgs__note {
  margin: 16px auto 0;
  max-width: 1000px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.31px;
  text-align: left;
  color: #0A0A0A;
}

/* 空のpが混入しても表示しない（保険） */
.csr-sdgs__inner p:empty {
  display: none;
}

.csr-efforts {
  padding: 120px 0 24px;
}

.csr-efforts__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 14px;
}

/* 見出し（前と同じ系） */
.csr-efforts__title {
  font-family: "Zen Kaku Gothic New";
  font-weight: 700;
  font-size: 48px;
  line-height: 80px;
  letter-spacing: 2px;
  text-align: center;
  color: #1F9244;
  margin: 0;
}

/* 2カラム */
.csr-efforts__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 417px 417px;
  column-gap: 80px;
  row-gap: 0px;
  justify-content: center;
}

/* カード */
.effort-card {
  width: 417px;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  padding: 40px 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* タイトル */
.effort-card__title {
  font-family: "Zen Kaku Gothic New";
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: 2px;
  text-align: center;
  color: #1F9244;
  margin: 0;
}

/* 下線 */
.effort-card__line {
  width: 417px;
  border-top: 1px solid #1F9244;
  margin-top: 18px;
}

/* 画像 */
.effort-card__media {
  margin-top: 30px;
  width: 299px;
  height: 414px;
  border: 1px solid #DDDDDD;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}

/* クリックできる見た目 */
.effort-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  background: #fff;
}

.effort-card__media br {
  display: none;
}


/* =========================
   Modal
========================== */

/* モーダル背景 */
.csr-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.csr-modal.is-open {
  display: flex;
}

/* 中身 */
.csr-modal__content {
  position: relative;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 92vh;
  background: transparent;
}

/* 画像を縮小して全部表示（スクロールなし） */
.csr-modal__img {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  display: block;
}

/* 閉じるボタン */
.csr-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
  line-height: 36px;
  cursor: pointer;
}

/* =========================
   partner
========================== */

.partner-download {
  padding-top: 120px;
}

.partner-download__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 14px;
}

/* 見出し（CSRと同じ） */
.partner-download__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 80px;
  letter-spacing: 2px;
  text-align: center;
  color: #1F9244;
  margin: 0;
}

/* リード文 */
.partner-download__lead {
  margin: 24px auto 0;
  max-width: 1000px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  text-align: center;
  color: #0A0A0A;
}

/* 2カラム（下線基準） */
.partner-download__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 417px 417px;
  column-gap: 80px;
  row-gap: 0;
  justify-content: center;
}

.partner-card {
  width: 417px;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  padding: 40px 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* タイトル */
.partner-card__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: 2px;
  text-align: center;
  color: #1F9244;
  margin: 0;
}

/* 下線 */
.partner-card__line {
  width: 417px;
  border-top: 1px solid #1F9244;
  margin-top: 32px;
}

/* 説明文 */
.partner-card__desc {
  width: 417px;
  margin-top: 32px;
  margin-bottom: 16px;
  box-sizing: border-box;
  min-height: 128px;
}

.partner-card__desc p {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: #0A0A0A;
}

.partner-list {
  margin: 0;
  padding-left: 1.4em;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: #0A0A0A;
}

.partner-list li {
  margin: 0;
  padding-left: 1rem;
}

.partner-list li + li {
  margin-top: 8px;
}

/* 画像（枠なし） */
.partner-card__image {
  margin-top: 24px;
  margin-bottom: 8px;
  width: 299px;
  height: 199px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* =========================
   CONTACT
========================== */
.hidden-email{
  display:none !important;
}

.stepper-wrap{
  max-width: 672px;
  margin: 100px auto;
}

.stepper{
  display: flex;
  position: relative;
  align-items: flex-start;
  height: 76px;
}

/* 後ろの横棒 */
.stepper__line{
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: #E5E7EB;
  z-index: 0;
}

.stepper__item{
  position: relative;
  z-index: 1;
  width: 48px;
  text-align: center;
}

.stepper__item:not(:last-child){
  margin-right: calc((100% - 48px*3)/2);
}

/* 丸 */
.stepper__circle{
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.44px;

  background: #E5E7EB; /* 非アクティブ */
  color: #6A7282;      /* 非アクティブ */
}

/* ラベル */
.stepper__label{
  margin-top: 8px;

  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;

  color: #6A7282; /* 非アクティブ */
}

/* アクティブ */
.stepper__item.is-active .stepper__circle{
  background: #00A63E;
  color: #FFFFFF;
}
.stepper__item.is-active .stepper__label{
  color: #00A63E;
}

.stepper-description p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.31px;
  text-align: center;
  color: #0A0A0A;
}

.contact-form-wrapper {
  max-width: 720px;
  margin: 0 auto 64px; /* 中央寄せ */
}

.contact-form-wrapper p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: #364153; /* ラベル色 */
  margin-bottom: 8px;
  position: relative;
}

/* 必須赤バッジ */
.contact-form-wrapper .req {
  display: inline-block;
  width: 40px;
  height: 20px;
  font-size: 12px;
  line-height: 16px;
  color: #FFFFFF;
  background: #FB2C36;
  border-radius: 4px;
  text-align: center;
  padding: 2px 8px;
  margin-left: 8px;
}

/* 入力ボックス */
.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper [type="tel"],
.contact-form-wrapper [type="email"],
.contact-form-wrapper [type="text"] {
  width: 100%;
  border: 1px solid #D1D5DC;
  border-radius: 8px;
  box-shadow: 0px 1px 3px 0px #0000001A;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 20px;
  margin-top: 4px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

/* お問い合わせ内容だけ高さを変える */
.contact-form-wrapper textarea {
  height: 170px;
  resize: vertical; /* 高さ変更できる */
}

/* 送信ボタン */
.form-submit {
  text-align: center;
}

.form-submit input[type="submit"] {
  width: 168px;
  height: 60px;
  border-radius: 8px;
  background-color: #00A63E;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.44px;
  cursor: pointer;
  border: none;
}

.form-submit input[type="submit"]:hover {
  opacity: 0.9; /* ちょっとホバー効果 */
}


.privacy-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  text-align: center;
  color: #4A5565; /* 文言の文字色 */
  margin-bottom: 16px; /* ボタンとの間隔 */
}

.privacy-link {
  color: #00A63E;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 0%;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
}

.wpcf7-spinner {
  display: none;
}

/* =========================
   CONTACT check
========================== */
.stepper-confirm{
  max-width: 672px;
  margin: 100px auto;
  display: flex;
  position: relative;
  align-items: flex-start;
  height: 76px;
}

/* 横棒 */
.stepper-confirm .stepper__line{
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: #E5E7EB;
  z-index: 0;
}

.stepper-confirm .stepper__line.completed{
  background: #00A63E;
  z-index: 1;
  width: 50%;
}

/* ステップアイテム */
.stepper-confirm .stepper__item{
  position: relative;
  z-index: 2;
  width: 48px;
  text-align: center;
}

/* 丸 */
.stepper-confirm .stepper__circle{
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.44px;
  background: #E5E7EB; /* 非アクティブ */
  color: #6A7282;      /* 非アクティブ */
}

/* 完了・アクティブカラー */
.stepper-confirm .stepper__item.completed .stepper__circle,
.stepper-confirm .stepper__item.is-active .stepper__circle{
  background: #00A63E;
  color: #FFFFFF;
}

/* ラベル */
.stepper-confirm .stepper__label{
  margin-top: 8px;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: #6A7282; /* 非アクティブ */
}

.stepper-confirm .stepper__item.completed .stepper__label,
.stepper-confirm .stepper__item.is-active .stepper__label{
  color: #00A63E;
}

.confirm-wrapper {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 33px 33px 1px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0px 1px 3px 0px #0000001A;
  box-sizing: border-box;
}

/* 1項目 */
.confirm-field {
  margin-bottom: 16px;
}

/* ラベル */
.confirm-label {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: #364153;
  margin: 0 0 8px;
}

/* 表示ボックス */
.confirm-box {
  width: 100%;
  height: 50px;
  padding: 10px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #F9FAFB;
  box-sizing: border-box;

  display: flex;
  align-items: center;

  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: #0A0A0A;

  overflow-wrap: anywhere;
}

.confirm-box p{
  margin: 0;
}

/* お問い合わせ内容だけ */
.confirm-box.message-box {
  height: 160px;
  align-items: flex-start;
  padding-top: 12px;
}

.confirm-text{
  margin: 24px 0 24px;
  text-align: center;
}

.confirm-text__title{
  margin: 0 0 8px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32.5px;
  letter-spacing: -0.45px;
  color: #0A0A0A;
}

.confirm-text__desc{
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: #4A5565;
  margin-bottom: 56px;
}

/* ボタン（囲いの外） */
.confirm-btns {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px auto 64px;
}

/* previous/submitの見た目統一 */
.confirm-btns input[type="submit"],
.confirm-btns input[type="button"] {
  width: 168px;
  height: 60px;
  border-radius: 8px;
  border: none;
  cursor: pointer;

  background: #00A63E;
  color: #FFFFFF;

  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.44px;
}

/* 修正するボタンだけグレーにしたいなら（必要なら） */

.confirm-btns input[type="button"] {
  background: #6A7282;
}

/* =========================
   CONTACT thanks
========================== */
.stepper__line__thanks {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00A63E;
    z-index: 0;
}

.thanks-wrap{
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 100px;
  text-align: center;
}

.thanks-icon{
  width: 96px;
  height: 96px;
  opacity: 1;
  display: block;
  margin: 0 auto 32px;
}

.thanks-title{
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0.4px;
  text-align: center;
  color: #0A0A0A;
  margin: 0 0 64px;
}

.thanks-text{
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.31px;
  text-align: center;
  color: #0A0A0A;
  margin: 0 0 16px;
}

.thanks-text--sub{
  color: #4A5565;
  margin: 0 0 64px;
}

.thanks-btn{
  width: 256px;
  height: 60px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #00A63E;
  color: #FFFFFF;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 60px;
  letter-spacing: -0.44px;
  display: inline-block;
  text-decoration: none;
}



/* =========================
   SITE MAP
========================== */
.sitemap-section {
  width: 100%;
  padding-top: 120px;
}

.sitemap-wrap {
  width: 848px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  width: 100%;
}

.sitemap-col {
  min-width: 0;
}

.sitemap-group {
  margin-bottom: 16px;
}

.sitemap-main {
  display: inline-block;
  width: 260px; /* ★下線の長さ固定 */
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.45px;
  color: #0A0A0A;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 2px solid #008236;
  margin-bottom: 10px;
}

.sitemap-sub {
  display: block;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: #364153;
  text-decoration: none;
  margin-top: 8px;
  padding-left: 40px;
}

.sitemap-group br {
  display: none;
}

.sitemap-main:hover,
.sitemap-sub:hover {
  text-decoration: underline;
}

/* SPは1列に落とす */
@media (max-width: 768px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sitemap-main {
    width: 100%;
    max-width: 260px;
  }
}


/* =========================
   works
========================== */
#works-page {
    width: 1000px;
    margin: 0 auto;
}

.works_cat {
    background-color: #fff;
    display: inline;
    padding: 5px 20px;
    border: solid 1px #ababab;
    border-radius: 20px;
}

.works-mainimg {
    padding: 50px 0;
}

.works-mainimg img {
    width: 100%;
    border-radius: 10px;
}

#works-page .company-profile {
    background: none;
    padding: 0px 0px 50px;
}

.works-gallery {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: inherit;
}

.works-gallery-inner {
    width: 33%;
}

.works-gallery-inner img {
    width: 100%;
    border-radius: 5px;
}

.works-gallery-inner p {
    padding: 5px 15px;
}

#works-footer-cat {
    margin: 50px 0 100px;
    background-color: #F5F5F5;
    padding: 50px 0px;
}

.works-footer-cat-inner {
    display: flex;
    justify-content: space-between;
    width: 1000px;
    margin: 0 auto;
}

.works-footer-title {
    text-align: center;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

#works-footer-cat a {
    background-color: #fff;
    border: solid 1px #bababa;
    border-radius: 20px;
    height: 40px;
    padding: 5px 50px;
    color: #282828;
}

#works-footer-cat a:hover {
    text-decoration: none;
    background-color: #1f9244;
    color: #fff;
}

/* =========================
   page-numbers
========================== */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 120px;
}

/* 共通（数字・次へ・前へ） */
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  font-size: 16px;
  text-decoration: none;
  line-height: 1;
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease;
  border: 2px solid #1f9244;
  color: #1f9244;
  background: #fff;
  box-sizing: border-box;
}

/* 数字ボタン（丸） */
.nav-links .page-numbers:not(.next):not(.prev) {
  width: 44px;
  border-radius: 50%;
}

/* 次へ・前へ（控えめ横長） */
.nav-links .page-numbers.next,
.nav-links .page-numbers.prev {
  padding: 0 16px;
  border-radius: 22px;
  white-space: nowrap;
}

/* hover */
.nav-links a.page-numbers:hover {
  background: #1f9244;
  color: #fff;
}

/* current（現在ページ） */
.nav-links .page-numbers.current {
  background: #1f9244;
  color: #fff;
}

/* 「…」が出る場合 */
.nav-links .page-numbers.dots {
  border-color: #ccc;
  color: #777;
  background: transparent;
  width: auto;
  padding: 0 6px;
}


/* =========================
   RESPONSIVE
========================== */

/*フッター余白*/
@media (max-width: 1024px) {
  .footer-sitemap__links {
    flex: 3 1 560px;
  }

  .footer-sitemap__logo {
    flex: 1 1 240px;
  }
}

@media (max-width: 480px) {
  .footer-sitemap {
    padding: 64px 40px 0;
  }

/* ロゴ画像をレスポンシブに */
  .footer-sitemap__logo img {
	width: 100%;
	height: auto;
  }

}


/* =========================
   0213追加　RESPONSIVE
========================== */
/* --- スマホ用固定ボタンとメニュー --- */
.page-anchor-sp {
    display: block;
}

/* 右下の丸いボタン */
.page-anchor-sp__trigger {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    width: 70px;
    height: 70px;
    background-color: #1F9244;
    color: #fff;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.page-anchor-sp__trigger-text {
    font-size: 10px;
    font-weight: bold;
    margin-top: 2px;
}

/* メニュー本体（初期状態は下側に隠す） */
.page-anchor-sp__menu {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1001;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 24px 16px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

/* メニュー表示時のクラス */
.page-anchor-sp__menu.is-open {
    transform: translateY(0);
}

.page-anchor-sp__menu-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
}

/* 3カラム2段のグリッド */
.page-anchor-sp__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.page-anchor-sp__item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1F9244;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    height: 60px;
    border-radius: 6px;
    line-height: 1.3;
}

/* アクティブ（現在地）や「すべて」などの色の変化をつけたい場合 */
.page-anchor-sp__item.is-active {
    background-color: #15662f; /* 少し濃い緑 */
}

.page-anchor-sp__close {
    display: block;
    margin: 20px auto 0;
    background: none;
    border: none;
    color: #666;
    text-decoration: underline;
    font-size: 14px;
}

/* 背景のマスク */
.page-anchor-sp__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.page-anchor-sp__overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* PCでは非表示にする（既存のブレイクポイントに合わせる） */
@media screen and (min-width: 768px) {
    .page-anchor-sp {
        display: none;
    }
	.page-anchor-bottom {
		display: none;
	}
}

@media screen and (max-width: 767px) {
    .u-hidden-sp {
        display: none !important;
    }
}

.page-anchor-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.page-anchor-bottom__inner {
  display: flex;
  width: 100%;
}

.page-anchor-bottom__item {
  flex: 1; /* 4つを均等な幅にする */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  background-color: #1F9244;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  line-height: 1.2;
}

.page-anchor-bottom__item:last-child {
  border-right: none;
}

.page-anchor-bottom__item.is-active {
  background-color: #fff;    /* 白背景 */
  color: #1F9244;            /* 緑文字 */
  pointer-events: none;      /* 選択中はクリック不可に（任意） */
}
