@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ----- 変数定義 ----- */
:root {
  --green: #017019;
  --green-dark: #045414;
  --green-light: #e7f3e9;
  --orange: #ffa504;
  --orange-dark: #ff8b00;
  --dark: #181818;
  --dark-soft: #24282b;
  --cream: #f7f5f0;
  --text: #222222;
  --text-sub: #555555;
  --border-green: #cfe6d3;
  --white: #ffffff;
  --radius-s: 8px;
  --radius-m: 10px;
  --radius-l: 10px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --container-w: 1120px;
  --container-w-pc: 1000px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Source Han Serif JP", "Hiragino Mincho ProN", serif;
}

/* ----- リセット / ベース ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  /* line-height: 1.8; */
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* フッター（.l-footer）は通常サイトと同じ見た目にしたいため、
   以下のリセット・上書き系セレクタは全て「フッターの外」だけに適用します。 */
h1:not(.l-footer *),
h2:not(.l-footer *),
h3:not(.l-footer *),
p:not(.l-footer *),
ul:not(.l-footer *),
ol:not(.l-footer *),
table:not(.l-footer *) {
  margin: 0;
  padding: 0;
}


h1:not(.l-footer *) {
  font-family: var(--font-serif);
  font-weight: 700;
}

h2:not(.l-footer *),
h3:not(.l-footer *) {
  font-family: var(--font);
  font-weight: 500 !important;
}
@media (min-width: 768px) {
  /* h1:not(.l-footer *) {font-size: 42px;}
  h2:not(.l-footer *) {font-size: 34px;}
  h3:not(.l-footer *) {font-size: 26px;} */

}
@media (min-width: 1024px) {
  /* h1:not(.l-footer *) {font-size: 56px;}
  h2:not(.l-footer *) {font-size: 42px;}
  h3:not(.l-footer *) {font-size: 18px;} */

}

ul:not(.l-footer *),
ol:not(.l-footer *) {
  list-style: none;
}

img:not(.l-footer *) {
  max-width: 100%;
  height: auto;
  display: block;
}

a:not(.l-footer *) {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-w-pc);
    padding: 0;
  }
}

/* スティッキーヘッダーの高さ分、アンカーリンク先の表示位置を調整 */
#about,
#work,
#faq,
#recruit,
#contact {
  scroll-margin-top: 76px;
}

@media (min-width: 768px) {
  #about,
  #work,
  #faq,
  #recruit,
  #contact {
    scroll-margin-top: 92px;
  }
}

.text-green {
  color: var(--green);
}

.text-white {
  color: var(--white);
}

.font-s {
  font-size: 0.6em;
  font-weight: 500;
}

br.pc {
  display: none;
}

@media (min-width: 768px) {
  br.pc {
    display: inline;
  }
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.sub-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 32px;
  }
}

.deco-pattern {
  position: relative;
  overflow: hidden;
}

.deco-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 122, 43, 0.18) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  background-position: -10px -10px;
  opacity: 0.6;
  pointer-events: none;
}

.deco-pattern::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -15%;
  width: 70%;
  height: 130%;
  background: linear-gradient(120deg, rgba(140, 165, 145, 0.28), rgba(140, 165, 145, 0) 60%);
  pointer-events: none;
}

.deco-pattern > * {
  position: relative;
  z-index: 1;
}

/* ----- 共通ボタン ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* background: var(--orange); */
  background: rgba(255, 165, 4, 0.95);
  color: var(--white)!important;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 0px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
  width: 100%;
  max-width: 360px;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .btn-primary {
    width: auto;
    font-size: 16px;
    padding: 18px 36px;
  }
}

header[role="banner"] {
  background: transparent;
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: none;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

header[role="banner"].is-scrolled {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

header[role="banner"] .c-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  header[role="banner"] .c-container {
    max-width: var(--container-w-pc);
  }
}

/* ロゴ / ナビ / 応募ボタンを横並びに固定（フレームワークのc-row挙動に依存しない） */
header[role="banner"] .c-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

header[role="banner"] .c-row__col {
  flex: 0 0 auto;
  min-width: 0;
}

/* ロゴ（site-branding）：画像サイズが大きい場合でも崩れないように制御 */
header[role="banner"] .c-row__col:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

header[role="banner"] [class*="site-branding"] {
  display: flex;
  align-items: center;
}

header[role="banner"] [class*="site-branding"] img,
header[role="banner"] [class*="site-branding"] svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 24px;
}

header[role="banner"] [class*="site-branding"] a {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

header[role="banner"].is-scrolled [class*="site-branding"] a {
  color: var(--text);
  text-shadow: none;
}

header[role="banner"] [class*="site-branding"] p,
header[role="banner"] [class*="site-branding"] h1 {
  margin: 0;
  font-size: 15px;
  line-height: 1;
}

/* 採用ナビゲーション */
.p-recruit-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.p-recruit-nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  /* text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
  transition: color 0.2s ease, text-shadow 0.2s ease; */
}

header[role="banner"].is-scrolled .p-recruit-nav__link {
  color: var(--text);
  text-shadow: none;
}

.p-recruit-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.p-recruit-nav__link:hover {
  color: var(--green);
}

.p-recruit-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 応募ボタン（画像ボタン） */
.p-recruit-cv-btn {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-recruit-cv-btn img {
  display: block;
  width: 130px;
  height: auto;
}

.p-recruit-cv-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  header[role="banner"] {
    padding: 16px 0;
  }

  header[role="banner"] [class*="site-branding"] img,
  header[role="banner"] [class*="site-branding"] svg {
    max-height: 30px;
  }

  .p-recruit-cv-btn img {
    width: 200px;
  }
}

@media (min-width: 1024px) {
  header[role="banner"] [class*="site-branding"] img,
  header[role="banner"] [class*="site-branding"] svg {
    max-height: 34px;
  }

  .p-recruit-cv-btn img {
    /* width: 238px; */
  }
}

@media (max-width: 767px) {
  .p-recruit-nav {
    display: none;
  }
}

.c-fluid-container {
  padding: 0!important;
}
.l-contents__inner:last-child {
  padding-top: 60px;
  /* padding-bottom: 0; */
}
:where(.c-entry__content>:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none;
}
.c-page-top {
  border: 2px solid var(--white);
}
.c-page-top svg {
  color: var(--white);
}
@media (min-width: 768px) {
  .l-contents__inner:last-child {
    padding-top: 90px;
    /* padding-bottom: 0; */
  }
  
}
/* ==========================================================================
   FV（ヒーロー）
   ========================================================================== */
.hero {
  position: relative;
  padding: 44px 0 36px;
  /* background-color: var(--dark-soft); */
    background-image:
      linear-gradient(to right, rgba(24, 24, 24, 0.32) 0%, rgba(24, 24, 24, 0.05) 20%, rgba(255, 255, 255, 0.72) 75%, rgba(255, 255, 255, 0.95) 100%),
      url('https://kawauchi-tekko.co.jp/wp-content/uploads/2026/09/FV-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text);
  overflow: hidden;
  /* margin-top: 16px; */
}

.hero::before {
  /* content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 28, 0.55) 0%, rgba(20, 24, 28, 0.35) 60%, rgba(20, 24, 28, 0.55) 100%);
  pointer-events: none; */
}
.hero h1 {
  text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 35px rgba(255, 255, 255, 1), 0 0 55px rgba(255, 255, 255, 0.8), 0 0 76px rgba(255, 255, 255, 1);

}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 14px;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: var(--container-w-pc);
  }
}

.hero h1 {
  /* font-size: 26px; */
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.hero .btn-primary {
  margin: 24px auto 0;
  position: relative;
}
.hero .btn-primary:after {
  position: absolute;
  top: 38%;
  right: 1em;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f061";

}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.badge {
  background: var(--white);
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  width: 100px;
  height: 100px;
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 6px;
}

.badge i {
  display: block;
  font-size: 22px;
  line-height: 1;
  color: var(--green);
  padding-bottom: 0.2em;
}

@media (min-width: 768px) {
  .hero {
    padding: 70px 0 60px;
    /* margin-top: 90px; */
  }

  .hero-content {
    text-align: left;
    padding-left: 35vw;
  }

  .hero h1 {
    /* font-size: 40px; */
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 35px rgba(255, 255, 255, 1), 0 0 55px rgba(255, 255, 255, 0.8), 0 0 76px rgba(255, 255, 255, 1);

  }

  .hero .btn-primary {
    margin: 32px 0 0;
    width: 360px;
  }

  .hero-badges {
    justify-content: flex-start;
    gap: 22px;
  }

  .badge {
    width: 130px;
    height: 130px;
    font-size: 16px;
  }

  .badge i {
    font-size: 26px;
  }
}

/* PC（添付画像相当）：写真は画面左側、テキストは右側の明るいエリアに
   ダークテキストで配置。画像自体に左が写真・右が明るいグラデーションの
   構図が含まれている前提です。 */
@media (min-width: 1024px) {
  .hero {
    background-color: var(--dark-soft);
    background-image:
      /* linear-gradient(to right, rgba(24, 24, 24, 0.32) 0%, rgba(24, 24, 24, 0.05) 22%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.95) 100%), */
      url('https://kawauchi-tekko.co.jp/wp-content/uploads/2026/09/FV-bg.webp');
    background-size: cover, cover;
    background-position: left 20%, left center;
    background-repeat: no-repeat, no-repeat;
    min-height: 550px;
    display: flex;
    align-items: center;
  }

  .hero::before {
    display: none;
  }
  .hero h1 {
    font-size: 52px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 35px rgba(255, 255, 255, 1), 0 0 55px rgba(255, 255, 255, 0.8), 0 0 76px rgba(255, 255, 255, 1);
  }

  .hero-content {
    color: var(--text);
    max-width: 700px;
    margin-left: auto;
    margin-left: 42%;
    padding-left: 0;
  }

  .hero h1 {
    color: var(--text);
  }
}

/* ==========================================================================
   こんな不安はありませんか？
   ========================================================================== */
.section-worries {
  position: relative;
  /* background-color: var(--dark-soft); */
  background-image: url('https://kawauchi-tekko.co.jp/wp-content/uploads/2026/09/worries-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 56px 0 0;
}

/* 境界線上に配置するアクセント（次セクションとの境目に半分かかる形で配置）
   ※ 専用の画像アセットが指定されていなかったため、CSSで矢羽根状の装飾を
     再現しています。実際の画像アセットがある場合はURLを差し替えてください。 */
.section-worries::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-top: 28px solid #414750;
  z-index: 2;
}

.section-worries h2 {
  color: var(--white);
  /* font-size: 22px; */
  text-align: center;
  margin-bottom: 32px;
  padding-top: 0;
}

.worries-grid {
  max-width: 600px;
  margin: auto;
}

.worry-card {
  display: flex;
  align-items: flex-start;
  padding-bottom: 20px;
}
.worry-card:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.speech-bubble {
  position: relative;
  display: inline-block;
  width: 65%;
  height: fit-content;
  /* max-height: 70px; */
  text-align: center;
  color: #333;
  padding: 1.6em 1em;
  background-color: #ddd;
  border-radius: 50px;
  font-size: 17px;
  font-weight: bold;
}
.speech-bubble:before {
  content: '';
  position: absolute;
  display: block;
  z-index: 1;
  border-style: solid;
  border-color: transparent #ddd;
  border-width: 10px 10px 10px 0;
  top: 50%;
  left: -8px;
  margin-top: -10px;
}
.worry-card:nth-of-type(even) .speech-bubble:before {
  border-color: transparent #ddd;
  border-width: 10px 0 10px 10px;
  top: 50%;
  left: unset;
  right: -8px;
  margin-top: -10px;
}
.worries-grid .icon {
  width: 30%;
  text-align: center;
}
.worry-card img {
  width: 100px;
  /* object-fit: cover; */
}

@media (min-width: 768px) {
  .worries-grid {
    max-width: 1000px;
    display: flex;
    align-items: flex-start;
  }

  .worry-card {
    display: block;
    width: 30%;
    margin: 0 auto;
    max-width: 300px;
    text-align: center;
    padding: 0;
  }
  .worry-card:nth-of-type(odd) {
    flex-direction: unset;
  }
  .worry-card:nth-of-type(even) .speech-bubble::before {
    border-color: transparent #ddd;
    border-width: unset;
    top: 70px;
    left: unset;
    right: 32px;
    margin-top: unset;
    border-width: 10px 40px 10px 0;
  }

  .worry-card:nth-of-type(3){
    /* line-height: 2.8; */
    line-height: 3.4;
  }
  .speech-bubble {
    position: relative;
    display: inline-block;
    max-width: 250px;
    width: 100%;
    text-align: center;
    padding: 20px 14px;
    background-color: #ddd;
    border-radius: 50px;
    font-size: 19px;
  }
  .speech-bubble:before {
    top: unset;
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: unset;
    right: 36px;
    bottom: -10px;
    border-right: 40px solid #ddd;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    transform: rotate(-45deg);
  }
  .worry-card:nth-of-type(even) .speech-bubble:before {
    border-color: transparent #ddd;
    border-width: unset;
    top: unset;
    left: unset;
    right: 32px;
    bottom: -10px;

    margin-top: unset;
    border-width: 10px 40px 10px 0;
  }
  .worries-grid .icon {
    width: 100%;
  }
  .worry-card img {
    width: 100%;
    max-width: 150px;
    margin: 20px auto 0;
    height: 200px;
    object-fit: contain;
  }
}

/* ==========================================================================
   アピール（川内鉄工工業なら大丈夫！）
   ========================================================================== */
.section-solution {
  padding: 30px 20px;
  background: #fff;
}

.solution-box {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: var(--radius-l);
  padding: 32px 20px;
  text-align: center;
  /* overflow: hidden; */
}

.solution-box::before,
.solution-box::after {
  content: "";
  position: absolute;
  top:50%;
  opacity: 0.5;
  pointer-events: none;

  background-size: 60px;
  background-repeat: no-repeat; 
  width: 100px;
  height:100px;
}

.solution-box::before {
    background-image: url('../img/recruit/dot1.webp');
    left: 0%;
  -webkit-transform: translate(-45%, -50%);
  -ms-transform: translate(-45%, -50%);
  transform: translate(-45%, -50%);
  background-size: 100% 100%;

}

.solution-box::after {
    background-image: url('../img/recruit/dot2.webp');
    right: 0%;
  -webkit-transform: translate(55%, -50%);
  -ms-transform: translate(55%, -50%);
  transform: translate(55%, -50%);
   background-size: 100% 100%;
}

.solution-box h3 {
  position: relative;
  z-index: 1;
  /* font-size: 22px; */
  margin-bottom: 14px;
}

/* タイトルの両脇に画像を配置
   ・左：/assets/img/recruit/title1.png
   ・右：/assets/img/recruit/title2.png */
.s-ttl {
  position: relative;
  display: inline-block;
  padding: 0 40px;
}

.s-ttl::before,
.s-ttl::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.s-ttl::before {
  left: -30px;
  background-image: url('../img/recruit/title1.png');
}

.s-ttl::after {
  right: -30px;
  background-image: url('../img/recruit/title2.png');
}

.solution-box p {
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: var(--text-sub);
}

@media (min-width: 768px) {
  .solution-box {
    padding: 44px 60px;
  }

  .solution-box h3 {
    font-size: 30px;
  }

  .s-ttl::before,
  .s-ttl::after {
    width: 40px;
    height: 40px;
  }
  .s-ttl::before{
    left: -46px;
  }
  .s-ttl::after {
right: -46px;
  }

  .solution-box p {
    font-size: 16px;
  }
}

/* ==========================================================================
   共通背景ラップ（事業内容動画 / 山留工事とは / 漫画解説）
   ========================================================================== */
.bg-group-1 {
  background-color: var(--cream);
  background-image: url('https://kawauchi-tekko.co.jp/wp-content/uploads/2026/09/bg-group-1.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 8px;
}

/* ----- 事業内容動画 ----- */
.section-video {
  padding: 48px 0 20px;
  text-align: center;
}

.section-video h2 {
  /* font-size: 22px; */
  font-weight: 700;
  margin-bottom: 24px;
}

.video-container {
  max-width: 750px;
  margin: 0 auto;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: #6b6b6b;
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
}

.video-container video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #6b6b6b;
  border-radius: var(--radius-m);
  display: block;
  object-fit: cover;
}

@media (min-width: 768px) {
  .section-video {
    padding: 70px 0 30px;
  }

  .section-video h2 {
    /* font-size: 30px; */
  }
}

/* ----- 山留工事とは？ ----- */
.section-about {
  padding: 40px 20px;
}

.about-box {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: 28px 20px 0;
  border: 2px solid var(--green);
}

.about-box h2 {
  /* font-size: 20px; */
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
}

.about-box > div {
      /* width: 600px; */
    margin: auto;
}

.about-box p {
  font-size: 16px;
  line-height: 2;
  text-align: left;
}

.about-box img {
  width: 60%;
  max-width: 220px;
  margin: auto;
}

@media (min-width: 768px) {
  .about-box {
    padding: 40px 50px;
    position: relative;
  }

  .about-box h2 {
    /* font-size: 26px; */
  }

  .about-box > div {
    /* flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px; */
    display: block;
    text-align: center;
  }

  .about-box p {
    font-size: 16px;
    flex: 1;
    text-align: center;
  }

  .about-box img {
    width: 220px;
    flex-shrink: 0;
    }
  
}
@media (min-width: 1000px) {
  .about-box > div {
    width: 100%;
  }
  .about-box {
  }
  .about-box img {
    width: 220px;
    flex-shrink: 0;
            position: absolute;
        bottom: 0;
        right: -40px;
    }
}

/* ----- なぜ山留工事が必要なの？漫画で解説！ ----- */
.section-manga {
  padding: 40px 0 56px;
}

.section-manga h2 {
  /* font-size: 19px; */
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.manga-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 auto;
}

.manga-item {
  text-align: center;
}

.manga-item img {
  width: 100%;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

.manga-item p {
  font-size: 16px;
  line-height: 1.6;
}

.manga-item p strong {
  display: block;
  font-size: 16px;
}

@media (min-width: 768px) {
  .manga-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .section-manga h2 {
    /* font-size: 24px; */
  }

  .manga-item p {
    font-size: 17px;
  }
}

/* ==========================================================================
   CTA バー（共通・複数箇所で使用）
   ========================================================================== */
.cta {
  position: relative;
  background: var(--dark);
  padding: 40px 20px;
  text-align: center;
  background-image:
  url('https://kawauchi-tekko.co.jp/wp-content/uploads/2026/09/cta-bg.webp');
background-size: 700px;
margin: auto;
background-repeat: no-repeat;
}

.cta .container {
  padding: 0;
}
.cta h2 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta p {
  color: #dcdcdc;
  font-size: 16px;
  margin-bottom: 22px;
}

.cta .btn-primary {
  margin: 0 auto;
  position: relative;
}
.cta .btn-primary:after {
    position: absolute;
    top: 30%;
    right: 1em;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f061";
}

@media (min-width: 768px) {
  .cta {
    padding: 56px 20px;
  }
.cta .container {
  max-width: 700px;
  margin-left: auto;
  margin-left: 42%;
  padding-left: 0;
}
  .cta h2 {
    font-size: 26px;
  }

  .cta p {
    font-size: 16px;
  }
}

/* SPのみ：背景画像の上にうっすら黒グラデーションを重ねる */
@media (max-width: 767px) {
  .cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
  }

  .cta .container {
    position: relative;
    z-index: 1;
  }
}

/* ==========================================================================
   こんな人に向いています
   ========================================================================== */
.section-suitable {
  padding: 48px 1em;
  background-color: var(--cream);
  background-image: url('https://kawauchi-tekko.co.jp/wp-content/uploads/2026/09/suitable-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-suitable .section-title {
  margin-bottom: 28px;
}

.suitable-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.suitable-card {
  background: var(--white);
  border: 1.5px solid var(--green);
  border-radius: var(--radius-m);
  padding: 28px 20px;
  text-align: center;
}

.icon-box {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
}

.icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.suitable-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.6;
}

.suitable-card p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.8;
  text-align: left;
}

@media (min-width: 768px) {
  .suitable-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .suitable-card {
    padding: 28px 14px;
  }

  .suitable-card h3 {
    font-size: 17px;
  }

  .suitable-card p {
    font-size: 17px;
  }
}

/* ==========================================================================
   どんな仕事内容？
   ========================================================================== */
.section-work-detail {
  padding: 48px 0;
  background: var(--white);
}

.section-work-detail .section-title {
  margin-bottom: 24px;
}

.work-card {
  max-width: 510px;
  margin: 0 auto 24px;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  padding: 20px;
}

.work-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.badge-role {
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 100px;
}

.role-sub {
  font-size: 13px;
  color: var(--text-sub);
}

.work-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.work-thumbs img {
  width: 100%;
  border-radius: var(--radius-s);
}

.work-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.work-desc {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 14px;
  line-height: 1.9;
}

.work-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: work-count;
  padding-top: 1em!important;
}

.work-checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  counter-increment: work-count;
}

.work-checklist li::before {
  content: counter(work-count);
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .work-card {
      max-width: 980px;

    padding: 32px;
  }

  .work-body {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
  }

  .work-thumbs {
    flex: 0 0 45%;
    max-width: 50%;
  }

  .work-info {
    flex: 1;
  }

  .work-info h3 {
    font-size: 20px;
  }

  .work-desc {
    font-size: 16px;
  }

  .work-checklist li {
    font-size: 16px;
  }
}

/* ==========================================================================
   川内鉄工工業の魅力
   ========================================================================== */
.section-merit {
  padding: 48px 0;
  background-color: var(--cream);
  background-image: url('https://kawauchi-tekko.co.jp/wp-content/uploads/2026/09/merit-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.section-merit .section-title {
  position: relative;
  margin-bottom: 30px;
}

.merit-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px 24px;
  /* max-width: 980px; */
  margin: 0 auto;
}

.merit-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  padding: 40px 20px 20px;
}

.merit-num {
  position: absolute;
  top: -50px;
  left: 14px;
  font-size: 80px;
  font-weight: 800;
  font-style: italic;
  color: var(--green);
  line-height: 1;
}

.merit-content {
  /* padding-left: 44px; */
  margin-bottom: 0;
}

.merit-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.merit-content p {
  font-size: 16px;
  color: var(--text-sub);
}

.merit-img img {
  border-radius: var(--radius-s);
  margin-bottom: 12px;
  width: 100%;
  max-height: 210px;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .merit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 32px;
  }

  .merit-num {
    font-size: 64px;
    top: -34px;
  }

  .merit-content h3 {
    font-size: 19px;
  }
}

/* ==========================================================================
   1日の流れ
   ========================================================================== */
.section-schedule {
  padding: 48px 0;
  background: var(--white);
  position: relative;
}

.section-schedule .section-title {
  margin-bottom: 36px;
}

.timeline {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-item .time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  padding-left: 20px;
}

.timeline-item .time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.timeline-item::after {
  /* content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  bottom: -20px;
  width: 2px;
  height: 100px;
  background: var(--border-green); */
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-body {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.timeline-text {
  padding: 16px 18px;
}

.timeline-text h3 {
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-text p {
  font-size: 16px;
  color: var(--text-sub);
}

.timeline-img {
  width: 100%;
}

.timeline-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .timeline {
    padding-left: 108px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .timeline-item {
    margin-bottom: 28px;
  }

  .timeline-item .time {
    position: absolute;
    left: -108px;
    top: 6px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
    padding-left: 0;
    margin-bottom: 0;
  }

  .timeline-item .time::before {
    display: none;
  }

  .timeline-item::after {
    content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  bottom: -20px;
  width: 2px;
  height: 110px;
  background: var(--border-green);

    left: -66px;
    top: 90px;
  }

  .timeline-body {
    display: flex;
  }

  .timeline-text {
    flex: 1;
    padding: 22px 26px;
  }

  .timeline-text h3 {
    font-size: 18px;
  }

  .timeline-text p {
    font-size: 17px;
  }

  .timeline-img {
    flex: 0 0 260px;
  }

  .timeline-img img {
    height: 160px;
    
  }
}

/* ==========================================================================
   待遇・福利厚生・その他
   ========================================================================== */
.section-benefit {
  padding: 48px 1em;
  background-color: var(--cream);
  background-image: url('https://kawauchi-tekko.co.jp/wp-content/uploads/2026/09/benefit-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-benefit .section-title {
  margin-bottom: 28px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow);
}

.benefit-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color:var(--green);
}

.benefit-text p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.8;
}

@media (min-width: 600px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   職場の雰囲気（Swiperスライダー）
   ※ Swiper本体の読み込み・初期化は page-recruit.php（テンプレート側）の
     wp_enqueue_script('swiper', ...) / wp_add_inline_script('swiper', ...) で
     行われている前提のスタイルです。
     初期化パラメータ:
       ・モバイル: slidesPerView 1.2 / centeredSlides: true / spaceBetween 12
       ・768px以上: slidesPerView 3 / centeredSlides: false / spaceBetween 20
       ・ナビゲーション矢印はモバイル／PC共通で表示
   ========================================================================== */
.section-atmosphere {
  padding: 48px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.section-atmosphere .section-title {
  margin-bottom: 26px;
}

/* section-atmosphere配下の .container のみ左右の余白をなくす
   （画像スライダーを画面幅いっぱいに見せるため） */
.section-atmosphere > .container {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

.section-atmosphere .section-title {
  padding-left: 20px;
  padding-right: 20px;
}

.atmosphere-swiper {
  position: relative;
  padding: 0 40px 44px;
}

.atmosphere-swiper .swiper-wrapper {
  align-items: stretch;
}

/* スライド幅は Swiper（slidesPerView）が制御するため、
   ここでは中身の見た目のみを指定します */
.atmosphere-item {
  position: relative;
  border-radius: var(--radius-s);
  overflow: hidden;
  height: auto;
}

.atmosphere-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.atmosphere-tag {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  /* font-weight: 700; */
  padding: 6px 12px;
  border-radius: 4px 0 4px 0;
}

/* ページネーション（ドット） */
.atmosphere-swiper .swiper-pagination {
  bottom: 0;
}

.atmosphere-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--border-green);
  opacity: 1;
}

.atmosphere-swiper .swiper-pagination-bullet-active {
  background: var(--green);
}

/* 前後の矢印ボタン（モバイル・PC共通で表示） */
.atmosphere-swiper .swiper-button-prev,
.atmosphere-swiper .swiper-button-next {
  width: 36px;
  height: 36px;
  margin-top: -18px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--green);
}

.atmosphere-swiper .swiper-button-prev {
  left: 0;
}

.atmosphere-swiper .swiper-button-next {
  right: 0;
}

.atmosphere-swiper .swiper-button-prev::after,
.atmosphere-swiper .swiper-button-next::after {
  font-size: 13px;
  font-weight: 700;
}

.atmosphere-swiper .swiper-button-disabled {
  opacity: 0.35;
}

@media (min-width: 768px) {
  .atmosphere-swiper {
    padding: 0 0 52px;
  }

  .atmosphere-item img {
    height: 160px;
  }

  .atmosphere-swiper .swiper-button-prev,
  .atmosphere-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    margin-top: -22px;
  }

  .atmosphere-swiper .swiper-button-prev {
    left: 8px;
  }

  .atmosphere-swiper .swiper-button-next {
    right: 8px;
  }
}


/* ==========================================================================
   よくあるご質問
   ========================================================================== */
.section-faq {
  padding: 48px 0;
  background: var(--white);
}

.section-faq .section-title {
  margin-bottom: 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1.5px solid var(--green);
  border-radius: var(--radius-m);
  padding: 18px 18px 20px;
}

.faq-q,
.faq-a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.faq-q {
  margin-bottom: 12px;
  color: var(--green);
}

.q-icon,
.a-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}

.q-icon {
  color: var(--green);
  /* border: 2px solid var(--green); */
}

.a-icon {
  /* background: var(--green); */
  color: #333;
}

.faq-q p {
  font-size: 16px;
  font-weight: 700;
  padding-top: 2px;
}

.faq-a p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.9;
  padding-top: 2px;
}

@media (min-width: 768px) {
  .faq-item {
    padding: 24px 28px 26px;
  }

  .faq-q p {
    font-size: 20px;
  }

}

/* ==========================================================================
   スタッフインタビュー
   ========================================================================== */
.section-interview {
  padding: 48px 0;
  background-color: var(--dark-soft);
  background-image: url('https://kawauchi-tekko.co.jp/wp-content/uploads/2026/09/interview-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-interview .section-title {
  margin-bottom: 30px;
}

.interview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto 40px;
}

.interview-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 24px 20px;
}

.interview-header {
  margin-bottom: 16px;
}

.staff-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
}

.staff-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-meta {
  /* display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px; */
  text-align: left;
}

.staff-meta .role {
  font-size: 16px;
  color: var(--text-sub);
}

.staff-meta .name {
  font-size: 16px;
  font-weight: 700;
}

.interview-copy {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 14px!important;
}

.interview-text {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.9;
}

.interview-video-block {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.interview-video-block .sub-title {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .interview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .interview-card {
    padding: 30px 24px;
  }

  .interview-copy {
    font-size: 18px;
  }

  .interview-text {
    font-size: 16px;
  }
}

/* ==========================================================================
   募集要項
   ========================================================================== */
.section-requirements {
  padding: 48px 0;
  background: var(--white);
}


.section-requirements .section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111111;
}

/* スマホ（デフォルト）：カード風デザイン */
.recruit-table {
  width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:0 4px 14px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
}

.recruit-table tbody {
  display: block;
  width: 100%;
}

.recruit-table tr {
  display: block;
  border-bottom: 1px solid #e5e5e5;
}

.recruit-table tr:last-child {
  border-bottom: none;
}

.recruit-table th,
.recruit-table td {
  /* display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  color: #333333; */
          display: block;
        width: 100%;
  
    font-weight: 700;
    color: #333;
    text-align: left;
    vertical-align: top;
    padding: 1.5rem;
    
}

.recruit-table th {
  /* font-weight: 700;
  margin-bottom: 8px;
  color: #111111; */

  border-bottom: none;
  padding-bottom: 0.5rem;
        background: #f8fafc;
}
.recruit-table td{
          padding-top: 0;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
}

/* 給与セクション */
.salary-highlight {
  font-weight: 700;
  margin-bottom: 12px;
}

.salary-sub {
  margin-bottom: 4px;
}

/* リスト形式（応募資格・福利厚生） */
.recruit-table td ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recruit-table td li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 2px;
}

.recruit-table td li::before {
  content: "・";
  position: absolute;
  left: 0;
}

@media (min-width: 768px) {
  .section-requirements {
    padding: 60px 0;
  }

  .section-requirements .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  /* テーブル表示に復元 */
  .recruit-table {
    display: table;
  }

  .recruit-table tbody {
    display: table-row-group;
  }

  .recruit-table tr {
    display: table-row;
    padding: 0;
  }

  .recruit-table th,
  .recruit-table td {
    display: table-cell;
    padding: 24px;
    font-size: 15px;
    line-height: 1.7;
    vertical-align: top;
  }

  .recruit-table th {
    width: 25%;
    margin-bottom: 0;
    white-space: nowrap;
  }

  .recruit-table td {
    width: 75%;
  }
}

/* ==========================================================================
   応募の流れ
   ========================================================================== */
.section-flow {
  padding: 48px 1em;
  background: var(--white);
}

.section-flow .section-title {
  margin-bottom: 32px;
}

.flow-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.flow-step {
  text-align: center;
}

.flow-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin: 0 auto 12px;
}

.step-num {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.flow-step h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.flow-arrow {
  color: var(--green);
  font-size: 26px;
  font-weight: 700;
  transform: rotate(90deg);
}

@media (min-width: 768px) {
  .flow-grid {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }

  .flow-arrow {
    transform: none;
  }

  .flow-step h3 {
    font-size: 16px;
  }
}

/* ==========================================================================
   メッセージ＆アピール
   ========================================================================== */
.section-message {
  padding: 48px 1em;
  background: var(--cream);
}
.section-message.container {
  padding: 0;
}
.msg-box {
  max-width: 1040px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.msg-text p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 16px;
}

.msg-text p:last-child {
  margin-bottom: 0;
}

.msg-character img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.section-message > .container > div:last-child {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-message > .container > div:last-child > div:first-child {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 12px;
  margin-bottom: 22px;
}

.section-message > .container > div:last-child > div:first-child > div {
  text-align: center;
}

.section-message > .container > div:last-child > div:first-child img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 12px;
  padding: 16px;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 50%;
  box-sizing: content-box;
}

.section-message > .container > div:last-child > div:first-child p {
  font-size: 16px;
  /* font-weight: 700; */
  line-height: 1.6;
}

.section-message > .container > div:last-child > p {
  font-size: 16px;
  color: var(--text-sub);
}

@media (min-width: 768px) {
  .msg-box {
    flex-direction: row;
    text-align: left;
    /* gap: 40px; */
    width: 900px;
    align-items: start;
  }

  .msg-text {
    flex: 1;
  }

  .msg-text p {
    font-size: 16px;
  }

  .msg-character {
    flex: 0 0 410px;
  }

  .msg-character img {
    width: 100%;
    max-width: none;
  }

  .section-message > .container > div:last-child > div:first-child {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   最終エントリーセクション
   ========================================================================== */
.section-entry {
  padding: 48px 0 64px;
  background: var(--cream);
  /* text-align: center; */
}
.section-entry h3 {
  text-align: center;
}

.section-entry > .container > p {
  max-width: 640px;
  margin: 0 auto;
  background: var(--dark);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  padding: 24px 18px 4px;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  text-align: center;
}

.entry-btn-group {
  max-width: 640px;
  margin: 0 auto;
  background: var(--dark);
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  padding: 20px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-tel,
.btn-mail {
  display: block;
  border-radius: var(--radius-s);
  padding: 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--white)!important;
  text-align: center;
}

.btn-tel {
  background: var(--green);
}

.btn-mail {
  background: rgba(255, 165, 4, 0.95);
  line-height: 2.8;
}

.mail-contact-box {
  max-width: 800px;
  margin: 36px auto 0;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 40px 20px;
  box-shadow: var(--shadow);
}

.mail-contact-box h3 {
  font-size: 20px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .section-entry > .container > p {
    font-size: 20px;
    padding: 30px 30px 6px;
  }

  .entry-btn-group {
    flex-direction: row;
    padding: 20px 30px 34px;
  }

  .btn-tel,
  .btn-mail {
    flex: 1;
    font-size: 15px;
  }

  .mail-contact-box {
    padding: 56px 40px;
  }
}
section {
  margin-right: 0;
  margin-left:0;
}
.l-footer{
  border-top: unset;
}
/* ==========================================================================
   フッター（footer-recruit.php）
   ・footer-recruit.php は Snow Monkey フレームワーク標準のテンプレートパーツ
     （ソーシャルナビ / ウィジェットエリア / フッターサブナビ / コピーライト）
     を呼び出す構成のため、実際に出力される詳細なクラス名は環境により異なります。
   ・ここでは崩れにくいよう [class*="..."] の部分一致セレクタで
     代表的なブロックを装飾しています。実際の出力を確認のうえ、
     必要であれば正確なクラス名に置き換えてください。
   ========================================================================== */
/*

.l-footer,
.l-footer--default {
  background: var(--dark);
  color: #fff;
  padding-top: 44px;
  font-size: 13px;
}

.l-footer a {
  color: #d0d0d0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.l-footer a:hover {
  color: var(--orange);
}
*/

/* ソーシャルナビゲーション */
.l-footer [class*="nav-social"] ul,
.l-footer [class*="social"] ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0 20px;
  margin: 0 0 36px;
}

.l-footer [class*="nav-social"] a,
.l-footer [class*="social"] a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.l-footer [class*="nav-social"] a:hover,
.l-footer [class*="social"] a:hover {
  border-color: var(--orange);
}

/* フッターウィジェットエリア */
.l-footer [class*="widget-area"] {
  padding: 0 20px 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: var(--container-w);
  /* margin: 0 auto; */
}

@media (min-width: 1024px) {
  .l-footer [class*="widget-area"] {
    max-width: var(--container-w-pc);
  }
}

.l-footer .widget-title,
.l-footer [class*="widget-area"] h2,
.l-footer [class*="widget-area"] h3 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.l-footer [class*="widget-area"] ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.l-footer [class*="widget-area"] li {
  margin-bottom: 8px;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .l-footer [class*="widget-area"] {
    /* grid-template-columns: repeat(3, 1fr); */
  }
}

/* フッターサブナビゲーション */
.l-footer [class*="nav-footer"] ul,
.l-footer [class*="footer-sub"] ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  padding: 22px 20px;
  margin: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.l-footer [class*="nav-footer"] a,
.l-footer [class*="footer-sub"] a {
  font-size: 16px;
}

/* コピーライト */
.l-footer [class*="copyright"] {
  text-align: center;
  font-size: 16px;
  color: #8f8f8f;
  padding: 18px 20px 26px;
}


/* contact form */
.form-section {
  /* border-top: 1px solid #f1f1f1; */
  padding: 20px 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  padding: 12px 0;
}
.form-label {
  width: 100%;
  font-size: 16px;
  color: #333;
  font-weight: 700;
  line-height: 1.6;
}

.form-required {
  color: red;
  font-size: 13px;
}
.form-field {
    flex: 1;
    width: 100%;
}
.form-field input, .form-field textarea {
  width: 100%;
  height: 40px;
  border-radius: 4px;
  border: none;
  background: #f7f7f7;
  padding: 12px 15px;
  font-size: 16px;
}
.form-field textarea {
  height: 100px;
}
.select-date select {
  border-radius: 4px;
  border: none;
  background: #f7f7f7;
  padding: 12px 15px;
  font-size: 16px;
  margin-right: 0.5em;
}
.select-date,
.select-date > * {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.select-date {
  gap: 12px;
}
.select-date > * {
  gap: 4px;
}
@media (min-width: 768px) {
  .form-section {
    padding: 24px 0;
  }
  .form-row {
    gap: 24px;
    align-items: center;
    padding: 10px 0;
    flex-direction: unset;
  }
  .form-label {
    font-weight: 700;
  }
}
.form-submit-Wrap {
  text-align: center;
  margin-top: 24px;
}
.form-submit {
  display: inline-block;
    border-radius: 5px;
    border: none;
    background: var(--orange);
    color: var(--white);
    font-size: 20px;

  min-width: 100%;
  padding: 14px 24px;
  font-size: 16px;
}
@media (min-width: 768px) {
  .form-label {
    width: 180px;
  }
  .form-submit {

    min-width: 300px;
    padding: 16px 28px;

    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    overflow: hidden;
    position: relative;
  }
}