@charset "utf-8";

/* PC は常時有効。SP用 CSS で上書きされる */

/*======================装飾（花びら・葉っぱ）ベース============================*/
/* 使い方: HTMLに <span class="kazari kazari-01" style="top:XXpx; left:XXpx; width:XXpx; height:XXpx;"></span>
   のように配置し、位置・大きさだけ個別に指定する。共通プロパティ（position, z-index, background）はここで担保。
   親には position: relative が必要（各 section にすでに設定済み）。 */
.kazari {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.kazari-01 { background-image: url("../images/top_kazari_01.svg"); }
.kazari-02 { background-image: url("../images/top_kazari_02.svg"); }
.kazari-03 { background-image: url("../images/top_kazari_03.svg"); }
.kazari-04 { background-image: url("../images/top_kazari_04.svg"); }
.kazari-05 { background-image: url("../images/top_kazari_05.svg"); }
.kazari-06 { background-image: url("../images/top_kazari_06.svg"); }
.kazari-07 { background-image: url("../images/top_kazari_07.svg"); }
.kazari-08 { background-image: url("../images/top_kazari_08.svg"); }
.kazari-09 { background-image: url("../images/top_kazari_09.svg"); }

/*-------------------------------------Hero メインビジュアル-------------------------------------*/
/* レイヤー構造:
   z-index:1 スライド（写真3枚 slickクロスフェード）
   z-index:2 左からの白グラデ
   z-index:3 波線PNG（下部）
   z-index:4 キャッチコピー
   z-index:5 桜の花びらSVG（absolute配置） */

.hero {
  position: relative;
  width: 100%;
  /* 下部ウェーブまで含めてファーストビューへ収める。 */
  height: 100vh;
  overflow: visible;
  background: var(--color-white);
}

/*--- Layer 1: スライド ---*/
/* slick.css の .slick-slider { position: relative } を上書きするため !important */
.hero .hero-slider {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}
.hero-slider .slide {
  height: 100% !important;
  outline: none;
}
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
/* slick が生成する DOM の高さも hero と合わせる（slick JS の動的計算に負けないように !important） */
.hero-slider .slick-list,
.hero-slider .slick-track {
  height: 100% !important;
}

/*--- Layer 2: 左からの白グラデ ---*/
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.55) 25%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0) 62%
  );
  pointer-events: none;
}

/*--- Layer 3: 下部の波線PNG ---*/
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}
.hero-wave img {
  width: 100%;
  height: auto;
  display: block;
}

/*--- Layer 4: キャッチコピー ---*/
/* 実測値（デザインは Retina 2x 書き出し、以下は ÷2 表示pxで記載）:
   - Line1 白帯: 幅537 × 高83 (実測)、実装は inline-block で自動フィット
   - Line2 白帯: 幅660 × 高83
   - Line1 バー上端: 表示y=329 (viewport 上端から)
   - Line2 バー上端: 表示y=439
   - バー間ギャップ: 27px → 25px 丸め
   - Line1 バー左端: 表示x=132 (viewport 左から)
   - 「信頼」ピンク: #FF7BAC
   - 「明日」緑: #009040
   - 残りの文字: #000000
   - 文字高: ~55px（可視部分）→ font-size ~65px */
.hero-copy {
  position: absolute;
  /* 通常画面では従来の330px、縦が短い画面では上へ移動する */
  top: clamp(230px, 37vh, 330px);
  /* 左位置：広い画面では 132px 固定、狭くなると下の .content 左端に合わせて左に寄る。
     .content は max-width 1200px + padding 20px 中央寄せなので content-left = (100vw - 1160px)/2。
     clamp で min 20px（content-left 最小）〜 max 132px（デザイン基準）にクランプ。 */
  left: clamp(20px, calc((100vw - 1160px) / 2), 132px);
  z-index: 4;
  pointer-events: none;
}
.hero-title {
  /* Noto Sans JP Bold 6rem(60px)基本、画面幅で可変。
     4vw が 1500px 幅で 60px=6rem に一致、850px 幅で 34px=3.4rem に一致。
     hero-title は Zen Maru ではないので h1-h6 の palt を打ち消す */
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: clamp(3.4rem, 4.2vw, 6.3rem);
  font-weight: 700;
  font-feature-settings: "palt" 1;
  line-height: 1;
  letter-spacing: 0.11em;
  color: #000000;
  /* 2行固定。inline-block だと横並びしてしまうので flex-column で強制縦積み */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.hero-title .line {
  position: relative;
  display: inline-block;
  padding: 7px 8px 12px 18px;
  background: transparent;
  overflow: hidden;
  filter: drop-shadow(5px 6px 6px rgba(65, 55, 45, 0.13));
  color: #000000;
  white-space: nowrap;   /* 各行内は絶対に折り返さない */
}
.hero-title .line::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #FFFFFF;
  box-shadow: 5px 6px 12px rgba(65, 55, 45, 0.13);
  transform: scaleX(0);
  transform-origin: left center;
  animation: hero-band-in 1.05s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hero-title .line-2::before {
  animation-delay: .42s;
}
.hero-title .line-text {
  position: relative;
  z-index: 1;
  display: block;
  opacity: 0;
  transform: translateY(115%);
  animation: hero-text-in .9s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: .58s;
}
.hero-title .line-2 .line-text {
  animation-delay: 1.02s;
}
.hero-title .ac-pink {
  color: #000000;
  animation: hero-accent-pink .55s ease forwards 1.72s;
}
.hero-title .ac-green {
  color: #000000;
  animation: hero-accent-green .55s ease forwards 2.02s;
}
/* サブテキスト（サブ2行）は写真の上に直接置く */
.hero-sub-1,
.hero-sub-2 {
  font-family: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #000000;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.7;
  margin-top: 15px;
  margin-left: 18px;
  text-shadow:
    -2px -2px 3px rgba(255,255,255,.95),
     2px -2px 3px rgba(255,255,255,.95),
    -2px  2px 3px rgba(255,255,255,.95),
     2px  2px 3px rgba(255,255,255,.95),
     0 0 7px rgba(255,255,255,1);
}
.hero-sub-1 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 38px;     /* Line2 との間 */
  opacity: 0;
  transform: translateY(12px);
  animation: hero-sub-in .8s ease forwards 1.68s;
}
.hero-sub-1::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
}
.hero-sub-2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-sub-in .8s ease forwards 2.05s;
}

@keyframes hero-band-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes hero-text-in {
  from { opacity: 0; transform: translateY(115%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-accent-pink {
  from { color: #000000; }
  to { color: #FF7BAC; }
}
@keyframes hero-accent-green {
  from { color: #000000; }
  to { color: #009040; }
}
@keyframes hero-sub-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .line::before,
  .hero-title .line-text,
  .hero-title .ac-pink,
  .hero-title .ac-green,
  .hero-sub-1,
  .hero-sub-2 {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-title .ac-pink { color: #FF7BAC; }
  .hero-title .ac-green { color: #009040; }
}

.hero-kazari-left {
  top: 150px;
  left: 35px;
  width: 220px;
  height: 195px;
  z-index: 5;
}

/*-------------------------------------About「今泉造園土木について」-------------------------------------*/
/* 実測（÷2 表示px）:
   - セクション上端: 表示y=855 (hero end 相当)
   - 大見出し「暮らしのそばに、私たちの仕事。」色: #1C5E33 (濃緑)
   - 小見出し「今泉造園土木について」色: #1C5E33
   - "About us" script色: #FE8BA7 (ピンク)
   - 本文色: #1C5E33 と #231815 (混在)
   - 円写真: 右側、幅約400px × 高400px、と 小さめ約280px */
.about {
  position: relative;
  padding: 80px 0 10px;
  background: var(--color-white);
  overflow: visible;
}
.about > .wrap {
  position: relative;
  z-index: 2;
}
.about .box-outer {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.about-text {
  flex: 1;
  min-width: 0;
  padding-top: 35px;
  position: relative;
  z-index: 2;
}
.about .h2-outer {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 45px;
}
.about .h2-outer .sub {
  font-family: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1C5E33;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.04em;
}
.about .h2-outer .eng {
  font-family: "Damion", cursive;
  font-weight: 400;
  display: inline-block;
  transform: rotate(-5deg);
  transform-origin: left center;
  font-size: 3.0rem;
  color: #FE8BA7;
  letter-spacing: 0.05em;
}
.about h2 {
  font-size: 4.2rem;
  font-weight: 700;
  color: #1C5E33;
  letter-spacing: 0.05em;
  margin-bottom: 35px;
  line-height: 1.5;
  white-space: nowrap;
}
.about .lead {
  width: 620px;
  font-size: 1.8rem;
  color: #231815;
  line-height: 1.9;
  letter-spacing: 0.05em;
}
/* About 楕円画像 本番 top_about_img_01.png (1200×960, Retina 2x → 表示600×480, aspect 1.25)
   CSS 側で 500×400 に合わせて楕円型に。border-radius: 50% で楕円形。 */
.about-image {
  flex: 0 0 auto;
  width: 600px;
  height: 480px;
  transform: translateX(40px);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: none;
}
.about-kazari-top {
  top: -70px;
  right: 70px;
  width: 280px;
  height: 220px;
  z-index: 4;
}
/* ヒーロー直下の花びらは、ヒーロー画像の上・About本文の下に置く。 */
.about .about-kazari-top {
  z-index: 3 !important;
}
.about-kazari-petals {
  top: 450px;
  left: 45px;
  width: 380px;
  height: 420px;
  z-index: 4;
}
.about-kazari-leaves {
  top: 530px;
  right: 95px;
  width: 110px;
  height: 150px;
  z-index: 4;
}

/*-------------------------------------事業内容-------------------------------------*/
.service {
  /* 背景は .wrap 側で管理。ここに bg を置くと wave PNG の透過部が
     緑を透かしてしまい、波が見えなくなるので背景なし。 */
  padding: 0 !important;
  position: relative;
  text-align: center;
}
/* Service 装飾はユーザーが後から手動配置予定のため削除 */
/* 背景は .wrap に指定：
   Layer1 = border_back.png（上端の波飾り）PNG は 3000×1000, 表示高さは 100vw/3
   Layer2 = linear-gradient(#EFF7EC, #EFF7EC) — 波PNG 下端へ可変幅で少し重ねて開始。
            ブラウザごとの丸め誤差による白い継ぎ目を防ぐ。
   padding-bottom で ボタン下に余白（緑継続）→ そのまま image-visual へ緑背景を引き継ぐ。 */
.service .wrap {
  padding-top: 200px;
  padding-bottom: 30px;
  background:
    url('../images/border_back.png') no-repeat top center / 100% auto,
    linear-gradient(#EFF7EC, #EFF7EC) no-repeat 0 calc(100vw / 3 - var(--wave-fill-overlap)) / 100% calc(100% + var(--wave-fill-overlap));
}
/* .service-more (詳しくはこちら ボタン枠) のマージンをリセット。
   ボタン下〜image-visual の余白は .wrap padding-bottom で担保。 */
.service-more {
  margin: 0;
}
.service .h2-outer {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.service .h2-outer h2 {
  font-size: 3.6rem;
  font-weight: 700;
  color: #1C5E33;
  letter-spacing: 0.05em;
}
.service .h2-outer .eng {
  font-family: "Damion", cursive;
  font-weight: 400;
  display: inline-block;
  transform: rotate(-5deg);
  transform-origin: left center;
  font-size: 2.4rem;
  color: #FE8BA7;
}
.service .lead {
  font-size: 1.5rem;
  color: #231815;
  margin-bottom: 40px;
  line-height: 1.8;
}
/* Service カード - ユーザー慣習に沿って ul.box-outer + li で構成
   アイコンがカード上に飛び出るので、コンテナ側で上部に 130px 余白確保 */
.service-cards.box-outer {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: flex-end;
  width: 1070px;
  margin: 0 auto 50px;
  padding-top: 125px;
  list-style: none;
}
.service-card {
  flex: 1;
  width: 245px;
  max-width: 245px;
  min-height: 215px;
  background: var(--color-white);
  border: 2px solid #E0F0E0;
  border-radius: 15px;
  text-align: center;
  color: #231815;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  list-style: none;
  /* アイコンがカード上部から飛び出せるように */
  overflow: visible;
  /* アイコンぶんカード上部にスペースを空ける（120pxアイコンが上に飛び出る想定で
     カード自身は下寄せで並ぶよう flex-end に align） */
  align-self: flex-end;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  opacity: 1;
}
.service-card > a {
  display: block;
  padding: 0 20px 30px;
  color: inherit;
}
/* Service アイコン：本番 SVG は viewBox 200×160 統一。
   カード上部から飛び出させるため margin-top を負値に。ベース（下 40px 相当）だけがカード内に潜る。 */
.service-card .icon {
  width: 180px;
  height: 145px;
  margin: -125px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card .icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.service-card h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1C5E33;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  /* h3 下のピンクライン（デザイン実測: 35×3px, #FE3867） */
  position: relative;
  padding-bottom: 15px;
}
.service-card h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 35px;
  height: 3px;
  background: #FE3867;
}
.service-card p {
  font-size: 1.5rem;
  color: #231815;
  line-height: 1.7;
  text-align: left;
}
.service-more {
  text-align: center;
}
.service-more .btn-pink-pill {
  width: 285px;
  height: 65px;
  padding: 0;
  font-size: 1.8rem;
}
.btn-pink-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 60px;
  background: var(--color-pink);
  color: var(--color-white);
  border-radius: 30px;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  overflow: hidden;
  transition: background-color 0.35s ease;
}
.btn-pink-pill:hover {
  background: #D9004F;
  opacity: 1;
}
.btn-pink-pill .btn-roll-label {
  position: relative;
  display: block;
  min-width: 8em;
  height: 1.7em;
  line-height: 1.7;
  overflow: hidden;
  color: transparent;
}
.btn-pink-pill .btn-roll-label::before,
.btn-pink-pill .btn-roll-label::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}
.btn-pink-pill .btn-roll-label::before {
  transform: translateY(0);
}
.btn-pink-pill .btn-roll-label::after {
  transform: translateY(110%);
}
.btn-pink-pill:hover .btn-roll-label::before {
  transform: translateY(-110%);
}
.btn-pink-pill:hover .btn-roll-label::after {
  transform: translateY(0);
}
/* ボタン右端の白い▶（border三角トリック） */
.btn-pink-pill::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--color-white);
  transform: translateY(-50%);
}

/*-------------------------------------works〜company 共通装飾背景-------------------------------------*/
/* 水彩装飾 top_works_back_img.jpg (3000×1740, aspect ≈1.72) を上端に配置。
   画像は Retina 2x、100% width で表示すると高さ約 58vw。
   両セクション（works + company-recruit）の共通白背景の上に装飾として重ねる。 */
.works-company-bg {
  background: url('../images/top_works_back_img.jpg') no-repeat top center / 100% auto,
              var(--color-white);
}

/*-------------------------------------施工事例-------------------------------------*/
.works {
  padding: 120px 0 90px !important;
  background: transparent;             /* 装飾背景を透過させる */
  position: relative;
  text-align: center;
}
.works-kazari-petals-left {
  top: 35px;
  left: 22%;
  width: 240px;
  height: 110px;
  z-index: 2;
}
.works-kazari-petals-right {
  top: 65px;
  right: 27%;
  width: 80px;
  height: 50px;
  z-index: 2;
}
.works-kazari-leaves-top {
  top: -35px;
  right: 9%;
  width: 130px;
  height: 150px;
  z-index: 2;
}
.works-kazari-leaves-bottom {
  left: 9%;
  bottom: -40px;
  width: 140px;
  height: 140px;
  z-index: 2;
}
.works > .wrap,
.works-slider-wrap {
  position: relative;
  z-index: 3;
}
/* イメージビジュアル：Service セクションの続き（緑背景継続）。
   本番画像は上端に緑ベタが焼き込み済みなので、緑背景と自然に繋がる。 */
.image-visual {
  position: relative;   /* kazari 配置用 */
  width: 100%;
  line-height: 0;
  background: #EFF7EC;
}
.image-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Works スライダー：画面幅いっぱいの可変幅、サムネイルも可変 */
.works-slider-wrap {
  position: relative;
  width: 100%;
  margin: 45px 0 40px;
  padding: 0 50px;
}
.works-slider {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}
.works-slider .slide {
  padding: 0 15px;   /* スライド間隔 30px 基本 */
  outline: none;
  list-style: none;
}
.works-slider .slide a {
  display: block;
  color: #231815;
}
.works-slider .thumb {
  position: relative;
  width: 100%;
  /* 本番画像 top_works_img_XX.jpg は 500×460 (aspect 25:23) */
  aspect-ratio: 500 / 460;
  border-radius: 10px;
  overflow: visible;
  margin-bottom: 30px;
}
.works-slider .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
/* 写真の左下・底辺を跨ぐ位置のピル型タグ
   実測: 白背景 + 緑ボーダー(~2px) + 緑文字 */
.works-slider .tag {
  position: absolute;
  bottom: -15px;
  left: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 135px;
  padding: 5px 20px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1C5E33;
  background: var(--color-white);
  border: 1px solid #1C5E33;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.works-slider .caption {
  font-size: 1.5rem;
  color: #231815;
  text-align: left;
  padding: 0 5px;
  line-height: 1.5;
}

/* slick 矢印（前後） - シンプルな緑丸型 */
.works-slider .slick-arrow {
  position: absolute;
  top: var(--works-arrow-top, 115px);
  transform: translateY(-50%);
  z-index: 10;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid #1C5E33;
  cursor: pointer;
  padding: 0;
  color: transparent;
  transition: background 0.2s ease;
}
.works-slider .slick-arrow:hover {
  background: #1C5E33;
}
.works-slider .slick-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #1C5E33;
  border-right: 2px solid #1C5E33;
  transition: border-color 0.2s ease;
}
.works-slider .slick-arrow:hover::before {
  border-color: var(--color-white);
}
/* 矢印は works-slider-wrap 左右padding内に配置 */
.works-slider-wrap .slick-prev {
  left: 10px;
}
.works-slider-wrap .slick-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}
.works-slider-wrap .slick-next {
  right: 10px;
}
.works-slider-wrap .slick-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

/* slick ドット（下部インジケーター） */
.works-slider .slick-dots {
  display: flex !important;
  position: static;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.works-slider .slick-dots li {
  width: 10px;
  height: 10px;
}
.works-slider .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #D5E5D5;
  cursor: pointer;
  color: transparent;
  font-size: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
/* slick-theme.css の "•" ::before を非表示に */
.works-slider .slick-dots li button::before {
  content: none !important;
  display: none !important;
}
.works-slider .slick-dots li.slick-active button {
  background: #1C5E33;
  transform: scale(1.2);
}
.works-slider .slick-list {
  overflow: hidden;
}
.works-slider .slick-track {
  display: flex;
}
.works-slider .slick-slide {
  height: auto;
  outline: none;
}
.works .h2-outer {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 20px;
  margin-bottom: 35px;
}
.works .h2-outer h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #1C5E33;
  letter-spacing: 0.05em;
}
.works .h2-outer .eng {
  font-family: "Damion", cursive;
  font-weight: 400;
  display: inline-block;
  transform: rotate(-5deg);
  transform-origin: left center;
  font-size: 2.4rem;
  color: #FE8BA7;
}
.works .lead {
  font-size: 1.4rem;
  color: #231815;
  margin-bottom: 35px;
  line-height: 1.8;
}
.works-more .btn-pink-pill {
  width: 285px;
  height: 65px;
  padding: 0;
  font-size: 1.8rem;
}
.works-more {
  margin-top: 65px;   /* ドットとボタンの間の余白 */
  text-align: center;
}

/*-------------------------------------会社案内 & 採用情報-------------------------------------*/
/* デザイン実測（÷2 表示px）:
   - ピンクボックス背景: #FBE1E1 → グラデ #FDD9D9→#FDECEC
   - 水色ボックス背景: #90C0F0 → グラデ #B8DAF2→#C5DCF3
   - ボックス幅: 表示 ~667px、高さ ~530px
   - 「会社案内」濃緑 #1C5E33 + "Company" ピンクスクリプト #FE8BA7
   - 有機的な雲型（大きめ border-radius で近似）
   - 上部左に緑葉装飾、右下に写真オーバーレイ */
.company-recruit {
  position: relative;   /* kazari 配置用 */
  min-width: 1200px;
  padding: 0 0 85px;
  background: transparent;   /* .works-company-bg の装飾を透過させる */
  overflow: hidden;
}
.company-recruit > .wrap,
.company-recruit > .wrap > .content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.company-recruit ul.box-outer {
  display: flex;
  gap: 70px;
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}
.cr-box {
  flex: 1;
  position: relative;
  width: auto;
  min-width: 565px;
  min-height: 530px;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s ease;
  list-style: none;
}
.cr-box > .cr-panel {
  display: block;
  height: 100%;
  padding: 70px 45px 50px;
  color: #231815;
  position: relative;
  z-index: 2;
}
.cr-box-company > .cr-panel {
  padding-left: 150px;
}
.cr-box-recruit > .cr-panel {
  padding-left: 100px;
}
/* box内を完全に満たす。100% 100% でアスペクト変形を許容、左右端にぴったり */
.cr-box-company {
  background: url('../images/top_company_recruit_back_img_01.png') no-repeat center / 100% 100%;
}
.cr-box-recruit {
  background: url('../images/top_company_recruit_back_img_02.png') no-repeat center / 100% 100%;
}
/* CR-box 緑葉装飾はユーザーが後から手動配置予定のため削除 */
/* 右側の写真オーバーレイ。本番は透過PNG（切り抜き済み）。 */
.cr-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}
/* Company（円形の手）: 中サイズ, contain で box 右下に収める */
.cr-box-company .cr-photo {
  width: clamp(320px, 25vw, 380px);
  height: 100%;
}
.cr-box-company .cr-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}
/* Recruit（3人の作業員）: 大サイズ, 高さ box 100% で幅は自動（デザイン実測に合わせて大きく） */
.cr-box-recruit .cr-photo {
  width: clamp(520px, 42vw, 630px);
  height: 85%;
  bottom: 0;
}
.cr-box-recruit .cr-photo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: right bottom;
  display: block;
}
.cr-inner {
  position: relative;
  z-index: 2;
  width: 55%;   /* 写真50%と少し重ねる（テキスト読みやすさ確保） */
}
/* PC版の会社案内は、テキスト領域を固定して1200px付近でも折り返させない。 */
.cr-box-company .cr-inner {
  width: 300px;
}
.cr-box .h2-outer {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 25px;
}
.cr-box-company .h2-outer {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.cr-box-company .h2-outer h2,
.cr-box-company .h2-outer .eng {
  flex: 0 0 auto;
}
.cr-box-recruit .h2-outer {
  margin-bottom: 50px;
}
.cr-box .h2-outer h2 {
  font-size: 3.0rem;
  font-weight: 700;
  color: #1C5E33;
  letter-spacing: 0.05em;
}
.cr-box .h2-outer .eng {
  font-family: "Damion", cursive;
  font-weight: 400;
  display: inline-block;
  transform: rotate(-5deg);
  transform-origin: left center;
  font-size: 2.2rem;
  color: #FE8BA7;
}
.cr-box .lead {
  font-family: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1C5E33;
  line-height: 1.7;
  margin-bottom: 20px;
  font-feature-settings: "palt" 1;
  white-space: nowrap;
}
.cr-box .sub {
  font-size: 1.5rem;
  color: #231815;
  line-height: 1.8;
  margin-bottom: 30px;
}
.cr-box-company .sub {
  white-space: nowrap;
}
.cr-box .lead,
.cr-box .sub {
  text-shadow:
    0 0 3px rgba(255, 255, 255, 1),
    0 0 7px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(255, 255, 255, 0.9),
    1px 0 2px #fff,
    -1px 0 2px #fff,
    0 1px 2px #fff,
    0 -1px 2px #fff;
}
.cr-box .btn-pink-pill {
  padding: 12px 40px;
  font-size: 1.4rem;
}
.cr-box-company .btn-pink-pill {
  background: var(--color-white);
  border: 1px solid var(--color-pink);
}
.cr-box-company .btn-pink-pill .btn-roll-label::before,
.cr-box-company .btn-pink-pill .btn-roll-label::after {
  color: #231815;
}
.cr-box-company .btn-pink-pill::after {
  border-color: transparent transparent transparent var(--color-pink);
}
.cr-box-company .btn-pink-pill:hover {
  background: #FFF6F8;
}
.cr-box-recruit .btn-pink-pill {
  background: var(--color-green);
}
.cr-box-recruit .btn-pink-pill:hover {
  background: #009A38;
}

/*-------------------------------------お知らせ-------------------------------------*/
.news {
  padding: 80px 0 100px;
  background: var(--color-white);
  position: relative;
}
.news-kazari {
  top: 20px;
  right: 7%;
  width: 210px;
  height: 160px;
  z-index: 1;
}
.news > .wrap {
  position: relative;
  z-index: 2;
}
.news .h2-outer {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.news .h2-outer h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #1C5E33;
  letter-spacing: 0.05em;
}
.news .h2-outer .eng {
  font-family: "Damion", cursive;
  font-weight: 400;
  display: inline-block;
  transform: rotate(-5deg);
  transform-origin: left center;
  font-size: 2.4rem;
  color: #FE8BA7;
}
.news-list {
  max-width: 900px;
  margin: 0 auto 40px;
}
.news-item {
  display: grid;
  grid-template-columns: 110px 90px 1fr;
  gap: 25px;
  align-items: start;
  padding: 18px 10px;
  border-bottom: 1px solid #E5E5E5;
  font-size: 1.5rem;
}
.news-item .date {
  color: #1C5E33;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-top: 3px;
}
.news-item .category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  font-size: 1.3rem;
  color: var(--color-white);
  border-radius: 13px;
  padding: 0 12px;
  white-space: nowrap;
  align-self: start;
}
.news-item .cat-info {
  background: #FE8BA7;
}
.news-item .cat-work {
  background: #6EB86E;
}
.news-item .title {
  color: #231815;
  line-height: 1.6;
}
.news-item .title a {
  color: #1C5E33;
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}
.news-item .title a:hover,
.news-item .title a:focus-visible {
  color: #009245;
}
.news-more {
  text-align: center;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border: 2px solid #1C5E33;
  border-radius: 30px;
  color: #1C5E33;
  background: var(--color-white);
  font-size: 1.4rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.6;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-outline:hover {
  background: #1C5E33;
  color: var(--color-white);
  opacity: 1;
}
.news-item[hidden] {
  display: none;
}

/* 1200px基準のTOP装飾を中間幅では画面比率に合わせる。 */
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .about {
    padding: 6.6667vw 0 0.8333vw;
  }
  .about > .wrap > .content {
    width: calc(100% - 3.3333vw);
    margin-right: 0;
    margin-left: 3.3333vw;
  }
  .about .box-outer { gap: 5vw; }
  .about-text { padding-top: 2.9167vw; }
  .about .h2-outer { gap: 1.25vw; margin-bottom: 3.75vw; }
  .about .h2-outer .sub { font-size: 2.0833vw; }
  .about .h2-outer .eng { font-size: 2.5vw; }
  .about h2 { font-size: 3.5vw; margin-bottom: 2.9167vw; }
  .about .lead { width: 51.6667vw; font-size: calc(14px + 0.3333vw); }
  .about-image { width: 50vw; height: 40vw; transform: translateX(3.3333vw); }

  .service .wrap { padding-top: 16.6667vw; padding-bottom: 2.5vw; }
  .service .h2-outer { gap: 1.6667vw; margin-bottom: 2.5vw; }
  .service .h2-outer h2 { font-size: 3vw; }
  .service .h2-outer .eng { font-size: 2vw; }
  .service .lead { font-size: calc(13px + 0.1667vw); margin-bottom: 3.3333vw; }
  .service-cards.box-outer { width: 89.1667vw; gap: 2.5vw; margin-bottom: 4.1667vw; padding-top: 10.4167vw; }
  .service-card { width: 20.4167vw; max-width: 20.4167vw; min-height: 17.9167vw; border-radius: 1.25vw; }
  .service-card > a { padding: 0 1.6667vw 2.5vw; }
  .service-card .icon { width: 15vw; height: 12.0833vw; margin: -10.4167vw auto 1.6667vw; }
  .service-card h3 { font-size: 1.8333vw; margin-bottom: 1.25vw; padding-bottom: 1.25vw; }
  .service-card p { font-size: calc(13px + 0.1667vw); }
  .service-more .btn-pink-pill { width: 23.75vw; height: 5.4167vw; font-size: 1.5vw; }

  .company-recruit { min-width: 0; padding-bottom: 7.0833vw; }
  .company-recruit ul.box-outer { gap: 5.8333vw; }
  .cr-box { min-width: 0; min-height: 44.1667vw; }
  .cr-box > .cr-panel { padding: 5.8333vw 3.75vw 4.1667vw; }
  .cr-box-company > .cr-panel { padding-left: 6.6667vw; }
  .cr-box-recruit > .cr-panel { padding-left: 8.3333vw; }
  .cr-box-company .cr-inner { width: 70%; }
  .cr-box-company .cr-photo { width: 25vw; }
  .cr-box-recruit .cr-photo {
    width: 42vw;
    height: 72%;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .cr-box-recruit .cr-photo img { object-position: right center; }
  .cr-box .h2-outer {
    gap: 1.25vw;
    margin-bottom: 2.0833vw;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .cr-box .h2-outer h2,
  .cr-box .h2-outer .eng { flex: 0 0 auto; }
  .cr-box-recruit .h2-outer { margin-bottom: 4.1667vw; }
  .cr-box .h2-outer h2 { font-size: 2.5vw; }
  .cr-box .h2-outer .eng { font-size: 1.8333vw; }
  .cr-box .lead { font-size: 2.3333vw !important; margin-bottom: 1.6667vw; }
  .cr-box .sub { font-size: calc(13px + 0.1667vw); margin-bottom: 2.5vw; white-space: nowrap; }

  .news { padding: 6.6667vw 0 8.3333vw; }
  .news .h2-outer { gap: 1.6667vw; margin-bottom: 3.3333vw; }
  .news .h2-outer h2 { font-size: 2.6667vw; }
  .news .h2-outer .eng { font-size: 2vw; }
  .news-list { width: 75%; margin-bottom: 3.3333vw; }
  .news-item { grid-template-columns: 9.1667vw 7.5vw 1fr; gap: 2.0833vw; padding: 1.5vw 0.8333vw; font-size: calc(13px + 0.1667vw); }

  .hero-kazari-left {
    top: 12.5vw;
    left: 2.9167vw;
    width: 12.8333vw;
    height: 11.375vw;
  }
  .about-kazari-top {
    top: -5.8333vw;
    right: 5.8333vw;
    width: 16.3333vw;
    height: 12.8333vw;
  }
  .about-kazari-petals {
    top: 37.5vw;
    left: 3.75vw;
    width: 22.1667vw;
    height: 24.5vw;
  }
  .about-kazari-leaves {
    top: 44.1667vw;
    right: 7.9167vw;
    width: 6.4167vw;
    height: 8.75vw;
  }
  .works-kazari-petals-left {
    top: 2.9167vw;
    width: 14vw;
    height: 6.4167vw;
  }
  .works-kazari-petals-right {
    top: 5.4167vw;
    width: 4.6667vw;
    height: 2.9167vw;
  }
  .works-kazari-leaves-top {
    top: -2.9167vw;
    width: 7.5833vw;
    height: 8.75vw;
  }
  .works-kazari-leaves-bottom {
    bottom: -3.3333vw;
    width: 8.1667vw;
    height: 8.1667vw;
  }
  .news-kazari {
    top: 1.6667vw;
    width: 12.25vw;
    height: 9.3333vw;
  }
}
