@charset "utf-8";
/* CSS Document */
/* =========================================================
   目次
   ---------------------------------------------------------
   1.  カラー変数
   2.  ベース設定
   3.  共通パーツ
       3-1. インナー（最大幅ラッパー）
       3-2. セクションタイトル
       3-3. 共通ボタン（.btn-main）
       3-4. うねうね
       3-5.改行
   4.  ヘッダー
       4-1. ヘッダー本体
       4-2. PCナビゲーション
       4-3. サブメニュー
       4-4. ハンバーガーボタン
       4-5. SPナビゲーション
   5. フッター
   6. TOPへ戻るボタン
   7. 各ページ共通設定
   ========================================================= */


/* =========================================================
   1. カラー変数
   ========================================================= */
:root {
  --color-brown:      #603813; /* 本文・見出し */
  --color-green:      #3cb053; /* メインカラー（緑） */
  --color-green-dark: #2f8a43; /* 濃い緑 */
  --color-orange:     #f1a528; /* アクセントオレンジ */
  --color-orange-dark:#eb6d05; /* 濃いオレンジ */
  --color-orange-mid: #f18e2c; /* 中間オレンジ */
  --color-bg-white:   #fff;
  --color-bg-yellow:  #fffce0; /* 薄い黄色背景 */
  --color-bg-cream:   #fdf2c6; /* クリーム色背景 */
  --color-bg-beige:   #fef0dd; /* ベージュ背景 */
  --color-border-dot: #fbd9b5; /* 点線ボーダー */
}


/* =========================================================
   2. ベース設定
   ========================================================= */
body {
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background-color: var(--color-bg-white);
  color: var(--color-brown);
  line-height: 1.8;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: justify;
}

@media (max-width: 1000px) {
  body { font-size: 0.95rem; }
}

html {
  scroll-padding-top: 150px; 
}
/* =========================================================
   3. 共通パーツ
   ========================================================= */

/* ---------------------------------------------------------
   3-1. インナー（最大幅ラッパー）
   --------------------------------------------------------- */
.inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
  width: 100%;
}


/* ---------------------------------------------------------
   3-2. セクションタイトル
   --------------------------------------------------------- */
.section-title {
  display: inline-block;
  position: relative;

  font-weight: 700;
  font-size: clamp(20px, 2.3rem, 32px);
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: #fff;

  padding: 12px 40px;
/*  margin: 0 auto 40px; */
  margin-bottom: 40px;

  text-align: center;
}
/*リボン両端*/
.ribbon-both {
  position: relative;
  display: inline-block;
  padding: 5px 50px;
  color: #fff;
}
.ribbon-both::before,
.ribbon-both::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 10px;
  height: calc(100% + 2px);
  background: #fff;
}

/* 左 */
.ribbon-both::before {
  left: -1px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
/* 右 */
.ribbon-both::after {
  right:-1px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
/*リボン右のみ*/
.ribbon-right {
  position: relative;
  display: inline-block;
  padding: 5px 40px 5px 25px;
  color: #fff;
}

.ribbon-right::after {
  content: "";
  position: absolute;
 top: -1px;
  right: -1px;
  width: 10px;
  height: calc(100% + 2px);
  background: #fff;   /* ← 背景色でくり抜く */
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
  /*背景の色*/
.theme-green {
  background: #3cb053;
}
.theme-orange {
  background: #f1a528;
}
@media (max-width: 480px) {
  .section-title { font-size: 1.3rem; }
}


/* ---------------------------------------------------------
   3-3. 共通ボタン（.btn-main）
   --------------------------------------------------------- */
.btn-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  border-radius: 50px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 20px;
justify-content: center;
}

/* テキスト */
.btn-text { letter-spacing: 0.1em; }

/* 右側の白丸 */
.btn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 丸の中の矢印 */
.btn-arrow {
  width: 16px;
  height: 16px;
  stroke: var(--color-green-dark);
  stroke-width: 3;
  fill: none;
  transition: transform 0.3s ease;
}
/* 緑 */
.btn-main.is-green {
  background: var(--color-green-dark);
}

.btn-main.is-green .btn-arrow {
  stroke: var(--color-green-dark);
}

/* オレンジ */
.btn-main.is-orange {
  background: var(--color-orange-dark);
}

.btn-main.is-orange .btn-arrow {
  stroke: var(--color-orange-dark);
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.btn-main:hover .btn-arrow { transform: translateX(4px); }

/* スマホ */
@media (max-width: 768px) {
  .btn-main {
    padding: 5px 15px;
    font-size: 1.1rem;
  }
  .btn-text   { letter-spacing: 0.05em; }
  .btn-circle { width: 22px; height: 22px; }
  .btn-arrow  { width: 14px; height: 14px; }
  .btn-main:active { transform: translateY(1px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); opacity: 0.9; }
}
/* ---------------------------------------------------------
   3-4.うねうね（波線）共通スタイル
   --------------------------------------------------------- */
.wave-decoration {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
}

.wave-decoration img {
  width: 100%;
  height: auto;
}

/* セクションの下に配置する場合 */
.wave-decoration.is-bottom {
  bottom: 0;
}

/* セクションの上に配置する場合（上下反転させる） */
.wave-decoration.is-top {
  top: -1px;
  transform: scaleY(-1);
}

/* --- アクセスセクション個別の調整 --- */
.access-section {
  position: relative;

}


.office-section .wave-decoration.is-bottom img {

}
/* ---------------------------------------------------------
   3-5.改行
   --------------------------------------------------------- */
.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .sp-br {
    display: inline;
  }
}

/* =========================================================
   4. ヘッダー
   ========================================================= */

/* ---------------------------------------------------------
   4-1. ヘッダー本体
   --------------------------------------------------------- */
.header {
  width: 100%;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  box-shadow: 0 3px 10px rgba(218, 148, 7, 0.3);
}

/* ロゴ下の白い楕円（ドロップシャドウ用） */
.header::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 150px;
  background: #fff;
  border-radius: 50%;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 50%);
  box-shadow: 0 3px 10px rgba(218, 148, 7, 0.3);
}

/* ヘッダー内の横並びラッパー */
.header-nav-wrapper {
  background: #fff;
  position: relative;
  z-index: 2;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1000px) {
  .header-nav-wrapper { height: 80px; }
}

/* 中央ロゴエリア */
.logo-wrapper {
  flex-shrink: 0;
  position: relative;
  z-index: 20;
  margin-top: 45px; /* ロゴをヘッダー下に飛び出させる */
}

.logo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-center > img { width: 155px; height: auto; margin-inline: auto; }

.logo-text {
  font-size: 0.7rem;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
  font-weight: bold;
  color: var(--color-green);
  padding: 0 15px;
  border-radius: 50px;
  border: 1px solid var(--color-green);
}

/* 右端ボタン群 */
.header-btns {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 150px;
}

.btn-inquiry,
.btn-recruit {
  height: 45px;
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0 0 0 20px;
  transition: background-color 0.5s ease;
  position: relative;
}

.btn-inquiry { background: var(--color-green); color: #fff; z-index: 2; }
.btn-recruit {
  background: var(--color-orange);
  color: #fff;
  z-index: 1;
  height: 60px;
  margin-top: -15px;  /* inquiryボタンに重ねて角丸を隠す */
  padding-top: 15px;
}

.btn-inquiry:hover { background-color: #4cd167; }
.btn-recruit:hover  { background-color: #ffb84d; }


/* ---------------------------------------------------------
   4-2. PCナビゲーション
   --------------------------------------------------------- */
.nav-container { flex: 1; display: flex; align-items: center; }
.nav-container-left  { justify-content: flex-end;   padding-right: 50px; }
.nav-container-right { justify-content: flex-start; padding-left:  50px; }

.nav-list { display: flex; list-style: none; gap: 40px; margin: 0; padding: 0; }

.nav-list li { position: relative; white-space: nowrap; }

.nav-list li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-brown);
  padding: 5px 0;
  transition: color 0.3s;
}

.nav-list li > a:hover { color: var(--color-orange); }

/* メニュー前の丸いドット */
.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5c000;
  display: inline-block;
  flex-shrink: 0;
}

/* 左ナビ1・3番目、右ナビ2番目はオレンジドット */
.nav-container-left  .nav-list > li:nth-child(1) .nav-dot,
.nav-container-left  .nav-list > li:nth-child(3) .nav-dot,
.nav-container-right .nav-list > li:nth-child(2) .nav-dot {
  background-color: var(--color-orange);
}


/* ---------------------------------------------------------
   4-3. サブメニュー（PCドロップダウン）
   --------------------------------------------------------- */
.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border-radius: 15px;
  list-style: none;
  padding: 10px 15px;
  min-width: 190px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

/* ホバー検知エリアの隙間を透明な橋でつなぐ */
.sub-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

.nav-list > li:hover .sub-menu { opacity: 1; visibility: visible; }

.sub-menu li { border-bottom: 2px dotted #eee; padding: 5px; }
.sub-menu li:last-child { border-bottom: none; }

.sub-menu li a {
  display: block;
  padding: 8px 18px;
  font-size: 0.8rem;
  color: var(--color-brown);
  line-height: 1.7;
  transition: color 0.2s;
}

.sub-menu li a:hover { color: var(--color-green); }


/* ---------------------------------------------------------
   4-4. ハンバーガーボタン（SPのみ）
   --------------------------------------------------------- */
.hamburger {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: none; /* PCでは非表示 */
  z-index: 10000;
}

@media (max-width: 1000px) {
  .nav-container,
  .header-btns { display: none; }

  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 15px;
    top: 40px;
    transform: translateY(-50%);
    background: var(--color-green);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    cursor: pointer;
  }

  .hamburger span {
    width: 30px;
    height: 2px;
    background: #fff;
    margin: 3px 0;
    transition: all 0.3s;
  }

  .hamburger small { color: #fff; font-size: 10px; font-weight: bold; }

  /* 開いた状態：MENU → CLOSE */
  .hamburger.is-active small { display: none; }
  .hamburger.is-active::after { content: "CLOSE"; color: #fff; font-size: 10px; font-weight: bold; margin-top: 2px; }

  /* 開いた状態：3本線 → バツ */
  .hamburger.is-active span:nth-child(1) { transform: translateY(8px)  rotate(45deg); }
  .hamburger.is-active span:nth-child(2) { opacity: 0; }
  .hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}


/* ---------------------------------------------------------
   4-5. SPナビゲーション（全画面オーバーレイ）
   --------------------------------------------------------- */
.sp-nav {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  overflow-y: auto;
}

.sp-nav.is-active { opacity: 1; visibility: visible; }

/* 上部固定バー */
.sp-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.sp-nav-logo img { height: 50px; width: auto; display: block; }

/* ナビリスト */
.sp-nav-list { border-top: 1px solid #eee; padding: 0 20px; }
.sp-nav-list li { border-bottom: 2px dotted #eee; }

.sp-nav-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.2s;
}

.sp-nav-list li a:hover { color: var(--color-orange); }

/* 矢印（>） */
.arrow-s {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.has-sub.is-open .arrow-s { transform: rotate(135deg); }

/* SPサブメニュー（アコーディオン） */
.sp-nav .sub-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  position: static;
  transform: none;
  visibility: visible;
  width: 100%;
  box-shadow: none;
  background: #f9f9f9;
  text-align: left;
  padding: 0 0 0 30px;
  min-width: 100%;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.sp-nav .has-sub.is-open > .sub-menu { max-height: 500px; opacity: 1; padding: 0 10px; }

/* 下部アクションエリア */
.sp-nav-actions { padding: 24px 20px 16px; display: flex; flex-direction: column; gap: 12px; }

.sp-nav-tel-area {
  text-align: center;
  padding: 25px 20px;
  background-color: var(--color-orange-dark);
  border-radius: 15px;
}

.tel-label       { font-size: 15px; color: #fff; font-weight: bold; }
.tel-number-link {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  letter-spacing: 0.05em;
  border-bottom: 2.5px dotted #fff;
  padding-bottom: 10px;
}

.sp-nav-btn-group { display: flex; gap: 10px; padding: 0 10px; }

.btn-sp-inquiry,
.btn-sp-recruit {
  flex: 1;
  height: 50px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-sp-inquiry { background: var(--color-green); }
.btn-sp-recruit  { background: var(--color-orange); }
.btn-sp-inquiry:hover,
.btn-sp-recruit:hover { opacity: 0.85; }

/* =========================================================
   5. フッター
   ========================================================= */
.footer { position: relative;background-color: transparent;margin-top: -200px; }

.footer-wave { width: 100%; line-height: 0; }
.footer-wave img { width: 100%; height: auto; display: block; background: transparent; }

.footer-content { background-color: var(--color-green-dark); padding-bottom: 120px; margin-top: -1px; }

.footer-inner {
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap:50px;
}

/* 左側：会社情報 */
.footer-info { flex: 1; color: #fff; }

.footer-company { font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; line-height: 1.4; }
.footer-address { line-height: 1.25; margin-bottom: 10px; letter-spacing: 0.09em; font-weight: 500; }

.footer-contact { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 35px; }

.contact-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: var(--color-green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  line-height: 1.2;
  flex-shrink: 0;

}

.contact-number { font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}
.footer-btns { display: flex; gap: 15px; }

.btn-footer-inquiry,
.btn-footer-recruit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 45px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-footer-inquiry { background-color: var(--color-green); }
.btn-footer-recruit  { background-color: var(--color-orange); }

.btn-footer-inquiry:hover,
.btn-footer-recruit:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.2); }

/* 右側：フッターナビ */
.footer-nav {
  flex: 1.6;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
}

.footer-nav-group { display: flex; flex-direction: column; }

.footer-nav-item > a,
.footer-nav-item > p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-nav-group .footer-nav-item:nth-child(2) p { margin-bottom: 0; }

.footer-dot { width: 10px; height: 10px; border-radius: 50%; background-color: var(--color-orange); flex-shrink: 0; }

.footer-sub-list { padding: 0 0 0 18px; }
.footer-sub-list li { line-height: 1.5; }

.footer-sub-list a {
  color: #fff;
  font-size: 0.9rem;
  transition: opacity 0.2s;
  line-height: 1.5;
  display: inline-block;
}

.footer-sub-list a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .footer          { padding-top: 100px; }
  .footer-inner    { flex-direction: column; gap: 50px; padding: 20px; }
  .footer-company  { font-size: 1.5rem; }
  .footer-address  { font-size: 1rem; }
  .footer-contact  { gap: 10px; }
  .footer-nav      { grid-template-columns: 1fr; gap: 15px; }
}
@media (max-width: 480px) {
	.contact-label {
		width: 70px;
	}
}

/* =========================================================
   6. TOPへ戻るボタン
   ========================================================= */
.page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 989;
  width: 90px;
  transition: transform 0.3s ease, opacity 0.3s;
  cursor: pointer;
}

.page-top a   { display: block; }
.page-top img { width: 100%; height: auto; display: block; }
.page-top:hover { transform: translateY(-5px); }

@media (max-width: 1000px) {
  .page-top { width: 80px; right: 10px;}
}

/* =========================================================
   7. 各ページ共通設定
   ========================================================= */
.sub-hero {
  position: relative;
  width: 100%;
  height: 350px; /* うねうねを含めた高さ */
  background-color: var(--color-bg-yellow); /* 変数の薄い黄色 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 60px;
}

.sub-hero-inner {
  position: relative;
  z-index: 2;
  /* 背景の「うねり」が下に来るので、少し上に持ち上げるとバランスが良いです */
  margin-top: -20px; 
}

/* タイトルとサブタイトルの色は common.css の変数を継続使用 */
.sub-hero-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-brown);
  letter-spacing: 0.1em;
  margin: 0;
}

.sub-hero-subtitle {
  display: block;
  font-size: 1.1rem;
  color: var(--color-orange-dark);
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* --- サブヒーロー内のうねうね調整 --- */
.sub-hero .wave-decoration.is-bottom {
  bottom: -1px; /* 1pxだけ重ねて隙間（白い線）が出るのを防ぐ */
}

/* スマホ対応 */
@media (max-width: 1000px) {
  .sub-hero {
    height: 230px;
  }
  .sub-hero-title {
    font-size: 1.8rem;
  }
  .sub-hero-inner {
    margin-top: -10px;
  }
}