@charset "UTF-8";

:root {
  --color-main: #607d35;
  --color-dark: #26301f;
  --color-text: #283126;
  --color-bg: #f5f7f2;
  --content-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
h1, h2, h3, h4, h5, h6, p { margin: 0;}
body {
	margin: 0;
	color: #333;
	font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
	line-height: 1.8;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--content-width)); margin-inline: auto; }
.container--narrow { max-width: 900px; }
.button { display: inline-flex; min-height: 50px; padding: 0 26px; align-items: center; justify-content: center; color: #fff; background: var(--color-main); border: 0; border-radius: 5px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }

/* ==========================
   ヘッダー
========================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    background-color .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

/* スクロール後の背景 */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: #e6e9e3;
  box-shadow: 0 5px 20px rgba(38, 48, 31, .08);
}

/* メニュー展開時の背景 */
.site-header.menu-active {
  background: rgba(255, 255, 255, .98);
}

/* ヘッダー内側 */
.site-header__inner {
  width: min(calc(100% - 48px), 1400px);
  min-height: 90px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

/* ロゴ */
.site-header__logo {
  display: block;
  position: relative;
  flex: 0 0 260px;
  width: 260px;
  line-height: 0;
}

.site-header__logo img {
  display: block;
  width: 260px;
  height: 60px;
  object-fit: contain;
  transition: opacity .3s ease;
}

/* スクロール後のロゴを重ねる */
.site-header__logo .logo-scrolled {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* スクロール後：白ロゴを隠す */
.site-header.is-scrolled .site-header__logo .logo-default {
  opacity: 0;
}

/* スクロール後：通常ロゴを表示 */
.site-header.is-scrolled .site-header__logo .logo-scrolled {
  opacity: 1;
}

/* ナビゲーション */
.site-header__nav {
  margin-left: auto;
}

.site-header__nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 通常時：白文字 */
.site-header__nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  transition: color .3s ease;
}

/* スクロール後：紺文字 */
.site-header.is-scrolled .site-header__nav a {
  color: #123968;
}

/* 電話番号 */
.site-header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.site-header__phone small {
  font-size: 10px;
  font-weight: 400;
}

.site-header__phone strong {
  font-size: 18px;
  letter-spacing: .04em;
}

/* お問い合わせボタン */
.site-header__contact {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  color: #fff;
  border-radius: 999px;
  background-color: #123968;
}

/* ボタン文字は常に白 */
.site-header__nav a.site-header__contact,
.site-header.is-scrolled .site-header__nav a.site-header__contact {
  color: #fff;
}

/* ボタン hover */
.site-header__contact:hover {
  background-color: #1f4f82;
  color: #fff;
}

/* ハンバーガーボタン */
.site-header__toggle {
  display: none;
}

.site-footer {
	padding-top: 64px;
	color: #fff;
	background: #123968;
}
.site-footer__inner { width: min(calc(100% - 40px), var(--content-width)); margin-inline: auto; display: flex; justify-content: space-between; gap: 50px; }
.site-footer__logo { display: block; width: 260px; margin-bottom: 24px; line-height: 0; }
.site-footer__info p {
	font-size: 14px;
	margin-bottom: 10px;
}
.site-footer_tel {
	font-size: 16px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
}
.site-footer_tel span{
	font-size: 28px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
}
.site-footer__info a,
.site-footer__nav a {
  text-decoration: none;
}
.site-footer__nav ul {
  display: flex;
   flex-wrap: nowrap;
  align-items: center;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__copyright { margin: 54px 0 0; padding: 18px 20px; text-align: center; border-top: 1px solid rgba(255,255,255,.16); }



@media (max-width: 900px) {
  /* ヘッダー内側 */
  .site-header__inner {
    width: calc(100% - 32px);
    min-height: 72px;
  }

  /* ロゴ */
  .site-header__logo {
    flex-basis: 210px;
    max-width: calc(100% - 64px);
  }

  .site-header__logo img {
    width: 100%;
    height: auto;
    aspect-ratio: 260 / 60;
    object-fit: contain;
  }

  /* ハンバーガーボタン */
  .site-header__toggle {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  /* ハンバーガーの線：通常時は白 */
  .site-header__toggle span {
    width: 26px;
    height: 2px;
    background: #fff;
    transition:
      background-color .3s ease,
      transform .3s ease,
      opacity .3s ease;
  }

  /* スクロール後：線を紺色に */
  .site-header.is-scrolled .site-header__toggle span {
    background: #123968;
  }

  /* メニュー展開時：線を紺色に */
  .site-header.menu-active .site-header__toggle span {
    background: #123968;
  }

  /* ×印への切り替え */
  .site-header__toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .site-header__toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* ナビゲーションメニュー */
  .site-header__nav {
    position: fixed;
    inset: 72px 0 0;
    display: none;
    overflow-y: auto;
    background: rgba(255, 255, 255, .98);
  }

  /* メニューを開いた状態 */
  .site-header__nav.is-open {
    display: block;
  }

  /* メニュー一覧 */
  .site-header__nav ul {
    padding: 30px 24px 50px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* 各メニュー項目 */
  .site-header__nav li {
    border-bottom: 1px solid #e1e5de;
  }

  /* メニュー文字：紺色 */
  .site-header__nav a {
    display: block;
    padding: 17px 8px;
    color: #123968;
  }

  /* 電話番号 */
  .site-header__phone {
    display: block;
  }

  /* お問い合わせボタン */
  .site-header__contact {
    margin-top: 20px;
    justify-content: center;
    border-radius: 6px;
  }

  /* ボタンの文字は白 */
  .site-header__nav a.site-header__contact {
    color: #fff;
  }

  /* フッター */
  .site-footer__inner {
    flex-direction: column;
  }

  /* フッターナビ */
  .site-footer__nav ul {
    grid-template-columns: 1fr;
  }
}

@media only screen and (min-width: 481px){
.spDisp {display: none;}
.spHide {display:block;}
}
@media only screen and (max-width: 481px){
.spDisp {display:block;}
.spHide {display:none;
}