@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Konkhmer+Sleokchher&family=M+PLUS+1:wght@100..900&family=Yuji+Syuku&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');

@font-face {
  font-family: NotoSansJP;
  src: url("../font/NotoSansJP-VariableFont_wght.ttf");
}

/* メニューが閉じている時は強制的にスクロールを許可する */
html[data-drawer-state="closed"] {
  overflow: visible !important;
}
/* data-drawer-stateがclosedのときは、絶対にスクロールを許可し、アンダーレイを消す */
html[data-drawer-state="closed"] {
  overflow: auto !important;
}
html[data-drawer-state="closed"] body {
  overflow: auto !important;
}
html[data-drawer-state="closed"] .p-drawerUnderlayer {
  display: none !important;
}

:root {
  /* --- Arkheの既存変数を上書き（サイト全体に反映される） --- */
  --ark-color-main: #767E42;          /* メインカラー */
  --ark-color-text: #fff;          /* 通常テキストの色 */
  --ark-font-base: "Zen Kaku Gothic New", NotoSansJP, sans-serif;
  --ark-color-h1-title: #767E42; 
  /* --- 自分専用のオリジナル変数 --- */
  --header-height-sp: 112px;
  
  /*--ark-padding--container: min(72px, 10vw);*/
}

/* 通常テキストや見出しに反映させる例 */
body {
  color: var(--ark-color-text);
  font-family: var(--ark-font-base);
  font-size: 16px;
}




/* --- CSS修正版 --- */

/* 1. undefinedエラーと真っ白を防ぐための初期値設定（変更なし） */
:root {
  --grad-current: 0deg, rgba(0,176,112,1), rgba(10,117,77,1) 65%, rgba(14,53,38,1);
  --grad-next: 0deg, rgba(0,176,112,1), rgba(10,117,77,1) 65%, rgba(14,53,38,1);
}

/* 2. Arkheの層を透明化し、背景が見えるようにする（重要） */
html, body, #ark-container, .l-main, .l-footer {
    background-color: transparent !important;
    background: transparent !important;
}

/* 3. #wrapperは透明な土台にする */
#wrapper {
    position: relative;
    z-index: 0; /* 基点 */
    background: transparent !important; /* 背景は消す */
}

/* 4. 【追加】JavaScriptで作った背景管理div */
#bg-manager {
    position: fixed;
    /* Safariの隙間対策（諦めつつも、背景が切れないよう遊びを作る） */
    top: -10vh;
    left: 0;
    width: 100%;
    height: 120vh;
    z-index: -1; /* コンテンツ（z-index設定なし=0）より後ろへ */
    pointer-events: none;
}

/* 5. bg-manager内の疑似要素でフェードを作る */
#bg-manager::before,
#bg-manager::after {
    content: "";
    position: absolute;
    inset: 0;
    will-change: opacity;
    /* ここの時間を長くすると「ゆっくり」になります */
    transition: opacity 1.5s ease-in-out; 
}

/* 現在の色（ベース層） */
#bg-manager::before {
    background: linear-gradient(var(--grad-current));
    opacity: 1;
}

/* 次の色（重なる層） */
#bg-manager::after {
    background: linear-gradient(var(--grad-next));
    opacity: 0;
}

/* 切り替え時 */
#bg-manager.is-changing::after {
    opacity: 1;
}

/* コンテンツ（section）が確実に背景より上にくるように設定 */
section {
    position: relative;
    z-index: 0; /* コンテンツが背景（z-index: -1）の上に重なる */
}




h1, h2, h3 {
  color: var(--ark-color-text);
}
a{
  text-decoration: none;
  color: var(--ark-color-text);
}
blockquote{
  padding: 0;
    border: none;
}
ul{
  list-style: none;
    padding-left: 0;
}
figure{
  font-size: 0;
}
img{
  width: 100%;
}
figcaption{
  margin-top: 0;
  opacity: 1;
}
section{
  padding-bottom: 40px;
}

.l-main, .l-article{
  max-width: 100%;
}
.l-content {
  z-index: 1;
}

.l-container{
  max-width: 1120px;
}
@media screen and (min-width: 1200px){
  .l-container{
    padding-left: 0;
    padding-right: 0;
  }
}
.l-content__body.l-container{
  max-width: 100%;
}
.fs-16{
  font-size: 16px;
}
.fs-18{
  font-size: 18px;
}
.fs-20{
  font-size: 20px;
}
.link-icon{
  position: relative;
  padding-right: 32px;
}
.link-icon::after{
  content: "";
  width: 23px;
  height: 23px;
  background: url("../img/icon/link-icon.svg") no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
}
.h1-title{
  font-family: NotoSansJP, sans-serif;
  color: var(--ark-color-h1-title);
  font-weight: 300;
  font-size: 40px;
  letter-spacing: 10px;
}
.l-content__body{
  margin-top: 0;
    padding: 0;
}

@media (min-width: 1000px) {
  /* ロゴ左・ボタン右設定時のGridレイアウトを上書き */
  [data-btns='r-l'][data-logo='left'] .l-header__body {
    /* 1列目(search): 指定幅
       2列目(left): ロゴ(min-content)
       3列目(center): メニューをここに配置(auto)
       4列目(right): 空きスペース(1fr)
       5列目(menu): メニューボタン(min-content)
    */
    /*grid-template-columns: var(--ark-searchW) min-content auto 1fr var(--ark-drawerW) !important;*/
  }

  /* ロゴ（.l-header__center）とメニュー（.l-header__right）の位置調整 */
  .l-header__center {
    margin: 0 40px 0 0 !important; /* ロゴの右側にだけ余白を作る */
  }

  .l-header__right {
    justify-self: start !important; /* Gridセル内で左に寄せる */
  }
}

.title-template01{
  text-align: center;
  margin-bottom: 20px;
  padding-top: 55px;
}
.title-template01 h2{
  font-size: 32px;
}
.title-template01 h2 span{
  position: relative;
  z-index: 1;
}
.title-template01 h2 span::after{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
    top: -22px;
  left: 50%;
  transform: translateX(-50%);
    z-index: -1;
}
.title-template01.title-template02{
  text-align: left;
}
.title-template01.title-template02 h2 span::after{
  width: 180%;
    height: 200%;
    top: -70px;
    transform: none;
    left: 0;
}

.arrow-icon{
  padding-right: 30px;
  position: relative;
}
.arrow-icon::after{
  content: "";
  width: 22px;
  height: 16px;
  background: url("../img/icon/arrow.svg") no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1;
}
.arrow-icon-green.arrow-icon::after{
  background: url("../img/icon/arrow-green.svg") no-repeat center/contain;
}

.btn-template01{
  display: flex;
  margin-top: 30px;
  position: relative;
}
.btn-template01 a{
  color: #00FFA2;
    text-align: center;
    width: 100%;
    /*max-width: 352px;*/
  max-width: 315px;
    font-size: 24px;
    position: relative;
    padding: 10px 0;
    margin: 0 auto;
  background: url("../img/icon/view-more.svg") no-repeat center/contain;
  font-family: "Konkhmer Sleokchher", system-ui;
  font-weight: 400;
  overflow: hidden;
  
  /*display: block;*/
}
.btn-template01 a span{
  font-family: var(--ark-font-base);
  font-weight: 700;
}
.btn-template01 a .arrow-icon{
  font-size: 14px;
}

.btn-template01 a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  
  transition: 0s;
  transform: scale(0) rotate(45deg);
  opacity: 0;
}

/* ホバー時：一瞬で拡大しながら右下へ抜ける */
.btn-template01 a:hover::before {
  animation: shine-jump 0.6s ease-out; /* ease-outで最後を少し粘る */
}

@keyframes shine-jump {
  0% {
    /* 開始：左上 */
    top: -30px;
    left: -30px;
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  10% {
    /* 動き出しでパッと明るく */
    opacity: 1;
  }
  100% {
    /* 終了：右下へ巨大化しながら移動 */
    transform: scale(100) rotate(45deg); /* ここで大きく広がる */
    opacity: 0;
  }
}

.blockquote-template{
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
.contents-tb, .contents-pc{
  display: none;
}
#top_title_area, #breadcrumb{
  display: none;
}

/* ==================================================
   オープニングアニメーション用
================================================== */

/* 1. オーバーレイ（固定背景） */
.opening-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(0deg, rgba(0, 176, 112, 1), rgba(10, 117, 77, 1) 50%, rgba(14, 53, 38, 1));
    z-index: 9999;
    /*display: none;*/ /* 初期は非表示。JSで演出が必要な時のみ表示 */
    opacity: 1;
}

/* 2. オープニングテキスト（中央固定） */
.opening-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 10000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
  opacity: 0;
    visibility: hidden;
}


/* テキスト：フェードイン（下から上へ） */
.opening-text.is-active {
    opacity: 1;
    visibility: visible;
    top: 50%;
}
.char-wrapper {
    display: inline-block;
    overflow: hidden; /* これが重要：枠外の文字を隠す */
    vertical-align: bottom;
    line-height: 1.2;
}
.char {
    display: inline-block;
    transform: translateY(105%); /* 最初は枠の下に隠しておく */
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1); /* スッと出る加速感 */
}

/* 実行用クラス */
.char.is-animated {
    transform: translateY(0); /* 元の位置（見える位置）に戻る */
}

/* 3. 各パーツの初期状態（透明にしておく） */
/* ※JSで演出対象になる要素すべてを初期値 0 に */
.pz-swiper-red, .pz-swiper-red-sp,
.area.red, .red-sp,
.area.blue, .blue-sp,
.area.green, .green-sp, .yellow-sp,
.top-nav-logo,
.top-nav-ul,
.side-nav-list,
.top-mainvisual-text-svg {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* 4. 擬似要素のアニメーション用設定 */
.top-mainvisual-text-svg::before,
.top-mainvisual-text-svg::after {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* 5. 順次表示用のクラス */
.is-visible {
    opacity: 1 !important;
}

/* 親に.is-visibleがついたら擬似要素も出す */
.top-mainvisual-text-svg.is-visible::before,
.top-mainvisual-text-svg.is-visible::after {
    opacity: 1;
}

.opening-text h1{
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  width: fit-content;
    text-align: start;
}

/*----------------------------
    [header]
-----------------------------*/
header{
  height: 100px;
    display: flex;
    align-items: center;
}
/*header .l-header__body{
  padding-left: var(--ark-padding--container);
}*/
header .has-image>.c-headLogo, 
header .c-headLogo .c-headLogo__img{
  height: 64px;
}
header[data-btns=r-l] .l-header__body{
  grid-template-areas: "center menu";
  padding-left: var(--ark-padding--container);
  grid-template-columns: 1fr 64px;
  padding-right: var(--ark-padding--container);
  
}
/* ロゴと電話番号を横並びにする */
.l-header__center {
    display: flex;
    align-items: center;
    gap: 10px; 
}

/* 電話番号エリアのスタイル */
.header-contact-info {
  line-height: 1.3;
  color: #fff;
  text-align: center;
}

.header-tel {
  display: block;
    font-size: 20px;
    font-weight: 400;
  font-family: "Konkhmer Sleokchher", system-ui;
}

/* 受付時間のデザイン */
.header-time {
  display: block;
    font-size: 16px;
    font-weight: 500;
}
header .l-header__drawerBtn, 
header .c-iconBtn__icon{
  height: 64px;
    width: 64px;
}
.c-gnav .home-hamb, 
.c-gnav .recruit-hamb, 
.c-gnav .partner-hamb, 
.c-gnav .contact-hamb{
  display: none;
}
.c-gnav li a .__mainText{
  font-family: "Konkhmer Sleokchher", system-ui;
  font-weight: 400;
  /*font-size: 24px;*/
  font-size: 20px;
}
.c-gnav li a .__subText{
  font-weight: 500;
  /*font-size: 16px;*/
  opacity: 1;
  font-size: 14px;
  color: var(--ark-color--header_txt) !important;
}
.c-gnav li{
  position: relative;
}
.c-gnav li:not(.header-sdgs){
  padding-right: 40px;
}
.c-gnav li:not(.header-sdgs)::after{
  content: "";
  width: 36px;
  height: 1px;
  background-color: #00FFA2;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(-25deg);
  z-index: 1;
}
.c-gnav__a:hover .__mainText,
.c-drawerNav__a:hover .__mainText {
    color: var(--ark-color--header_txt) !important;
}

/*----------------------------
    [header]ここまで
-----------------------------*/

/*----------------------------
    [header]ハンバーガーメニュー
-----------------------------*/

header .c-drawerNav, 
header .c-drawerNav .menu-item{
  border: none;
}
header .c-drawerNav .menu-item{
  position: relative;
}
header .c-drawerNav .menu-item:not(:last-child){
  
}
header .c-drawerNav .menu-item:not(:last-child)::after{
  content: "";
  width: 35px;
  height: 1px;
  background-color: #00FFA2;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%) rotate(-25deg);
  z-index: 1;
}
header .c-drawerNav .menu-item .c-drawerNav__a{
  display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    color: #00FFA2;
    text-align: center;
  padding-bottom: 24px;
  transition: .3s;
}

header .c-drawerNav .menu-item .c-drawerNav__a .__mainText{
  font-family: "Konkhmer Sleokchher", system-ui;
    font-size: 20px;
    font-weight: 400;
  white-space: nowrap;
}
header .c-drawerNav .menu-item .c-drawerNav__a .__subText{
  margin: 0;
    font-size: 16px;
    font-weight: 500;
    opacity: 1;
  white-space: nowrap;
}
header .c-drawerNav .menu-item .c-drawerNav__a .__subText .hamb-sdgs-span{
  display: none;
}
header .p-drawer__close{
  font-size: 24px;
  position: relative;
  border-top: 1px solid #fff;
    padding-left: 30px;
  transition: .3s;
}
header .p-drawer__close:hover{
  color: #00ffa2;
}
header .p-drawer__close svg{
  display: none;
}
header .p-drawer__close::before{
  content: "";
  width: 10px;
  height: 10px;
  background: url("../img/icon/arrow04.svg") no-repeat center/contain;
  position: absolute;
  top: 55%;
    left: 10px;
  transform: translateY(-50%);
  z-index: 1;
}
.c-drawerNav__a:hover{
  background-color: none !important;
}

/* --- デフォルトSVGを消去 --- */
.arkhe-svg-menu, .arkhe-svg-close {
  display: none !important;
}

/* --- 円の土台 --- */
.custom-hamburger {
  height: 64px;
    width: 64px;
  border: 1px solid #00FFA2;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bar-container {
  width: 40px;
  height: 16px;
  position: relative;
}

/* --- 3本線の共通設定 --- */
.bar-container span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #00FFA2;
  /* transitionの対象を明示 */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

/* 通常時：すべて平行に斜め(-25deg) */
.bar-container span:nth-child(1) { top: 0; transform: rotate(-25deg); }
.bar-container span:nth-child(2) { top: 7px; transform: rotate(-25deg); }
.bar-container span:nth-child(3) { top: 14px; transform: rotate(-25deg); }

/* --- 展開時 (is-opened クラス または is-active クラスがつけば動く) --- */
:is(html.is-opened, body.is-opened, .-menuBtn.is-active) .bar-container span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg); /* 右下がりの棒 */
}

:is(html.is-opened, body.is-opened, .-menuBtn.is-active) .bar-container span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px) rotate(-25deg);
}

:is(html.is-opened, body.is-opened, .-menuBtn.is-active) .bar-container span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg); /* 右上がりの棒 */
}

.c-drawerNav__a:hover, .widget_categories a:hover, .widget_nav_menu a:hover, .widget_recent_entries__a:hover, .wp-block-archives-list a:hover, .wp-block-categories-list a:hover, .wp-block-pages-list__item__link:hover{
  background: none !important;
}



/*----------------------------
    [header]ハンバーガーメニューここまで
-----------------------------*/

/*----------------------------
    [共通]position: fixed;アイコン
-----------------------------*/
.side-nav {
  display: none;
}

/*----------------------------
    [共通]position: fixed;アイコンここまで
-----------------------------*/

/*----------------------------
    [固定ページ共通]タイトル
-----------------------------*/
.fixed-page-text .title-template01{
  position: relative;
}
.fixed-page-text .title-template01::before{
  content: "";
  background: url("../img/icon/stripe.png") no-repeat right/contain;
  width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: calc(50% - 50vw);
}
.fixed-page-template{
  padding-bottom: 22px;
  /*background-image: linear-gradient(0deg, rgba(0, 176, 112, 1), rgba(10, 117, 77, 1) 65%, rgba(14, 53, 38, 1));*/
}
.fixed-page-text .title-template01 h2{
  font-size: 24px;
}
.fixed-page-container-pc.l-container{
  max-width: 100%;
  padding: 0;
}
.fixed-page-text-p-sp.l-container{
  max-width: 100%;
}
.fixed-page-template p{
  font-size: 16px;
    line-height: 1.8;
  font-family: "BIZ UDPGothic", sans-serif;
}
.fixed-page-text .title-template01.title-template02 h2 span::after{
  width: 300%;
    height: 165%;
    top: -50px;
  max-width: 310px;
}
.fixed-page-text h2{
  font-size: 24px;
  color: #00FFA2;
}
.fixed-page-text p{
  display: none;
}
/* --- アニメーションの初期状態（画面外・非表示） --- */
.fixed-page-img {
    opacity: 0;
    /* 右に50px、上に50pxずらしておく */
    transform: translate(25px, -25px); 
    /* 変化のスピード（1.2秒かけてゆっくり、お好みで調整してください） */
    transition: opacity 0.5s ease, transform .7s ease-out;
    will-change: opacity, transform; /* ブラウザの描画を最適化 */
}

/* --- 画面に入った時に付与するクラス --- */
.fixed-page-img.is-animated {
    opacity: 1;
    transform: translate(0, 0); /* 元の位置に戻る */
}




/*----------------------------
    [固定ページ共通]タイトルアニメーション
-----------------------------*/
/* --- タイトルリビールの基本設定（追加・修正） --- */

.js-reveal-title h2 span {
    opacity: 0;
    transition: opacity 0.3s ease; /* パッと出ても自然なように */
}

/* 分割準備が整ったら span 自体は表示させる（中の .char が隠れているので見えません） */
.js-reveal-title.is-ready h2 span {
    opacity: 1;
}

/* 1. SVG（英語）の初期状態：既存のtranslateXを壊さないように記述 */
.title-template01 h2 span::after {
    opacity: 0;
    /* 元の translateX(-50%) を維持しつつ translateY を追加 */
    transform: translateX(-50%) translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

/* アニメーション開始時（SVG） */
.js-reveal-title.is-animated h2 span::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* title-template02（左寄せ）の場合は、translateX が不要なので上書き */
.title-template01.title-template02 h2 span::after {
    /*transform: translateY(15px);*/
  transform: translateY(30px);
}
.js-reveal-title.title-template02 h2 span::after{
  /*transform: translate(-50%, 15px);*/
}
.js-reveal-title.title-template02.is-animated h2 span::after {
    transform: translateY(15px);
}

/* 2. 日本語テキスト（1文字ずつ） */
.js-reveal-title .char-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.js-reveal-title .char {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

/* 文字が表示される時のクラス（JSで制御） */
.js-reveal-title .char.is-visible {
    transform: translateY(0);
}
.js-reveal-title .char-wrapper span::after, 
.js-reveal-title .char-wrapper::after{
  display: none;
}

/*----------------------------
    [固定ページ共通]タイトルここまで
-----------------------------*/

/*----------------------------
  [共通]フェードインアニメーション
-----------------------------*/
/* --- 汎用アニメーション：初期状態 --- */
.u-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .4s ease-out, transform .4s ease-out;
}

/* --- 実行状態（JSでクラスが付与された時） --- */
.u-fade-up.is-animated {
    opacity: 1;
    transform: translateY(0);
}

/* 任意：少し遅らせたい時用のオプション（class="u-fade-up delay-02" など） */
.u-fade-up.delay-02 { transition-delay: 0.2s; }
.u-fade-up.delay-04 { transition-delay: 0.4s; }

/*----------------------------
  [共通]フェードインアニメーションここまで
-----------------------------*/

/*----------------------------
        [top]mainvisual
-----------------------------*/

/* スライドショー部分(swiper) */
:root {
    /* 共通の境界X座標（パズルの継ぎ目） */
    --line-left-top: 32%;
    --line-left-mid: 43%;   /* 緑と黄色の境目あたり */
    --line-left-bottom: 45%; /* 赤の終わりのX座標 */
    --line-right-top: 85%;
    --line-right-mid: 78%;
    --line-right-bottom: 90%;
    
    /* 共通の境界Y座標 */
    --fv-line: 50%;         /* 1080pxのライン */
    --junction-up: 46%;     /* 1080pxより少し上のライン */
}

/* --- 親コンテナ（画面いっぱい） --- */


/* --- 各カラムの共通設定（崩れ防止を追加） --- */
.puzzle-layout .area,
.puzzle-layout .middle-col {
    height: 100%;
    position: relative;
    overflow: hidden;
    min-width: 0; /* 【重要】Swiperの幅崩れを防止 */
}

/* --- Swiperとスライドの設定 --- */
.puzzle-layout .swiper {
    width: 100%;
    height: 100%;
}

.puzzle-layout .swiper-slide {
    height: 100%; /* スライド自体の高さを確保 */
    overflow: hidden;
}

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

/* --- レイアウト：左側（赤） --- */
.area.red {
    flex: 1.2;
    clip-path: polygon(0% 0, 75% 0, 90% 100%, 0 100%);
    z-index: 1;
}

/* --- レイアウト：中央（青・緑） --- */
.middle-col {
    flex: 1.2;
    margin-left: -15%; /* 赤に重ねる */
    margin-right: -10%; /* 白に重ねる */
    z-index: 2;
    /* 中央カラム全体を台形にする */
    clip-path: polygon(0% 0, 100% 0, 85% 100%, 16% 100%);
}

/* 青と緑の高さを確実に50%ずつにする */
.middle-col .area.blue {
    height: 50% !important;
}
.middle-col .area.green {
    height: 50% !important;
}

/* --- レイアウト：右側（ナビ・白） --- */
.area.nav-white {
    flex: 0.6;
    background: #fff;
    z-index: 3;
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0% 100%);
}

/* ナビ文字の配置 */
.nav-content {
    position: absolute;
    top: 40px;
    right: 30px;
    writing-mode: vertical-rl;
    font-weight: bold;
    color: #333;
}
/* スライドショー部分ここまで */

.top-nav-wrap{
  height: 100%;
  display: flex;
    flex-direction: column;
}
.top-nav-logo{
  height: 265px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    width: 75%;
    margin-left: auto;
}
.top-nav-logo figure{
  display: flex;
    justify-content: center;
}
.top-nav-logo figure img{
  max-width: 130px;
    object-fit: contain;
}
.top-nav-logo h6{
  color: #232E24;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 600;
}
.top-nav-logo h6 a{
  color: #232E24;
    font-size: 28px;
}
.top-nav-logo h6 span{
  font-size: 16px;
}
.top-nav-menu{
  background-image: linear-gradient(0deg, rgba(14, 53, 38, 1), rgba(10, 117, 77, 1) 50%, rgba(0, 176, 112, 1));
    display: flex;
    justify-content: end;
    flex: 1;
}
.top-nav-ul{
  width: 75%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  padding: 50px 0;
}
.top-nav-ul li{
  position: relative;
}
.top-nav-ul li:not(:last-child)::after{
  content: "";
  width: 55px;
  height: 1px;
  background-color: #00FFA2;
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%) rotate(-25deg);
  z-index: 1;
}
.top-nav-ul li a{
  display: flex;
    flex-direction: column;
    align-items: center;
  color: #00FFA2;
  font-size: 24px;
  font-family: "Konkhmer Sleokchher", system-ui;
  font-weight: 400;
}
.top-nav-ul li a span{
  font-size: 16px;
  font-family: var(--ark-font-base);
  font-weight: 500;
}


/*--------
  スマホ時のレイアウト
---------*/
.puzzle-layout {
  display: flex;
  width: 100%;
  height: 100vh;
  padding: 0;
  min-height: 560px; /* 極端に潰れないように */
  max-height: 1000px;
  overflow: hidden;
  position: relative;
}

.top-mainvisual-pc {
  display: none;
}
    
    .top-mainvisual-sp {
        display: flex; /* 横並びにする */
        width: 100%;
        height: 100%;
        position: relative;
    }

    /* 左側：赤 */
    .red-sp {
        width: 55%; /* 左側の幅 */
        height: 100%;
        z-index: 2;
        /* 右側が少し斜めに切り込む形 */
        clip-path: polygon(0 0, 75% 0, 100% 100%, 0 100%);
    }

    /* 右側：3つのエリアを包むカラム */
    .right-col-sp {
        width: 60%; /* 重なりを考慮して少し広めに設定 */
        margin-left: -15%; /* 赤と重ねる */
        display: flex;
        flex-direction: column; /* 縦に並べる */
        height: 100%;
        z-index: 1;
    }

    .right-col-sp .area {
        width: 100%;
        height: 33.333% !important; /* 3等分 */
        position: relative;
    }

    /* 右側の境界線（斜めカット） */
    .blue-sp {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .green-sp {
        /* 上下の斜めカットでパズル感を出す */
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .yellow-sp {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .top-mainvisual-sp img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.top-mainvisual-text-svg{
  /*position: relative;*/
}
.top-mainvisual-text-svg::before, 
.top-mainvisual-text-svg::after{
  content: "";
  position: absolute;
}
.top-mainvisual-text-svg::before{
  background: url("../img/top/title-crafting-landmarks.svg") no-repeat left/contain;
  width: 323px;
    height: 104px;
  top: 10vh;
  left: var(--ark-padding--container);
    z-index: 9;
}
body.admin-bar .top-mainvisual-text-svg::before{
  /*top: calc(var(--wp-admin--admin-bar--height) + 10px);*/
}
.top-mainvisual-text-svg::after{
  background: url("../img/top/title-building trust..svg") no-repeat left/contain;
  width: 358px;
    height: 50px;
    bottom: 5vh;
  left: var(--ark-padding--container);
    z-index: 9;
}

/* --- ナビ用テキスト・リビールの初期状態 --- */
.top-nav-ul li a .reveal-text {
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block; /* 改行を維持 */
}

/* 準備ができたら枠組みだけ表示（中の文字は隠れたまま） */
.js-reveal-title.is-ready a .reveal-text {
    opacity: 1;
}

/* 分割後の文字（char）の設定は以前のものを流用 */
.top-nav-ul .char-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.top-nav-ul .char {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.top-nav-ul .char.is-visible {
    transform: translateY(0);
}

/* --- ナビ用テキスト・リビールの初期状態 --- */
.top-nav-ul li a .reveal-text {
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block;
}

/* 準備完了で親要素を表示 */
.js-reveal-title.is-ready a .reveal-text {
    opacity: 1;
}

.top-nav-ul .char-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.top-nav-ul .char {
    display: inline-block;
    transform: translateY(105%);
    /* ホバー時は少し早めに動くと気持ちいいので0.4sに調整 */
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

/* 表示状態 */
.js-reveal-title .char.is-visible {
    transform: translateY(0);
}

/* ホバー時に文字を一度下げてから上げるために、
   JSで制御するのでCSSでの hover 記述は不要ですが、
   マウスが乗っている間のリンクの色などはここで設定してください */
.top-nav-ul li a:hover {
    opacity: 0.8; /* お好みで */
}

/*----------------------------
        [top]mainvisualここまで
-----------------------------*/

/*----------------------------
        [top]future
-----------------------------*/
.top-future{
  /*padding-bottom: 50px;*/
  padding-bottom: 0;
}
.top-future .top-future-container{
  /*max-width: none;
    width: calc(100% - ((100% - 1400px) / 2));
    margin-left: calc((100% - 1400px) / 2);*/
  max-width: 100%;
  padding-right: 0;
}
#top-future .top-company-text-pc{
  display: flex;
    align-items: center;
}
.top-future .top-company-title.title-template01 h2{
  color: #00FFA2;
}
.top-future .top-company-title.title-template01 h2 span::after{
  background: url(../img/top/title-future-sp.svg) no-repeat left / contain;
    width: 200px;
    height: 90px;
    left: 0;
    transform: none;
  top: auto;
    bottom: 50px;
  /*width: 719px;
    height: 75px;*/
}
.top-future .top-company-grid{
  /*grid-template-columns: 600px 1fr;*/
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.top-future .top-company-title.title-template01{
  text-align: left;
  padding-top: 75px;
}
.top-future .top-company-title.title-template01 h2{
  font-size: 24px;
  white-space: nowrap;
}
.top-future-text-pc{
  display: none;
}
#top-future .top-company-img-pc{
  display: flex;
  height: 200px;
}
#top-future .company-special-item.is-left-img{
  display: none;
}
#top-future .company-special-item.is-right-img{
  margin-left: 0;
  clip-path: polygon(0% 0, 100% 0, 100% 100%, 12% 100%);
}
.top-future-text-sp{
  padding-top: 30px;
}


/* futureセクション Swiper用 */
.top-future .company-special-item {
    overflow: hidden;
    position: relative;
}

.top-future .swiper {
    width: 100%;
    height: 100%;
}

.top-future .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PC/SPでの表示崩れ防止 */
.top-company-img-pc {
    display: flex;
    gap: 20px; /* 必要に応じて調整 */
}

.company-special-item {
    flex: 1;
    /* 元の画像が持っていた高さや比率がある場合はここで指定 */
    aspect-ratio: 4 / 5; 
}


/*----------------------------
        [top]futureここまで
-----------------------------*/

/*----------------------------
        [top]新着情報
-----------------------------*/
.top-news{
  padding: 10rem 0 0;
}
.top-news-list ul li a{
  color: #000;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* border-bottom: dashed 1px #232E24;  ←これは削除 */
  padding: 15px 0 10px;
  position: relative; /* 線を配置する基準点 */
  text-decoration: none;
}
.top-news-list ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;           /* 右側に配置 */
  width: 0;           /* 初期状態は幅0（非表示） */
  height: 1px;        /* 線の太さ */
  /* 点線を再現するために背景画像を利用 */
  /*background-image: linear-gradient(to right, #232E24 50%, transparent 50%);
  background-size: 8px 1px;*/ /* 8px間隔の点線 */
  background-repeat: repeat-x;
  
  /* アニメーションの設定 */
  transition: width 0.5s ease;
  
  background-color: #232e24;
}
.top-news-list ul li a:hover::after {
  width: 100%;        /* 右から左へ伸びる */
  left: 0;            /* 左端に固定されることで左へ伸びるように見える */
  right: auto;
}
.time-category{
  display: flex;
  gap: 10px;
}
.time-category time{
  font-family: "BIZ UDPGothic", sans-serif;
  border: 1px solid #232E24;
    border-radius: 4px;
    padding: 0 8px;
  font-size: 16px;
}
.time-category span{
  border-radius: 4px;
    padding: 0 8px;
    color: #fff;
    background-color: #232E24;
}
.top-news-title.title-template01 h2 span::before{
  content: "";
  width: 126px;
  height: 90px;
  background: url("../img/top/helmet.png") no-repeat center/contain;
  position: absolute;
  bottom: calc(100% - (-18px));
  left: 0;
  z-index: -1;
}
.top-news-title.title-template01 h2 span::after{
  background: url("../img/top/title-news.svg") no-repeat center/contain;
}

.limit-line-3{
  display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
}

/*----------------------------
        [top]新着情報ここまで
-----------------------------*/

/*----------------------------
        [top]里組について
-----------------------------*/
.top-about{
  padding: 3rem 0 0;
  position: relative;
}
.top-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background: url("../img/top/about-bg.webp") no-repeat center/cover;
  
  -webkit-mask-image: linear-gradient(
    to bottom, 
    transparent 0%, 
    black 15%, 
    black 85%, 
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom, 
    transparent 0%, 
    black 15%, 
    black 85%, 
    transparent 100%
  );
  
  z-index: -1;
    opacity: .3;
}
.top-about-title.title-template01 h2 span::after{
  background: url("../img/top/title-about.svg") no-repeat center/contain;
  width: 110%;
}
.top-about-title h2 span{
  color: #232E24;
}
.top-about-text h1, .top-about-text h2{
  text-align: center;
  text-shadow: 1px 2px 2px rgba(15, 83, 57, 0.8);
}
.top-about-text h1{
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  margin-bottom: 20px;
}
.top-about-text h1.top-about-text-h1-sp{
  font-size: 33px;
}
.top-about-text h1.top-about-text-h1-sp span{
  font-size: 40px;
}
.top-about-text h2{
  font-size: 24px;
  /*font-size: 40px; ←PC時のサイズ */
  margin-bottom: 20px;
}
.top-about-text-img01{
  display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}
.top-about-text-img02 .about02-pc{
  display: none;
}

/* top-about-text(PC) */
.top-about-text h1.top-about-text-h1-pc{
  display: none;
  font-size: 64px;
}
.top-about-text h1.top-about-text-h1-pc span{
  font-size: 104px;
}
/* top-about-text(PC)ここまで */
/*----------------------------
        [top]里組についてここまで
-----------------------------*/

/*----------------------------
        [top]施工実績
-----------------------------*/
.top-works{
  padding-top: 75px;
}
.top-works-title.title-template01 h2 span::after{
  background: url("../img/top/title-works.svg") no-repeat center/contain;
  width: 203px;
    height: 110px;
    top: auto;
    bottom: 15px;
}
.top-works-title h2 span{
  color: #00FFA2;
}
.top-works-text h2{
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  text-align: center;
  font-size: 29px;
}

/* swiper */
.bk-slider {
    position: relative;
    width: 100%;
    padding: 10px 0 30px;
    overflow: hidden;
}

.top-works .swiper {
    width: 100%;
    overflow: visible;
}

/* スライドの基本（端のカード） */
.top-works .swiper-slide {
    transition: all .5s ease;
    transform: scale(0.8); /* 0.7から0.8に少し大きくして隙間を埋める */
    opacity: 0.5;
    /* 拡大縮小の基準点を中心にする */
    transform-origin: center center; 
}

/* 中央のスライド */
.top-works .swiper-slide-active {
  transform: scale(0.9);
    /*transform: scale(1.1);*//* ←PC時 */
    opacity: 1;
    z-index: 10;
}

/* 中央の隣（左右）のスライド */
.top-works .swiper-slide-next,
.top-works .swiper-slide-prev {
    transform: scale(0.9); /* 隣は90%で維持 */
    opacity: 0.8;
}
.top-works .swiper-slide-next{
  transform-origin: right center;
}
.top-works .swiper-slide-prev{
  transform-origin: left center;
}

.top-works .slide-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.top-works .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 緑のラベル */
.top-works .slide-info {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    background: #0E3526;
  width: 95%;
    padding: 10px;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.top-works .slide-date {
    display: block;
    font-size: 16px;
    color: #8CCB5E;
}

.top-works .slide-title {
    margin: 0;
  overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 24px;
    font-weight: 700;
}

/* ページネーション（ドット型○）のデザイン */
.top-works .swiper-pagination {
    bottom: 20px !important;
}

.top-works .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #0F5339; /* ラベルと同じ濃い緑 */
    opacity: 1;
    margin: 0 6px !important;
}

.top-works .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}
.top-works .swiper-button-prev,
.top-works .swiper-button-next{
  display: none; /*contentを空にする*/
}

/*----------------------------
        [top]施工実績についてここまで
-----------------------------*/

/*----------------------------
        [top]事業内容
-----------------------------*/
.top-service{
  padding: 3rem 0 0;
}
.top-service-title.title-template01 h2 span::after{
  background: url("../img/top/title-service.svg") no-repeat center/contain;
}
.top-service-title h2 span{
  color: #232E24;
}
.top-service-text{
  color: #232E24;
  display: flex;
    flex-direction: column;
    gap: 30px;
}
.top-service-text h2{
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 32px;
  text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.8);
  color: #232E24;
}
.top-service-text h2 span{
  font-size: 40px;
}
.top-service-text h2 span.t-s-t-span-sp{
  font-size: 45px;
}
.top-service-bg{
  position: relative;
  /*margin-bottom: 40px;*/
}
.top-service-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 95%;
  background: url("../img/top/service-bg-sp.webp") no-repeat top right/cover;
  
  z-index: -1;
  
  opacity: 0;
  /*transform: translateY(50px);*/
  
  /* 変化の速度とタイミング */
  transition: 
    opacity 1s ease-out, 
    transform 1s cubic-bezier(0.33, 1, 0.68, 1);
  
  -webkit-mask-image: linear-gradient(to bottom,
  black 0%,
  black 70%,
  transparent 100%);
    mask-image: linear-gradient(to bottom,
  black 0%,
  black 90%,
  transparent 100%);
}
.top-service-bg.is-active::before {
  opacity: 1;
  transform: translateY(0);
}
.top-service .btn-template01 a.view-more-service-pc{
  display: none;
}

.btn-template01.top-service-more{
  padding-bottom: 30px;
}

/*----------------------------
        [top]事業内容ここまで
-----------------------------*/

/*----------------------------
        [top]会社情報
-----------------------------*/
.top-company{
  padding-top: 0;
}
.top-company-title.title-template01 h2 span::after{
  background: url("../img/top/title-company.svg") no-repeat center/contain;
  top: -55px;
}
.top-company .btn-template01 a.view-more-company-pc{
  display: none;
}

/* --- 親コンテナ --- */
.top-company-img-pc {
  display: none;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* --- 共通設定 --- */
.company-special-item {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.company-special-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- 左側：境界線を「＼」にする --- */
.company-special-item.is-left-img {
  flex: 1.5;
  /* 左辺も斜め(右上りにカット)、境界線は「右下がり」にカット */
  /* 座標：左上(0 0), 右上(85% 0), 右下(100% 100%), 左下(15% 100%) */
  clip-path: polygon(0 0, 85% 0, 100% 100%, 15% 100%);
  z-index: 1;
}

/* --- 右側：左側の形に合わせて潜り込ませる --- */
.company-special-item.is-right-img {
  flex: 1;
  /* 左側の右下がりに合わせて、少し左に重ねる */
  margin-left: -15%; 
  
  /* 左側だけ斜めにカット（右下に向かって広がる形） */
  /* 座標：左上(15% 0), 右上(100% 0), 右下(100% 100%), 左下(0 100%) */
  clip-path: polygon(0% 0, 100% 0, 100% 100%, 20% 100%);
  z-index: 2;
}

.top-company-img-pc999.top-company-img-pc{
  display:flex;
  height: 170px;
}
.top-company-img-pc999.top-company-img-pc .company-special-item.is-left-img{
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
}

/*----------------------------
        [top]会社情報ここまで
-----------------------------*/

/*----------------------------
        [top]採用情報
-----------------------------*/
.top-recruit{
  padding-bottom: 0;
}
.top-recruit-title.title-template01 h2 span::after{
  background: url("../img/top/title-recruit.svg") no-repeat center/contain;
  width: 340px;
    height: 48px;
    top: -25px;
}
.top-recruit-text{
  margin-top: 30px;
}
.top-recruit-text h2{
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  text-shadow: 1px 2px 2px rgba(15, 83, 57, 0.8);
  font-size: 32px;
  text-align: center;
}
.top-recruit-text h2 p{
  border-bottom: dashed 1px #A4D742;
}
.top-recruit-text h2 span{
  font-size: 40px;
}

.top-recruit-img-loop {
  padding-top: 40px;
  overflow: hidden;
  /* スライダー全体をクリック不可にする（究極の停止対策） */
  pointer-events: none; 
}

.recruit-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.recruit-swiper .swiper-slide {
  width: auto;
  display: flex;
  align-items: center;
}

.recruit-swiper .swiper-slide img {
  /* 高さを200pxに固定 */
  height: 200px !important;
  width: auto; /* 横幅は自動計算 */
  
  /* 画像が歪まないように調整（全体を見せたいなら contain、隙間なく埋めたいなら cover） */
  object-fit: contain; 
  
  display: block;
}
.top-recruit-text h2 p.top-recruit-text-pc{
  display: none;
}
.t-r-t-br-1200{
  display: none;
}

#top-recruit .recruit-img figure{
  position: relative;
    padding-top: 25vw;
}
#top-recruit .recruit-img figure .top-craft-img{
  position: absolute;
    top: -20px;
    z-index: -1;
}


/*----------------------------
        [top]採用情報ここまで
-----------------------------*/

/*----------------------------
        [about]里組とは
-----------------------------*/
.about-title{
  /*background-color: #0A754D;*/
  border-bottom: 1px solid #00FFA2;
}
.fixed-page-text .about-title-title.title-template01.title-template02 h2 span::after{
  background: url("../img/about/title-about-us.svg") no-repeat center/contain;
}
/*----------------------------
        [top]里組とはここまで
-----------------------------*/

/*----------------------------
        [about]ものづくり
-----------------------------*/
.about-satogumi{
  /*background-color: #8CCB5E;*/
  padding-top: 25px;
}
.about-satogumi-title.title-template01 h2 span::after{
  background: url("../img/about/title-satogumi.svg") no-repeat center/contain;
  max-width: 340px;
    height: 165%;
    top: -50px;
}
.about-satogumi-grid{
  padding-top: 10px;
  display: flex;
    flex-direction: column;
    gap: 40px;
}
.about-satogumi-card{
  color: #232E24;
  display: flex;
    flex-direction: column;
    gap: 15px;
}
.about-satogumi-card figure{
  position: relative;
    padding-top: 60px;
}
.about-satogumi-card figure .scene-num{
  position: absolute;
    top: 0;
    left: 5px;
    width: 40%;
    max-width: 128px;
}
.about-satogumi-grid .about-satogumi-card:nth-child(even) figure .scene-num{
  left: auto;
    right: 5px;
}
.about-satogumi-card figure .about-satogumi-img{
  
}
.about-satogumi-text h3{
  font-size: 28px;
  color: #232E24;
    border-bottom: 1px solid #00FFA2;
  line-height: 1.6;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
/*----------------------------
        [about]ものづくりここまで
-----------------------------*/

/*----------------------------
        [about]特徴
-----------------------------*/
.about-features{
  padding-top: 45px;
  padding-bottom: 0;
}
.about-features{
  /*background-color: #8CCB5E;*/
}
.about-features-title.title-template01 h2 span::after{
  background: url("../img/about/title-features.svg") no-repeat center/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.about-features-grid{
  display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
  padding-top: 20px;
}
.about-features-card{
  border: 2px solid #0F5339;
}
.about-features-card figure img{
  height: 200px;
  object-fit: cover;
}
.about-features-card-text{
  background-color: #0F5339;
    padding: 15px 12px;
  /*padding: 24px;*/
  /*color: rgba(35, 46, 36, 1);*/
}
.partner-voice .about-features-card-text{
  color: rgba(35, 46, 36, 1);
}
.about-features-card-text h6{
  text-align: center;
    font-size: 21px;
    margin-bottom: 5px;
}
.about-features-card-text blockquote{
  font-size: 16px;
    line-height: 1.8;
}
.crafting-landmarks{
  padding: 20px 0 0;
}
.crafting-landmarks .crafting-landmarks-text{
  position: relative;
  top: 20px;
  z-index: 1;
}
.crafting-landmarks .crafting-landmarks-img{
  position: relative;
    z-index: 2;
}
.about-features-card-text h6 br{
  display: none;
}

/*----------------------------
        [about]特徴ここまで
-----------------------------*/
/*----------------------------
        [company]タイトル
-----------------------------*/
.company-title{
  border-bottom: 1px solid #00FFA2;
}
.fixed-page-text .company-title-title.title-template01.title-template02 h2 span::after{
  background: url("../img/company/title-company.png") no-repeat left/contain;
  width: 322px;
    max-width: 322px;
    height: 70px;
}
/*----------------------------
        [company]タイトルここまで
-----------------------------*/

/*----------------------------
        [company]代表挨拶
-----------------------------*/
.company-message{
  padding-top: 25px;
}
.company-message-title.title-template01 h2 span::after{
  background: url("../img/company/title-message.svg") no-repeat center/contain;
  width: 321px;
    height: 70px;
    max-width: 321px;
    top: -40px;
}
.company-message-grid{
  color: #232E24;
  display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.company-message-card figure{
  position: relative;
    display: flex;
    justify-content: center;
}
.company-message-card figure img{
  width: 50%;
  object-fit: contain;
}
.company-message-card figure figcaption{
  font-size: 16px;
    font-weight: bold;
    background-color: #00FFA299;
    padding: 7px 12px;
    position: absolute;
    bottom: 40px;
    left: 0;
}
.company-message-text h3{
  border-bottom: 1px solid #00FFA2;
    color: #232E24;
    font-size: 28px;
    padding-bottom: 15px;
}
.company-message-text blockquote{
  padding-top: 15px;
}
.company-message-grid .company-message-card:last-child figure figcaption{
  left: auto;
  right: 0;
}

/*----------------------------
        [company]代表挨拶ここまで
-----------------------------*/

/*----------------------------
        [company]会社概要
-----------------------------*/
.company-profile-title.title-template01 h2 span::after{
  background: url("../img/company/title-profile.svg") no-repeat center/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.company-profile-table{
  margin-bottom: 40px;
}
.company-profile-table tr:not(:last-child){
  border-bottom: 1px solid #232E24;
}
.company-profile-table tr td:last-child{
  border: none;
  font-weight: 400;
}
.company-profile-table table{
  border: 1px solid #232E24;
  /*border-top: 1px solid #232E24;*/
  max-width: 1000px;
    margin: 0 auto;
}
.company-profile-table tr td{
  padding-top: 13px !important;
    padding-bottom: 13px !important;
}
.company-profile-table tr td:first-child{
  border: none;
  position: relative;
  font-weight: 700;
  display: flex;
    align-items: center;
}
.company-profile-table tr td:first-child::after{
  content: "";
  width: 30px;
  height: 1px;
  background-color: #00FFA2;
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%) rotate(-25deg);
  z-index: 1;
}
@media screen and (max-width: 782px) {
  .company-profile-table tr td:first-child::after{
    right: 0;
  }
}
.company-profile-table tr{
  display: grid;
    grid-template-columns: 1fr 1.7fr;
}
.company-profile-table tr td span{
  display: none;
}
.company-profile-map{
  max-width: 1000px;
    margin: 0 auto;
}
.company-profile-map iframe{
  max-height: 300px;
}

/*----------------------------
        [company]会社概要ここまで
-----------------------------*/

/*----------------------------
    [company]取引先企業一覧
-----------------------------*/
.company-client-list figure{
  max-width: 1000px;
  margin: 0 auto;
}
.company-client-list-title.title-template01 h2 span::after{
  background: url("../img/company/title-client-list.svg") no-repeat center/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.company-client-list-text{
  background-color: #232E24;
    padding: 20px 30px;
  margin-bottom: 40px;
  max-width: 1000px;
  margin: 0 auto 30px;
}
.company-client-list-text blockquote{
  font-family: "Inter", sans-serif;
    font-size: 16px;
  line-height: 2;
  display: flex;
    flex-wrap: wrap;
}
.company-client-list figure img{
  opacity: .5;
}
.client-list-pc{
  display: none;
}

/*----------------------------
  [company]取引先企業一覧ここまで
-----------------------------*/

/*----------------------------
  [company]沿革ここまで
-----------------------------*/
.company-history-title.title-template01 h2{
  color: #232E24;
}
.company-history-title.title-template01 h2 span::after{
  background: url("../img/company/title-history.svg") no-repeat center/contain;
  width: 180px;
    height: 50px;
    max-width: 314px;
    top: -20px;
}
#timeline-content {
  margin-top: 50px;
  font-family: "Inter", sans-serif;
}
/* Timeline */
.timeline {
  position: relative;
  /*padding: 50px;*/
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline .event {
  padding-bottom: 30px;
  position: relative;
  font-size: 16px;
  display: flex;
    gap: 10px;
    padding-left: 22px;
  color: #232E24;
}
.timeline .event:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}
.timeline .event:not(:last-child)::before{
  content: "";
  width: 1px;
  height: 100%;
  background-color: #0F5339;
  position: absolute;
  left: 8px;
    top: 10px;
  z-index: 1;
}
.timeline .event:after {
  left: 0;
  background: #0F5339;
  border-radius: 50%;
  height: 16px;
  width: 16px;
  content: "";
  top: 5px;
  position: absolute;
  display: block;
}
.timeline .event h6{
  width: fit-content;
    font-weight: 400;
  color: #232E24;
}
.timeline .event p{
  flex: 1;
}

/*----------------------------
  [company]沿革ここまで
-----------------------------*/

/*----------------------------
  [company]里組の取り組み
-----------------------------*/
.company-initiatives{
  padding-bottom: 0;
}
.company-initiatives-title.title-template01 h2{
  color: #232E24;
}
.company-initiatives-title.title-template01 h2 span::after{
  background: url("../img/company/title-initiatives.svg") no-repeat center/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}

.company-initiatives-content.c-padding{
  padding-top: 30px;
}

.company-initiatives-h1{
  margin-bottom: 22px;
}
.company-initiatives-h1 h1{
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 600;
  border-bottom: 1px solid #fff;
  text-shadow: 1px 2px 2px rgba(15, 83, 57, 0.8);
  padding-bottom: 15px;
}
.company-initiatives-h1 span{
  font-size: 32px;
  font-weight: 700;
}
.company-initiatives-card{
  padding-bottom: 20px;
  margin-bottom: 22px;
}
.company-initiatives-grid .company-initiatives-card:last-child{
  padding-bottom: 0;
    margin-bottom: 0;
}
.company-initiatives-grid .company-initiatives-card:not(:last-child){
  border-bottom: 1px solid #fff;
}
.company-initiatives-img{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 25px;
}
.company-initiatives-img h5{
  font-size: 20px;
}
.company-initiatives-img figure{
  background-color: rgba(255, 255, 255, .8);
    border-radius: 8px;
  width: 200px;
    max-width: 200px;
    height: 200px;
  display: flex;
    justify-content: center;
    align-items: center;
}
.company-initiatives-img figure img{
  /*max-width: 200px;*/
  max-height: 185px;
  object-fit: contain;
  width: 93%;
}
.company-initiatives-card blockquote{
  color: #232E24;
    font-weight: 500;
}
.company-initiatives-more.btn-template01 a{
  max-width: 352px;
  padding: 35px 0;
}
.company-initiatives-more.btn-template01 a .arrow-icon{
  font-size: 20px;
  font-weight: 700;
}

.company-initiatives .crafting-landmarks{
  padding: 0 0 20px;
}

/*----------------------------
  [company]里組の取り組みここまで
-----------------------------*/

/*----------------------------
        [service]タイトル
-----------------------------*/
.service-title{
  border-bottom: 1px solid #00FFA2;
}
.fixed-page-text .service-title-title.title-template01.title-template02 h2 span::after{
  background: url("../img/service/title-service.png") no-repeat left/contain;
  width: 322px;
    max-width: 322px;
    height: 70px;
}
/*----------------------------
        [service]タイトルここまで
-----------------------------*/

/*----------------------------
        [service]型枠工事の流れ
-----------------------------*/
.service-formwork{
  padding-top: 20px;
  padding-bottom: 0;
}
.service-formwork-title.title-template01 h2 span::after{
  background: url("../img/service/title-formwork.svg") no-repeat center/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.service-formwork-grid{
  padding-top: 30px;
}
.service-formwork-card{
  padding-bottom: 30px;
  display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-formwork-img{
  display: flex;
    flex-direction: column;
    gap: 5px;
}
.service-formwork-img h3{
  color: #232E24;
    font-size: 24px;
    position: relative;
    text-align: end;
    padding-top: 5px;
}
.service-formwork-img h3::before{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: -7px;
  left: 0;
  z-index: 1;
}
.service-formwork-grid .service-formwork-card:first-child .service-formwork-img h3::before{
  background: url("../img/service/step1.svg")no-repeat left bottom / contain;
}
.service-formwork-grid .service-formwork-card:nth-child(2) .service-formwork-img h3::before{
  background: url("../img/service/step2.svg")no-repeat left bottom / contain;
}
.service-formwork-grid .service-formwork-card:nth-child(3) .service-formwork-img h3::before{
  background: url("../img/service/step3.svg")no-repeat left bottom / contain;
}
.service-formwork-grid .service-formwork-card:nth-child(4) .service-formwork-img h3::before{
  background: url("../img/service/step4.svg")no-repeat left bottom / contain;
}
.service-formwork-grid .service-formwork-card:nth-child(5) .service-formwork-img h3::before{
  background: url("../img/service/step5.svg")no-repeat left bottom / contain;
}
.service-formwork-grid .service-formwork-card:nth-child(6) .service-formwork-img h3::before{
  background: url("../img/service/step6.svg")no-repeat left bottom / contain;
}
.service-formwork-grid .service-formwork-card:last-child .service-formwork-img h3::before{
  background: url("../img/service/step7.svg")no-repeat left bottom / contain;
}

.service-formwork-img figure{
  display: flex;
    justify-content: end;
}
.service-formwork-img figure img{
  width: 80%;
  height: 160px;
    object-fit: cover;
}
.service-formwork-card > blockquote{
  line-height: 1.6;
    padding-bottom: 10px;
    border-bottom: 1px solid #019007;
}
.service-formwork .l-container > blockquote{
  color: #232E24;
  font-weight: 400;
  padding-bottom: 20px;
}
.service-formwork .l-container > a figure img{
  border: 2px solid #fff;
    border-radius: 12px;
}

/*----------------------------
        [service]型枠工事の流れここまで
-----------------------------*/

/*----------------------------
    [news-project]タイトル
-----------------------------*/
.news-project-title{
  border-bottom: 1px solid #00FFA2;
}
.news-project-title-title.title-template01 h2 span::after{
  background: url("../img/news-project/title-project.png") no-repeat left/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}

/*----------------------------
    [news-project]タイトルここまで
-----------------------------*/

/*----------------------------
    [news-project]施工事例
-----------------------------*/
.news-project-list{
  padding-top: 20px;
  padding-bottom: 0;
}

.news-project-flex-title{
  display: none;
}

#tab-1 .news-project-list-title.title-template01 h2 span::after, 
.project-list-title-sp.news-project-list-title.title-template01 h2 span::after{
  background: url("../img/news-project/title-project02.svg") no-repeat left/contain;
  width: 254px;
    height: 72px;
    max-width: 314px;
    top: -42px;
}
#tab-2 .news-project-list-title.title-template01 h2 span::after, 
.news-list-title-sp.news-project-list-title.title-template01 h2 span::after{
  background: url("../img/news-project/title-news.svg") no-repeat left/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}

.tab-container ul {
  display: flex;
  position: relative;
  gap: 20px;
  margin-bottom: 30px;
}

/*.slide-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(33.333% - 6px);
  height: calc(100% - 8px);
  background: #e0e0e0;
  border-radius: 6px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}*/

.tab-container ul li {
  flex: 1;
  position: relative;
  text-align: center;
  margin: 0 1px;
  padding: 16px 24px;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  border: 1px solid #00FFA2;
  transition: .3s;
}

.tab-container ul li.selected {
  background-color: #232E24;
  font-weight: 500;
}
.tab-container ul li span:first-child{
  font-family: "Konkhmer Sleokchher", system-ui;
    color: #00FFA2;
    font-size: 24px;
}

.tab-container ul li:not(.selected):hover {
  /*color: #666;*/
  background: #232E24;
}

.tab-container .tab-content {
  display: none;
  min-height: 150px;
  color: #666;
  line-height: 1.6;
}

.tab-container .tab-content.selected {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.view-more-container {
  text-align: center;
  border-top: 2px solid #00FFA2;
}

.view-more-btn {
  font-family: "Konkhmer Sleokchher", system-ui;
    border: none;
  padding: 12px 25px 12px 0;
  background: transparent;
  color: #00FFA2;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}
.view-more-btn::after{
  content: "";
  width: 16px;
  height: 8px;
  background: url("../img/icon/drop_down.svg") no-repeat center/contain;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.view-more-btn:hover {
  /*background: #00FFA2;
  color: #232E24;*/
}

/* 外側のタイトルは基本非表示 */
.project-list-title-sp,
.news-list-title-sp {
    display: none;
}

/* selectedクラスがついている方だけ表示（ふわっと出したい場合はanimationも流用可能） */
.project-list-title-sp.selected,
.news-list-title-sp.selected {
    display: block;
    animation: fadeIn 0.3s ease; /* タブの中身と同じアニメーション */
}
.news-project-card{
  display: block;
  text-decoration: none;
  width: 100%;
  
  min-width: 0; 
  box-sizing: border-box; /* 念のため追加 */
}
.news-project-card a {
  display: block;
  text-decoration: none;
  width: 100%;
  transition: .3s;
}
.news-project-card a:hover{
  opacity: .7;
}
.news-project-card figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10; /* 画像の高さを揃えると綺麗になります */
  background: #eee;
}

.news-project-card figure img {
  width: 100% !important;  /* 親要素(figure)の幅に100%合わせる */
  height: 100% !important; /* aspect-ratioを使う場合はheightも100% */
  object-fit: cover;       /* 比率を保ったまま切り抜き（引き伸ばし防止） */
  display: block;
}

/* --- グリッドの制御 --- */
.news-project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  width: 100%;
  margin-bottom: 30px;
}
.news-project-card-text{
  color: #232E24;
  padding-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.news-project-card-text time{
  font-family: "Konkhmer Sleokchher", system-ui;
    font-weight: 400;
    font-size: 16px;
}
.news-project-card-text p{
  overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  position: relative;
  padding-left: 25px;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.news-project-card-text p span{
  border-bottom: 1px solid #232E24;
}
.news-project-card-text p::before{
  content: "";
  width: 20px;
  height: 20px;
  background: url("../img/icon/arrow02.svg") no-repeat center/contain;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/*----------------------------
    [news-project]施工事例ここまで
-----------------------------*/

/*----------------------------
    [single]投稿詳細
-----------------------------*/
.single-title, .single-detail{
}

.single-title-title.title-template01 h2 span::after {
    content: ""; /* これが必要 */
    position: absolute;
    width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
    left: 0;
}
.single-title-title.is-project.title-template01 h2 span::after {
    background: url("../img/news-project/title-project.svg") no-repeat left/contain;
}
.single-title-title.is-news.title-template01 h2 span::after {
    background: url("../img/news-project/title-news.svg") no-repeat left/contain;
}

.fixed-page-text .single-time-title{
  display: none;
}
.single-btn{
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
}
.single-btn a{
  padding: 2px 15px;
    border: 1px solid #00FFA2;
  background-color: rgba(1, 176, 112, 1);
  transition: .3s;
}
.single-btn a:hover{
  background-color: rgba(35, 46, 36, 1);
}
.single-btn .single-prev span, 
.single-btn .single-next span{
  position: relative;
}
.single-btn .single-prev span{
  padding-left: 12px;
}
.single-btn .single-next span{
  padding-right: 12px;
}
.single-btn .single-prev span::before, 
.single-btn .single-next span::after{
  content: "";
  width: 7px;
  height: 13px;
  background: url("../img/icon/arrow03.svg") no-repeat center/contain;
  position: absolute;
  top: 7px;
  /*transform: translateY(-50%);*/
  z-index: 1;
}
.single-btn .single-prev span::before{
  left: 0;
} 
.single-btn .single-next span::after{
  right: 0;
  transform: rotate(180deg);
}
.single-time-title{
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.single-time-title time span{
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid #fff;
  border-radius: 3px;
    padding: 5px 10px;
}
.single-time-title p{
  font-size: 20px;
  font-weight: 700;
}
.single-detail figure{
  margin-bottom: 30px;
}

/*----------------------------
    [single]投稿詳細ここまで
-----------------------------*/

/*----------------------------
    [recruit]タイトル
-----------------------------*/
.recruit-title{
  
}
#recruit-title .fixed-page-container-pc.l-container{
  padding-left: var(--ark-padding--container);
  padding-right: var(--ark-padding--container);
}
.recruit-title-grid{
  padding-top: 25px;
}
.recruit-title-img, .recruit-title-img figure{
  position: relative;
}
.recruit-title-img figure{
  top: 20px;
}
.recruit-title-img::before{
  content: "";
  background: url("../img/recruit/title-recruit.png") no-repeat left/contain;
  width: 322px;
    max-width: 322px;
    height: 70px;
  top: 0;
  transform: none;
    left: 0;
  position: absolute;
  z-index: 1;
}
.recruit-title-img::after{
  content: "";
    background: url(../img/icon/stripe.png) no-repeat top right / contain;
    width: 100%;
    height: 40%;
    max-height: 80px;
    position: absolute;
    top: 0;
    right: calc(50% - 50vw);
    z-index: 0;
}
.recruit-title-img figure img{
  position: relative;
  z-index: 3;
}
.recruit-title-img figure figcaption{
  color: #00FFA2;
  font-size: 24px;
  font-weight: 700;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
}
.fixed-page-text .recruit-title-title.title-template01.title-template02 h2 span::after{
  background: url("../img/recruit/title-recruit.png") no-repeat left/contain;
  width: 322px;
    max-width: 322px;
    height: 70px;
}
#recruit-title .fixed-page-text-p-sp p{
  font-size: 20px;
    font-family: var(--ark-font-base);
}
#recruit-title .fixed-page-text-p-sp p:last-child{
  text-align: end;
  margin-top: 20px;
}
.recruit-title-text{
  display: none;
}
.recruit-title-text .l-container{
  padding: 0;
}
#recruit-title .fixed-page-text-p-sp{
  padding-top: 50px;
}
.r-t-br-pc{
  display: none;
}
.recruit-title-img figure img.craft-img{
  position: absolute;
    bottom: -45px;
    left: 0;
    width: 70%;
}
/*----------------------------
    [recruit]タイトルここまで
-----------------------------*/

/*----------------------------
    [recruit]先輩の声
-----------------------------*/

.recruit-voice{
  position: relative;
}
.recruit-voice-title.title-template01.title-template02 h2 span::after{
  background: url("../img/recruit/title-voice.svg") no-repeat left/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.recruit-voice-title{
  display: flex;
    flex-direction: column;
    gap: 20px;
}
.recruit-voice-title p{
  font-size: 20px;
    line-height: 1.8;
}
.recruit-voice-card .about-features-card-text p{
  text-align: end;
}
.recruit-voice-bg{
  background: url("../img/recruit/voice00.webp") no-repeat top/contain;
  padding-top: 50px;
}
.voice-pc{
  display: none;
}

/*----------------------------
    [recruit]先輩の声ここまで
-----------------------------*/

/*----------------------------
    [recruit]数字で見る
-----------------------------*/
.recruit-testimonials{
  
}
.recruit-testimonials-title.title-template01 h2 span::after{
  background: url("../img/recruit/title-testimonials.svg") no-repeat center/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.recruit-testimonials-grid{
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.recruit-testimonials-card{
  border: 2px solid #00FFA2;
    padding: 10px;
}
.recruit-testimonials-card figure{
  background: rgba(255, 255, 255, .3);
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.recruit-testimonials-card figure img{
  aspect-ratio: 1 / 1;
    max-height: 86px;
}
.recruit-testimonials-text{
  text-align: center;
  font-weight: 700;
}
.recruit-testimonials-text h6{
  font-size: 24px;
    white-space: nowrap;
  margin-bottom: 10px;
}
.recruit-testimonials-text p{
  font-size: 24px;
  line-height: 1;
}
.recruit-testimonials-text p .count-up{
  font-size: 40px;
}
.recruit-testimonials-text p .testimonials-large{
  font-size: 40px;
}
.recruit-testimonials-text p .testimonials-small{
  font-size: 16px;
  white-space: nowrap;
}

/*----------------------------
    [recruit]数字で見るここまで
-----------------------------*/

/*----------------------------
    [recruit]福利厚生
-----------------------------*/
.recruit-benefits{
  
}
.recruit-benefits-title{
  margin-bottom: 20px;
}
.recruit-benefits-title h2{
  text-align: center;
    color: #D6EF06;
    padding-top: 15px;
    border-top: 1px solid #D6EF06;
}
.recruit-benefits-flex{
  display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 15px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}
.recruit-benefits-flex span{
  border: 1px solid #D6EF06;
    border-radius: 9999px;
  padding: 3px 18px;
    font-size: 24px;
}

/*----------------------------
    [recruit]福利厚生ここまで
-----------------------------*/

/*----------------------------
    [recruit]募集要項
-----------------------------*/
.recruit-details{
  padding-bottom: 0;
}
.recruit-details-title.title-template01 h2 span::after{
  background: url("../img/recruit/title-details.svg") no-repeat left/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.recruit-details-card.company-profile-table table {
  border: 1px solid #019007;
  background-color: #fff;
    color: #232E24;
}
.recruit-details-card.company-profile-table tr td:first-child, 
.company-profile-table tr td:last-child{
  border: none;
}
.recruit-details-card.company-profile-table tr{
  border-bottom: 1px solid #019007;
}
.recruit-details-card.company-profile-table tr td:first-child::after{
  background-color: #232E24;
}


/*----------------------------
    [recruit]募集要項ここまで
-----------------------------*/

/*----------------------------
    [partner]タイトル
-----------------------------*/
.partner-title{
  
  border-bottom: 1px solid #00FFA2;
}
.partner-title-title.title-template01 h2 span::after{
  background: url("../img/partner/title-partner.svg") no-repeat left/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.partner-title .l-container > .l-container.fixed-page-text-p-sp p{
  display: none;
}
.fixed-page-text p.fixed-page-text-p-pc{
  display: block;
  margin-bottom: 15px;
}

/*-----------
.partner-title-special
-------------*/
/* --- 特別レイアウトエリアの親 --- */
.partner-title-special {
  display: flex;
  width: 100%;
  /*height: 500px;*/
  height: 120px;
  overflow: hidden;
  
}

/* --- 各画像コンテナの共通設定 --- */
.special-item {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.special-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を比率維持でいっぱいに表示 */
  display: block;
}

/* --- 個別設定（斜めのカットと幅の調整） --- */

/* 左：赤エリア (一番広く設定) */
.special-item.is-red {
  flex: 2; 
  /* 右側を斜めにカット (\ の形) */
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  z-index: 1;
}

/* 中央：青エリア */
.special-item.is-blue {
  flex: 1;
  /* 左側のカットに合わせるため少し左に寄せて重ねる */
  margin-left: -8%; 
  /* 両サイドを斜めにカット */
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  z-index: 2;
}

/* 右：黄緑エリア */
.special-item.is-green {
  flex: 1;
  /* 左側のカットに合わせるため少し左に寄せて重ねる */
  margin-left: -8%;
  /* 左側だけ斜めにカット */
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
}
.p-t-s-pc.partner-title-special{
  display: none;
}

.partner-title .partner-title-special .special-item.is-red.u-fade-up{
  transform: translate(-25px, 25px);
}
.partner-title .partner-title-special .special-item.is-red.u-fade-up.is-animated{
  transform: translate(0);
}
.partner-title .partner-title-special .special-item.is-blue.u-fade-up{
  transform: translate(25px, 25px);
}
.partner-title .partner-title-special .special-item.is-blue.u-fade-up.is-animated{
  transform: translate(0);
}
.partner-title .partner-title-special .special-item.is-green.u-fade-up{
  transform: translate(25px, 25px);
}
.partner-title .partner-title-special .special-item.is-green.u-fade-up.is-animated{
  transform: translate(0);
}

/*----------------------------
    [partner]タイトルここまで
-----------------------------*/

/*----------------------------
    [partner]募集について
-----------------------------*/
.partner-about{
  
}
.partner-about-title.title-template01 h2 span::after{
  background: url("../img/partner/title-about.svg") no-repeat center/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.partner-about-title.title-template01 h2 span{
  color: #232E24;
}
.partner-about-text blockquote{
  font-size: 24px;
    text-align: center;
    color: #232E24;
}


/*----------------------------
    [partner]募集についてここまで
-----------------------------*/

/*----------------------------
    [partner]パートナー様へ
-----------------------------*/
.partner-for{
  
}
.partner-for-bg{
  position: relative;
  padding-top: 60px;
}
.partner-for-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/partner/for-bg.webp") no-repeat center/cover;
  
  z-index: 1;
  opacity: .3;
}
.partner-for .l-container{
  position: relative;
    z-index: 2;
  /*padding-bottom: 25px;*/
}
.partner-for-title h1{
  text-align: center;
    text-shadow: 1px 2px 2px rgba(15, 83, 57, 0.8);
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 32px;
}
.partner-for-title p{
  color: #232E24;
  font-size: 24px;
    font-weight: 500;
}
.partner-for-title{
  display: flex;
    flex-direction: column;
    gap: 30px;
}
.partner-for .about-features-grid{
  padding-top: 40px;
}

/*----------------------------
    [partner]ポイント
-----------------------------*/
.partner-point{
  
}
.partner-point-wrap .partner-point-card:not(:first-child){
  padding-top: 20px;
}
.partner-point-title.title-template01 h2 span::after{
  width: 231px;
    height: 72px;
    max-width: 314px;
    top: -60px;
}
.point01.partner-point-title.title-template01 h2 span::after{
  background: url("../img/partner/title-point1.svg") no-repeat left/contain;
}
.point02.partner-point-title.title-template01 h2 span::after{
  background: url("../img/partner/title-point2.svg") no-repeat left/contain;
}
.point03.partner-point-title.title-template01 h2 span::after{
  background: url("../img/partner/title-point3.svg") no-repeat left/contain;
}
.partner-point-title.title-template01 h2 span{
  color: #232E24;
}
.partner-point-card{
  border-bottom: 1px solid #019007;
  display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 10px;
}
.partner-point-title.title-template01 h2{
  position: relative;
  font-size: 24px;
}
.partner-point-title.title-template01 h2::after{
  content: "";
  width: 512px;
  height: 45px;
  background: url("../img/partner/stripe.svg") no-repeat left/contain;
  position: absolute;
  bottom: 0;
  left: calc(100% + var(--ark-padding--container) - 50px);
}
.partner-point-grid figure{
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
}
.partner-point-grid figure img{
  aspect-ratio: 1 / 1;
    max-width: 300px;
}
.partner-point-wrap .partner-point-card:nth-child(2) .partner-point-grid .partner-point-title{
  order: 2;
}
.partner-point-wrap .partner-point-card:nth-child(2) .partner-point-grid {
  grid-template-columns: 300px 1fr;
}

.partner-point-wrap .partner-point-card:nth-child(2) .partner-point-grid figure{
  order: 1;
}

/*----------------------------
    [partner]ポイントここまで
-----------------------------*/

/*----------------------------
    [partner]パートナー様の声
-----------------------------*/
.partner-voice{
  padding-bottom: 0;
}
.partner-voice-title.title-template01 h2 span::after{
  background: url("../img/partner/title-voice.svg") no-repeat left/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.partner-voice .about-features-card-text{
  background-color: #8CCB5E;
}
.partner-voice .about-features-card {
  border: none;
}

/*----------------------------
    [partner]パートナー様の声ここまで
-----------------------------*/

/*----------------------------
    [sgds]タイトル
-----------------------------*/
.sdgs-title{
  position: relative;
}
.sdgs-title::before{
  content: "";
  width: 100%;
  height: 100%;
  max-height: 150px;
  
    background: linear-gradient(to bottom, rgba(14, 53, 38, 1) 50%, transparent 100%);
  position: absolute;
  top: 0;
  z-index: 1;
  /*var(--ark-color--header_bg,#fff)*/
}
.sdgs-title-bg {
  position: relative;
  margin-bottom: 25px;
}
.sdgs-title-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/sdgs/title-background.webp") no-repeat center/cover;
  
  /*-webkit-mask-image: linear-gradient(
    to bottom, 
    transparent 0%, 
    black 15%, 
    black 85%, 
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom, 
    transparent 0%, 
    black 15%, 
    black 85%, 
    transparent 100%
  );*/
  
  -webkit-mask-image: linear-gradient(
    to bottom, 
    transparent 0%, 
    black 45%, 
    black 85%, 
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom, 
    transparent 0%, 
    black 45%, 
    black 85%, 
    transparent 100%
  );
  
  z-index: 1;
}
.sdgs-title-text > blockquote{
  line-height: 2;
}
.sdgs-title-text{
  display: flex;
    flex-direction: column;
    gap: 30px;
}
.sdgs-title .l-container{
  position: relative;
    z-index: 2;
  padding-bottom: 25px;
}
.sdgs-title-bg::after{
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url("../img/sdgs/title-wood-sp.webp") no-repeat right/contain;
  z-index: 3;
}
.sdgs-title-group{
  display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.sdgs-title-group h6{
  color: #00FFA2;
    font-size: 24px;
}
.sdgs-title .l-container > figure img{
  width: 50%;
}
.sdgs-title-border{
  color: #232E24;
    border: 1px solid #232E24;
    border-radius: 20px;
    padding: 24px;
}
.sdgs-title-border h6{
  font-size: 24px;
  text-align: center;
}
.sdgs-title-border blockquote{
  margin: 5px 0 20px;
}

/*----------------------------
    [sgds]タイトルここまで
-----------------------------*/

/*----------------------------
    [sgds]initiative(取り組み)
-----------------------------*/
.sdgs-initiative{
  
}
.sdgs-initiative-title.title-template01 h2 span::before{
  content: "";
  background-color: rgba(15, 83, 57, .5);
  width: 100%;
  height: 100%;
  position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.sdgs-initiative-title.title-template01 h2 span span::before{
  display: none;
}
.sdgs-initiative-title.title-template01 h2 span::after{
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -60px;
}
.sdgs-initiative > .l-container{
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sdgs-initiative-card h6{
  text-align: center;
    font-weight: 500;
    font-size: 20px;
    color: #232E24;
    background-color: rgba(255, 255, 255, .5);
    line-height: 2;
}
.sdgs-initiative .title-template01.title-template02{
  padding-top: 35px;
  margin-bottom: 30px;
}
.sdgs-initiative .title-template01 h2{
  font-size: 24px;
}
.initiative01.sdgs-initiative-title.title-template01 h2 span::after{
  background: url("../img/sdgs/title-Initiative01.svg") no-repeat left/contain;
}
.initiative02.sdgs-initiative-title.title-template01 h2 span::after{
  background: url("../img/sdgs/title-Initiative02.svg") no-repeat left/contain;
}

/* 追加・修正 */
.sdgs-initiative-title.title-template01 h2 span {
    display: inline-block; /* 位置とサイズ計算を安定させる */
    position: relative;
}

/* SVG（英語部分）の設定修正 */
.sdgs-initiative-title.title-template01 h2 span::after {
    width: 190%;
    /* height: 115%;  ← これが原因で改行時にサイズが変わる */
    height: 70px;    /* 適切な固定の高さ(px)に変更してください */
    max-width: 314px;
    top: -50px;
    background-size: contain; /* サイズを維持 */
}
.sdgs-initiative-grid{
  display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
      margin-bottom: 30px;
}
.sdgs-initiative-grid blockquote{
  order: 2;
  line-height: 2;
}
.sdgs-initiative-grid figure{
  order: 1;
  display: flex;
    width: 100%;
    gap: 15px;
  justify-content: center;
}
.sdgs-initiative-grid figure img{
  min-width: 0;
  max-width: 110px;
}
.sdgs-initiative-wrap{
  position: relative;
  margin-bottom: 35px;
}
.sdgs-initiative-wrap::before, 
.s-i-img-border::before{
  content: "";
  width: 8px;
  height: 1px;
  border-top: 1px solid #232E24;
  position: absolute;
  top: 9px;
  left: 100%;
}
.sdgs-initiative-wrap::after, 
.s-i-img-border::after{
  content: "";
  width: 1px;
  height: 8px;
  border-left: 1px solid #232E24;
  position: absolute;
  top: 100%;
  left: 9px;
}
.sdgs-initiative-text {
  border: 1px solid #232E24;
  color: #232E24;
  padding: 16px;
  position: relative;
  background-color: transparent;
  z-index: 1;
}
.s-i-img-border figure, 
.s-i-img-border{
  position: relative;
}
.s-i-img-border figure{
  border: 1px solid #232E24;
}

/* ズレている枠線を作る */
.sdgs-initiative-text::after, 
.s-i-img-border figure::after{
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 100%;
  height: 100%;
  border-right: 1px solid #232E24;
    border-bottom: 1px solid #232E24;
  z-index: 0;
  pointer-events: none;
}
.s-i-img-border figure{
  position: relative;
}
.sdgs-initiative-text > p{
  font-size: 21px;
    font-weight: 500;
    padding-left: 15px;
    border-bottom: 1px solid #232E24;
}
.sdgs-initiative-text ul{
  list-style: disc;
    padding-left: 1.8rem;
    font-size: 20px;
    font-weight: 700;
  padding-top: 15px;
}
.sdgs-initiative-text ul li p{
  font-size: 16px;
  line-height: 1.6;
}
.sdgs-initiative .sdgs-initiative-card:last-child .sdgs-initiative-img{
  display: flex;
    gap: 20px;
}
.sdgs-initiative .sdgs-initiative-card:last-child ..sdgs-initiative-grid figure img{
  
}
.sdgs-initiative-container{
  padding-top: 20px;
}

/*----------------------------
    [sgds]initiative(取り組み)ここまで
-----------------------------*/

/*----------------------------
    [sgds]SDGs宣言
-----------------------------*/
.sdgs-declaration{
  position: relative;
  padding-top: 55px;
    padding-bottom: 55px;
}
.sdgs-declaration::before{
  content: "";
  width: 100%;
  height: 100%;
  background: url("../img/sdgs/declaration-bg.webp") no-repeat center/cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
    opacity: .3;
}
.sdgs-declaration-wrap{
  background-color: rgba(255, 255, 255, .7);
    color: #232E24;
    padding: 24px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.sdgs-declaration-wrap h1{
  color: #232E24;
    font-size: 24px;
    line-height: 1.4;
  text-align: center;
}
.sdgs-declaration-wrap h1 span{
  font-size: 48px;
}
.sdgs-declaration-wrap ul{
  counter-reset: num;
  padding-left: 0;
  display: flex;
    flex-direction: column;
    gap: 20px;
}
.sdgs-declaration-wrap ul li{
  counter-increment: num;
  position: relative;
  padding-left: 2em;
  font-size: 24px;
  font-weight: 700;
  font-family: "BIZ UDPGothic", sans-serif;
  border-bottom: 1px solid #232E24;
    padding-bottom: 5px;
}

.sdgs-declaration-wrap ul li::before{
  content: counter(num) ".";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  font-weight: 700;
  color: #232E24;
  font-family: var(--ark-font-base);
}
.sdgs-declaration-wrap ul li span{
  font-weight: 400;
}

/*----------------------------
    [sgds]SDGs宣言ここまで
-----------------------------*/

/*----------------------------
    [contact]タイトル
-----------------------------*/
.contact-title{
  border-bottom: 1px solid #00FFA2;
}
.fixed-page-text .contact-title-title.title-template01.title-template02 h2 span::after{
  background: url("../img/contact/title-contact.png") no-repeat left/contain;
  width: 322px;
    max-width: 322px;
    height: 70px;
}

/*----------------------------
    [contact]タイトルここまで
-----------------------------*/

/*----------------------------
    [contact]お問い合わせ
-----------------------------*/
.contact-form{
  padding-top: 40px;
  color: #232E24;
}

.p-country-name-none{
  display: none;
}
.contact-tab-nav {
  display: grid;
    grid-template-columns: 1fr 1fr;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.tab-btn {
  border: 1px solid #00FFA2;
  cursor: pointer;
  font-weight: 500;
  color: #fff;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
  background: transparent;
  transition: .3s;
}
.tab-btn:hover{
  background: #232E24;
}
.tab-btn.is-active {
  background: #232E24;
}
.tab-btn span{
  font-family: "Konkhmer Sleokchher", system-ui;
  font-size: 24px;
  font-weight: 400;
  color: #00FFA2;
}
.tab-panel {
  display: none;
}
.tab-panel.is-show {
  display: block;
}

.form-container {
  max-width: 1000px;
  margin: 0 auto;
}
.form-group{
  border-bottom: 1px solid #232E24;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
}
.form-policy-group.form-group{
  border-bottom: none;
}
.form-group > p{
  display: none;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-row > p{
  display: none;
}
@media (min-width: 768px) {
  .form-row {
    
  }
  .form-label {
    font-weight: bold;
  }
  .form-input {
    flex: 1;
  }
}
.form-label {
  font-size: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-label .hissu, .hissu{
  font-size: 16px;
  color: #fff;
  background-color: #CE0000;
  padding: 0 5px;
  border-radius: 3px;
}
.policy-check .mwform-checkbox-field-text{
  font-size: 20px;
    font-weight: 700;
  padding-left: 15px;
}
.form-input{
  
}
.form-input p:not(.example-p){
  display: none;  
}
.form-input p.example-p{
  
}
.form-radio.form-input{
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-radio.form-input > span{
  margin-left: 0 !important;
}
.form-radio.form-input label{
  font-size: 20px;
  font-weight: 500;
}
.form-input input[type="text"],
.form-input input[type="email"],
.form-input textarea {
  width: 100% !important;
}
.form-input input[type="text"], 
.form-input input[type="email"], 
.form-input textarea {
  padding: 8px;
  background-color: #D2EFE2;
  border: 1px solid #232E24;
  border-radius: 8px;
}
.form-input input[type="text"], 
.form-input input[type="email"]{
  height: 64px;
}
.form-mail-group .form-label br{
  display: none;
}
.policy-check .hissu, 
.policy-check br{
  display: none;
}

/* 住所検索ボタン */
.address-search-btn{
  display: flex;
  justify-content: flex-end;
}
.address-search-btn pre{ 
  display: inline-block; 
  margin-top: 10px; 
  padding: 5px 15px; 
  background: #333; 
  color: #fff; 
  font-size: 16px;
  font-weight: 500;
  cursor: pointer; 
  border-radius: 4px;
  transition: .3s;
}
.address-search-btn pre:hover{
  background: #0F5339;
}
.policy-check .mwform-checkbox-field label{
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-submit{
  display: flex;
    justify-content: center;
  margin-top: 20px;
}
.form-submit-btn{
  width: 240px;
  position: relative;
}
.form-submit input{
  width: 100%;
    font-size: 24px;
    color: #fff;
    border: 1px solid #00FFA2;
    background-color: #232E24;
    position: relative;
    padding: 18px 0;
  transition: .3s;
}
.form-submit input:hover{
  background-color: #0F5339;
}
.form-submit-btn::after{
  content: "";
  width: 8px;
  height: 16px;
  background: url(../img/icon/arrow03.svg) no-repeat center / contain;
  position: absolute;
    top: 50%;
    right: calc(50% - 85px);
    transform: translate(-50%, -50%) rotate(180deg);
}
.form-zip-wrap{
  padding-left: 50px;
  position: relative;
}
.form-zip-wrap::before{
  content: "〒";
  font-size: 24px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}


/* スクロールボックスの外枠 */
.form-policy-box {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 20px;
    border: 1px solid #ccc;
    background: #f9f9f9;
}

/* 内部のテキストエリア（ここを 500px 固定） */
.form-policy-content {
    height: 500px;
    overflow-y: scroll;
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
}

/* チェックボックスの配置調整 */
.form-policy-check {
    text-align: center;
    font-size: 16px;
    padding: 10px 0;
}

/* チェックボックス自体の大きさを少し調整（必要に応じて） */
.form-policy-check input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 10px;
    cursor: pointer;
}

/* ラジオボタン全体のスタイルリセットと調整 */
.smf-radio-button-control {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 30px; /* ボタンとラベルの間の余白 */
  min-height: 24px;
}

/* 既存のデフォルトチェックボックスを非表示 */
.smf-radio-button-control__control {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}

/* 外枠（未チェック状態：背景透明、枠線 #232E24） */
.smf-radio-button-control::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #232E24;
  border-radius: 50%;
  background-color: transparent;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* チェック時の中心の黒丸（最初は非表示） */
.smf-radio-button-control::after {
  content: "";
  position: absolute;
  left: 5px; /* (外枠20px - 内枠10px) / 2 */
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #232E24;
  transition: transform 0.2s ease;
}

/* チェックが入った時の挙動 */
.smf-radio-button-control__control:checked + .smf-radio-button-control__label::before {
  /* Snow Monkey Formsのデフォルトスタイルが干渉する場合はここを調整 */
}

/* inputがcheckedの時の疑似要素に対するスタイル変更 */
.smf-radio-button-control:has(.smf-radio-button-control__control:checked)::after {
  transform: translateY(-50%) scale(1);
}

/* ブラウザ互換性（:hasが使えない場合も考慮した一般的な書き方） */
.smf-radio-button-control__control:checked ~ .smf-radio-button-control__label::before {
  /* ここは今回::before/::afterを親に付けているので不要な場合があります */
}

/* ラベルテキストの調整 */
.smf-radio-button-control__label {
  margin-left: 5px;
  font-size: 16px;
  line-height: 1;
}
.naiyou div[role="radiogroup"]{
  display: flex;
    flex-direction: column;
    gap: 8px;
}
.contents .smf-item__controls{
  display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form .address-search{
  /*font-weight: 500;
  color: #fff;
  background-color: #232E24;
  border-radius: 5px;
  padding: 5px 10px;*/
}
.contact-form .address-search div{
  display: flex;
    justify-content: end;
}
.contact-form .address-search .address-search-p{
  display: inline-block;
  font-weight: 500;
    color: #fff;
    background-color: #232E24;
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
}
.contact-form .address-search .address-search-p:hover{
  background: #333;
}

.contact-form .smb-tab-panel{
  background: none;
  border: none;
  padding-left: 0;
  padding-right: 0;
}
.form-contact-title.title-template01 h2 span::after{
  background: url("../img/contact/title-contact02.svg")no-repeat left/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}
.form-entry-title.title-template01 h2 span{
  color: #232E24;
}
.form-entry-title.title-template01 h2 span::after{
  background: url("../img/contact/title-entry.svg") no-repeat left/contain;
  width: 190%;
    height: 115%;
    max-width: 314px;
    top: -37px;
}

#contact-thanks-title{
  /*padding-top: 40px;*/
}
.contact-thanks-title-grid.contact-thanks-title-grid{
  margin-bottom: 50px;
  display: grid;
    grid-template-columns: 1fr;
  padding-top: 40px;
}
.contact-thanks-title-img{
  display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.contact-thanks-title-img figure img{
  max-width: 50px;
}
.contact-thanks-container blockquote{
  line-height: 2;
}
#contact-form.contact-form-thanks{
  padding: 0;
}

/*------
 確認画面へボタン
------*/
.contact-form .smf-action{
  display: flex;
    justify-content: center;
}
.contact-form .smf-action button[type="submit"]{
  color: #fff;
    background-image: none;
    background-color: #232E24;
    border: 1px solid #00FFA2;
    border-radius: 0;
    font-size: 24px;
    padding: 12px 45px 12px 30px;
    display: flex;
}
.contact-form .smf-action button[type="submit"] span{
  position: relative;
    right: auto;
    top: auto;
  transform: none;
  visibility: visible;
}
.contact-form .smf-action button[type="submit"] span::before{
  display: none;
}
.contact-form .smf-action button[type="submit"] span::after{
  content: "";
  width: 9px;
  height: 16px;
  background: url("../img/icon/arrow03.svg") no-repeat center/contain;
  position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%) rotate(180deg);
}

/* チェックボックス本体のカスタマイズ */
.mwform-checkbox-field input[type="checkbox"] {
  /* ブラウザ標準の見た目を消す */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* 大きさを指定 */
  width: 24px;
  height: 24px;
  
  /* 枠線のスタイル */
  border: 2px solid #232E24;
  border-radius: 4px;
  background-color: #fff;
  
  /* 位置の微調整（テキストと中央を合わせる） */
  vertical-align: middle;
  cursor: pointer;
  position: relative;
  margin-right: 8px;
}

/* ホバー時の色（お好みで） */
.mwform-checkbox-field input[type="checkbox"]:hover {
  border-color: #00FFA2;
}

/* チェックが入った時の背景とレ点 */
.mwform-checkbox-field input[type="checkbox"]:checked {
  background-color: #232E24; /* チェック時の背景色 */
  border-color: #232E24;
}

/* チェックマーク（レ点）を疑似要素で作る */
.mwform-checkbox-field input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;  /* 位置調整 */
  top: 2px;   /* 位置調整 */
  width: 6px; /* レ点の幅 */
  height: 12px; /* レ点の高さ */
  border: solid #00FFA2; /* レ点の色 */
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/*------
 プライバシーポリシー
------*/
.policy-scroll-box {
    height: 500px;
    overflow-y: scroll;
    border: 1px solid #232E24;
    padding: 24px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
    /* スクロールバーのカスタマイズ（ブラウザ標準に任せるなら不要） */
    scrollbar-width: thin;
    scrollbar-color: #232E24 #eee;
}
.policy-scroll-box h5{
  font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
}
.policy-scroll-box h6{
  font-weight: 400;
}
.policy-scroll-box p{
  margin-bottom: 20px;
}
.policy-scroll-box a{
  color: #232E24;
    border-bottom: 1px solid #232E24;
}
/* Chrome用スクロールバー */
.policy-scroll-box::-webkit-scrollbar {
  width: 6px;
}
.policy-scroll-box::-webkit-scrollbar-thumb{
  background: #232E24;
  border-radius: 10px; 
}
.policy-scroll-wrap > p{
  
}
.policy-scroll-wrap > p span{
  
}

.contact-form-input .input-off, 
.contact-form-input .check-on, 
.contact-form-check .check-off, 
.contact-form-check .input-on, 
.contact-form-check .form-input p.example-p, 
.contact-form-check .hissu, 
.contact-form-check .form-policy-group, 
.contact-form-check .form-submit-btn::after{
  display: none;
}
.contact-form-check .form-submit-btn{
  width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form-check .form-submit-btn br, 
.contact-form-check .address-search-btn{
  display: none;
}

.form-progress-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.form-progress-grid figure{
  position: relative;
}
.form-progress-grid figure img{
  height: 100%;
}
.form-progress-grid figure figcaption{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #0F5339;
  width: 100%;
}
.contact-form-input .form-progress-grid figure.form-progress-input figcaption{
  color: #fff;
}
.contact-form-check .form-progress-grid figure.form-progress-check figcaption{
  color: #fff;
}
.smf-form{
  margin-bottom: 30px;
}

.contact-end-tel{
  display: flex;
    flex-direction: column;
    gap: 0px;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    padding: 20px 0;
}
.contact-end-tel h3{
  font-family: "Yuji Syuku", serif;
    font-weight: 400;
    font-size: 40px;
}
.contact-end-tel h1{
  font-family: "Konkhmer Sleokchher", system-ui;
    font-weight: 400;
}
.contact-end-tel p{
  font-size: 24px;
}
.contact-end{
  padding-bottom: 0;
}
.contact-form .smb-tabs[data-orientation=horizontal][data-tabs-justification=flex-start]>.smb-tabs__tabs{
  display: grid;
    grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form .smb-tabs .smb-tabs__tabs button{
  color: #fff;
    font-size: 16px;
  border-radius: 0 !important;
  border: 1px solid #00FFA2 !important;
  padding: 20px 0 !important;
  opacity: 1;
}
.contact-form .smb-tabs .smb-tabs__tabs button mark{
  font-family: "Konkhmer Sleokchher", system-ui;
    font-size: 24px;
    font-weight: 400;
}
#contact-form .smb-tabs__tab[aria-selected=true]{
  background-color: #232E24;
}
.form-progress-pc{
  display: none;
}
.form-progress-grid figure.form-progress-complete{
  display: flex;
    align-items: center;
}
.form-progress-grid figure.form-progress-complete img{
  height: calc(100% - 6%);
}
div[data-name="contact-address-number"]{
  padding-left: 50px;
    position: relative;
}
div[data-name="contact-address-number"]::before{
  content: "〒";
  font-size: 24px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.fixed-page-text .contact-title-title.title-template01.title-template02 h2 span br{
  display: none;
}


/*----------------------------
    [contact]お問い合わせここまで
-----------------------------*/

/*----------------------------
      [footer]ウィジェット
-----------------------------*/
.footer-company{
  color: #fff;
}
.footer-logo, .footer-tel{
  display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.footer-logo{
  margin-bottom: 8px;
}
.footer-logo figure img{
  max-width: 40px;
}
.footer-tel figure img{
  max-width: 32px;
}
.footer-logo h6, .footer-tel h6{
  font-size: 32px;
  font-weight: 400;
}
.footer-logo h6{
  font-family: "Yuji Syuku", serif;
}
.footer-tel h6{
  font-family: "Konkhmer Sleokchher", system-ui;
}
.footer-company > p{
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
}
.footer-place{
  font-family: "BIZ UDPGothic", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.footer-place p{
  font-size: 21px;
  line-height: 2;
  text-align: left;
  
  width: fit-content;
}
.l-footer__foot{
  padding-top: 0;
}
#footer .u-flex--c{
  display: none;
  row-gap: 20px;
}
#footer .l-footer__nav li:not(:last-child){
  position: relative;
  padding-right: 40px;
}
#footer .l-footer__nav li:not(:last-child)::after{
  content: "";
  width: 28px;
  height: 1px;
  background-color: #00FFA2;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(-25deg);
  z-index: 1;
}
#footer .l-footer__nav a{
  font-size: 16px;
  font-family: "M PLUS 1", sans-serif;
  padding-left: 0;
  padding-right: 0;
  transition: .3s;
}
#footer .l-footer__nav a:hover{
  color: #fff;
}
#footer .l-footer__nav li:not(:first-child) a{
  padding-left: 10px;
}
.c-copyright{
  font-size: 12px;
  color: #60786F;
}

/*----------------------------
    [footer]ウィジェットここまで
-----------------------------*/

.l-header{
  color: var(--ark-color--header_txt);
}

/* --- 英語部分（メインテキスト）のアニメーション --- */

/* 1文字ずつの外枠 */
.char-unit {
    display: inline-block;
    overflow: hidden; /* 枠外に消えるようにする */
    vertical-align: bottom;
}

/* 1文字ずつの内枠 */
.char-inner {
    display: inline-block;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.6, 0, 0.4, 1);
    transition-delay: inherit; /* JSで設定したディレイを継承 */
  color: var(--ark-color--header_txt) !important;
}

/* 下から出てくる文字の準備（疑似要素） */
.char-inner::after {
    content: attr(data-char);
    position: absolute;
    top: 100%; /* 真下に配置 */
    left: 0;
    width: 100%;
  color: var(--ark-color--header_txt) !important;
}

/* ホバー時の動き */
.c-gnav__a:hover .char-inner,
.c-drawerNav__a:hover .char-inner {
    transform: translateY(-100%); /* 上に1文字分スライド */
}


/* --- 日本語部分（サブテキスト）のアニメーション --- */

.c-gnav__a .__subText,
.c-drawerNav__a .__subText {
    transition: color 0.4s ease, opacity 0.4s ease;
}

/* 日本語をふわっと白（または指定色）に変える */
.c-gnav__a:hover .__subText,
.c-drawerNav__a:hover .__subText {
    color: #fff !important; /* 背景が暗い想定。背景に合わせて調整してください */
    opacity: 1;
}

/* ナビ全体の微調整：ホバー時に少し浮き上がるような違和感を消す */
.c-gnav__a, .c-drawerNav__a {
    overflow: hidden;
}


.top-crafting-landmarks{
  padding-bottom: 0;
  padding-top: 5px;
}



/* --- トップページナビ：スライド式ホバーエフェクト --- */

/* 1文字の親枠 */
.top-nav-ul .char-unit {
    display: inline-block;
    overflow: hidden; /* 枠外の文字を隠す */
    vertical-align: bottom;
}

/* 1文字の内枠（スライドする本体） */
.top-nav-ul .char-inner {
    display: inline-block;
    position: relative;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.6, 0, 0.4, 1);
}

/* ホバー時に出てくる下の文字 */
.top-nav-ul .char-inner::after {
    content: attr(data-char);
    position: absolute;
    top: 100%; /* 真下に配置 */
    left: 0;
    width: 100%;
    color: inherit; /* 親の文字色を継承 */
}

/* ホバー時に上にスライド */
.top-nav-ul li a:hover .char-inner {
    transform: translateY(-100%);
}

/* --- 初回のフェードイン表示制御 --- */
.top-nav-ul li a .reveal-text {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.top-nav-ul li.is-ready a .reveal-text {
    opacity: 1;
}
.top-nav-ul li.is-ready a .reveal-text.main-text span{
  font-size: 24px;
  font-family: "Konkhmer Sleokchher", system-ui;
}
.top-nav-ul li.is-ready a .reveal-text.sub-text span{
  
}




