@charset "UTF-8";
/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
/* フォント設定 */
body,
html {
  font-family: "Noto Sans JP", sans-serif;
  color: #1A1A1A !important;
}

/* 固定ヘッダー対応：アンカーリンクの位置調整 */
h1,
h2,
h3,
h4,
h5,
h6,
[id],
.c-section__title-deco,
section {
  scroll-margin-top: 0px;
  /* 固定ヘッダーの高さ分 */
}

/* より確実なスクロール位置調整（必要に応じて） */
html {
  scroll-padding-top: 70px;
}

/* スマホ用改行 */
.spbr {
  display: none;
}
@media screen and (max-width: 768px) {
  .spbr {
    display: block;
  }
}

/* ヘッダーカスタマイズ */
.site-header {
  height: 80px !important;
  position: fixed !important;
  /* ヘッダーを固定 */
  background-color: rgba(255, 255, 255, 0.9) !important;
  display: flex;
  align-items: end !important;
  box-shadow: 0px 2px 4px rgba(192, 192, 192, 0.4) !important;
  padding: 0 0 12px 0 !important;
}

.site-body {
  padding-top: 0 !important;
  /* ヘッダーの高さ分だけ余白を追加 */
  margin-top: 80px !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ロゴをヘッダー中央に垂直揃え */
.site-header-logo {
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 0 !important;
  padding: 8px !important;
  display: flex;
  align-items: end;
}
@media screen and (max-width: 768px) {
  .site-header-logo img {
    height: 30px !important;
  }
}

.p-fv__slider {
  margin-top: 80px !important;
  /* ヘッダーの高さ分だけ余白を追加 */
}

.lightning_swiper {
  margin-top: 80px !important;
  /* ヘッダーの高さ分だけ余白を追加 */
}

/* フロートヘッダーカスタマイズ */
/* ナビゲーションメニューの調整 */
.global-nav-name {
  font-family: "Noto Sans JP", serif;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1A1A1A !important;
  transition: font-weight 0.3s ease;
  padding: 10x 10x 5px 10px !important;
  position: relative;
}
.global-nav-name::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background-color: #7BAE4F;
  transition: width 0.3s ease;
}

.menu-item {
  padding: 0 !important;
}
.menu-item a {
  margin-left: 0px !important;
  margin-right: 0px !important;
  padding: 16px 16px 8px 16px !important;
}
.menu-item a:hover .global-nav-name {
  font-weight: 700 !important;
}
.menu-item a:hover .global-nav-name::before {
  width: calc(100% - 4px) !important;
  height: 4px !important;
}

/* カレントメニューに下線を追加 */
.current-menu-item a .global-nav-name::before {
  width: calc(100% - 4px) !important;
  background-color: #005BBB;
}

/* 問い合わせボタンには下線を引かない */
.c-cta__button.header a .global-nav-name::before {
  display: none !important;
}

/* コンテンツ幅の調整 */
.wp-block-group {
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 見出しと段落の余白調整 */
.c-indent__block {
  color: #1A1A1A !important;
  font-size: 18px !important;
  font-weight: normal;
  line-height: 1.5;
  letter-spacing: 5% !important;
  padding-top: 20px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}
@media screen and (max-width: 768px) {
  .c-indent__block {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* カードコンポーネントの余白調整 */
.card-post {
  padding: 10px !important;
  margin: 5px 5px 40px 5px !important;
  height: auto !important;
}

/* カードボディの余白調整 */
.card-body {
  padding: 10px 0 10px !important;
}

.card-title {
  color: #1A1A1A !important;
  text-align: center !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 500 !important;
}

.c-button__line {
  display: block;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.c-button__line img {
  opacity: 0.7;
  transition: opacity 0.5s ease, box-shadow 0.6s ease;
  width: 160px;
  box-shadow: rgba(51, 51, 51, 0.8) 2px 2px 5px !important;
}
.c-button__line:hover img {
  opacity: 1;
  box-shadow: none !important;
}

/* 固定ボタンの位置調整 */
.c-button__line.top {
  display: none;
  position: fixed !important;
  top: 80px;
  right: 10px;
  z-index: 1000;
}
@media screen and (max-width: 991px) {
  .c-button__line.top {
    top: 16px;
    width: 140px;
    right: 50px;
  }
}
@media screen and (max-width: 768px) {
  .c-button__line.top {
    width: 120px;
    top: 3px;
  }
}

.main-section--col--two {
  width: 100% !important;
}

/*上に戻るボタンカスタマイズ*/
.page_top_btn {
  /*ボタンの大きさ*/
  display: block;
  width: 50px;
  height: 50px;
  /*ボーダーの種類と色*/
  border: solid #333 2px;
  /*ボタンの背景色*/
  background: transparent;
  /*ボタンの丸み*/
  border-radius: 50%;
  /*ボタンの中の画像（デフォルトのもの）*/
  background-image: url("./img/arrow_up.png");
  /*↑あらかじめメディアにアップロードした画像のURLをコピーしておき、画像のURLのところに貼り付けます*/
  /*ボタンの中の画像サイズと位置など*/
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
  /*シャドウ効果なし*/
  box-shadow: none;
}

.fv-wrapper {
  background-image: repeating-linear-gradient(55deg, #f2f2f2, #f2f2f2 10px, transparent 10px, transparent 20px);
  margin-bottom: 40px !important;
  margin-left: 0 !important;
  margin-bottom: 0 !important;
}

.fv-outer {
  position: relative;
  overflow: hidden;
}

/* テキストを中央に大きく配置 */
.fv-copy {
  position: absolute;
  top: 0;
  left: 20vw;
  z-index: 99;
}
.fv-copy h2 {
  margin: 70px 0 0 0 !important;
  font-size: clamp(42px, 9vw, 150px) !important;
  color: #005BBB;
  letter-spacing: -4%;
  clip-path: inset(0 100% 0 0);
  animation: revealClip 2s ease-out forwards;
}
.fv-copy h3 {
  margin-top: 60px !important;
  font-size: clamp(42px, 6vw, 90px) !important;
  color: #005BBB;
  letter-spacing: -5%;
  clip-path: inset(0 100% 0 0);
  animation: revealClip 2s ease-out 1s forwards;
}

@keyframes revealClip {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
/* フワッと上に出てくる */
@keyframes fvFadeUp-temp {
  0% {
    opacity: 0;
    transform: translateX(-150%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* すでに .fv-main-copy にアニメーションがある前提 */
.fv-sub-copy {
  width: 100%;
  color: #005BBB;
  margin: 40px 0 0 0 !important;
  font-size: 40px;
  font-weight: 700;
  /* お好みで */
  line-height: 1.8;
  /* 最初は非表示 */
  opacity: 0;
  animation: fvSubFadeUp 2.2s ease-out 2s forwards;
  /*              ↑時間      ↑ディレイ（メインのあとに出す） */
}
@media screen and (max-width: 768px) {
  .fv-sub-copy {
    font-size: 28px;
  }
}

/* ふわっとフェードイン */
@keyframes fvSubFadeUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.your-slider .slick-list {
  height: 75vh !important;
  /* Adjust the height as needed */
  overflow: hidden;
  line-height: 0;
  margin-left: -5vw;
  padding: 0;
  object-fit: contain;
}
.your-slider .slick-list img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* slick のスライド全体に白フィルター */
.slick-slide {
  position: relative;
}

.slick-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 20%;
  /* 調整：0.05〜0.15 */
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 70%), url("./img/gravel.webp");
  opacity: 0.15;
  pointer-events: none;
}

/* 関ヶ原キャラクター画像 */
.fv-left__wrap {
  position: relative;
}

.c-section__title {
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  color: #1A1A1A !important;
  padding: 5px 16px 5px 24px !important;
  position: relative;
  display: inline-block !important;
}
.c-section__title::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 4px;
  height: 85%;
  background-color: #005BBB;
}

.c-section__sub-title {
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #7BAE4F !important;
}

/* ctaボタンカスタマイズ */
.c-cta__button a {
  background-color: #fff !important;
  background-image: url("./img/arrow_right.svg") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  color: #005BBB !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  padding: 18px 80px 18px 29px !important;
  border-radius: 2px !important;
  border: 2px solid #005BBB !important;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.6) !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.c-cta__button a:hover {
  box-shadow: none !important;
  transform: translate(4px, 4px);
}

.c-cta__button.header a {
  padding: 9px 60px 9px 10px !important;
  background-size: 40px 18px;
  background-position: right 10px center !important;
}
.c-cta__button.header a::before {
  display: none !important;
}

/*　事業についてカードのスタイル調整　*/
.p-service__card {
  border: solid 1px #005BBB;
  display: flex;
  justify-content: center;
  align-items: center;
  row-gap: 20px;
  padding: 32px 0 !important;
}
.p-service__card h4 {
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: #1A1A1A !important;
  text-align: center;
}
.p-service__card h5 {
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  color: #7BAE4F !important;
  text-align: center;
  padding: 10px 10px !important;
  background-color: #fff;
}
.p-service__card img {
  width: 330px;
  height: auto;
}

.p-service__card.public {
  background-color: rgba(0, 91, 187, 0.1) !important;
}

.p-service__card.private {
  background-color: rgba(187, 232, 135, 0.2) !important;
}

.p-footer__copy {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
}

.p-footer__map {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: auto 0 0 20px !important;
}

.c-page__sub-title {
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #1A1A1A !important;
  letter-spacing: 1.1px;
  border-bottom: 2px solid #005BBB;
  padding: 10px !important;
  margin: 0 !important;
}

.c-page__text {
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 18px !important;
  color: #1A1A1A !important;
  line-height: 1.5 !important;
  letter-spacing: 0.9px !important;
  font-weight: 400;
}

.c-page__frame {
  display: flex;
  padding: 36px 16px 28px 16px;
  justify-content: center;
  align-items: center;
  column-gap: 38px;
  align-self: stretch;
}
.c-page__frame img {
  display: block !important;
}

/* ヘッダーの背景エリアをぺったんこ＆装飾なしに */
.page-header {
  display: none !important;
}

.breadcrumb {
  margin-top: 80px !important;
  background-color: #f2f2f2;
}

/* 個別ページのトップマージン調整 */
.l-page__top {
  margin-top: -80px !important;
  padding-top: 60px !important;
  padding-bottom: 40px !important;
}

.l-page {
  padding-top: 60px !important;
  padding-bottom: 40px !important;
}

/* ページタイトルだけ非表示 */
.l-page__license {
  position: relative;
}

.pic-seki-man {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.l-page__public,
.l-page__private {
  background-color: rgba(0, 91, 187, 0.1) !important;
  padding: 40px 20px !important;
  display: flex;
  justify-content: center;
}

.l-page__private {
  background-color: rgba(187, 232, 135, 0.2) !important;
}

.l-page__public {
  background-color: rgba(0, 91, 187, 0.1) !important;
}

.l-page__top.public {
  background-color: rgba(0, 91, 187, 0.05) !important;
}

.l-page__top.private {
  background-color: rgba(187, 232, 135, 0.1) !important;
}

/* お問い合わせフォームスタイル */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 40px 24px 2px 24px;
  margin-top: 40px;
}

.form-row {
  margin-bottom: 22px;
}

.form-row--block {
  margin-bottom: 30px;
}

.form-label {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}
.form-label br {
  display: none !important;
}

.required {
  color: #E90F0F;
  font-size: 11px;
}

.input-text,
.textarea-large {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 14px;
  box-sizing: border-box;
}

.textarea-large {
  min-height: 220px;
  resize: vertical;
}

.form-radio-group label {
  display: block;
  margin-bottom: 4px;
}

.form-note {
  font-size: 13px;
  color: #555;
}

.form-row--submit {
  text-align: center;
  margin-top: 24px;
}

.btn-submit {
  width: 100%;
  display: block;
  padding: 10px 60px;
  background: #0067c0;
  color: #fff;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  margin-bottom: 0;
}

.btn-submit:hover {
  background: #0053a0;
}

.c-section__title.contact {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: fit-content !important;
}

/* ラジオ全体のラップ */
.radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  margin-bottom: 10px;
}

/* 本物のラジオボタンは非表示（位置はそのまま） */
.custom-radio input[type=radio] {
  position: absolute;
  opacity: 0;
}

/* ○のベースを、テキスト側の span に付ける */
.custom-radio input[type=radio] + span::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #005bac;
  /* 枠の色 */
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  margin-right: 8px;
  transition: all 0.2s ease;
  vertical-align: -3px;
  /* ずれが気になれば微調整 */
}

/* チェックされたときに中を塗る */
.custom-radio input[type=radio]:checked + span::before {
  background-color: #005bac;
  border-color: #005bac;
}

.global-nav-description {
  position: absolute !important;
  top: 0 !important;
  color: #005bac !important;
  font-size: 14px !important;
}

.c-section__title-frame {
  display: inline-block !important;
  position: relative;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.c-section__title-deco {
  position: absolute;
  top: -120%;
  left: 20%;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 68px !important;
  font-weight: 900 !important;
  color: #005bbb !important;
  opacity: 0.1 !important;
}

.section--slant {
  position: relative !important;
  background: #f2f2f2 !important;
}

.section--slant::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 120px;
  background: #f2f2f2;
  transform: skewY(-3deg);
}

.p-fv__pic-sekiman {
  width: 150px;
  height: auto;
  opacity: 0.9;
  transform: rotateY(180deg);
}

.speech-bubble {
  position: relative;
  display: inline-block;
  padding: 14px 20px;
  background: #fff;
  color: #005bac;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #005bac;
  border-radius: 12px;
}

/* 三角 */
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 30px;
  border-width: 12px 12px 0;
  border-style: solid;
  border-color: #005bac transparent transparent;
}