@charset "utf-8";
/* CSS Document */
/* =========================
   PC/共通
========================= */
.gNavi {
  position: relative;
  z-index: 1000;
}

.gNavi__list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gNavi__item {
  position: relative;
  list-style: none;
}

.gNavi__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

/* 子メニューを持つ親 */
.gNavi__item--has-child {
  padding-right: 12px;
}

/* スマホ用開閉ボタンはPCでは非表示 */
.gNavi__toggle {
  display: none;
}

/* 子メニュー */
.gNavi__sublist {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity .28s ease,
    visibility .28s ease,
    transform .28s ease;
  pointer-events: none;
  z-index: 9999;
}

.gNavi__subitem {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gNavi__sublink {
  display: block;
  padding: 12px 18px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.gNavi__sublink:hover {
  background: #f7f7f7;
}

/* PC hoverで開く */
@media screen and (min-width: 769px) {
  .gNavi__item--has-child:hover > .gNavi__sublist,
  .gNavi__item--has-child:focus-within > .gNavi__sublist {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* hover切れ防止の透明エリア */
  .gNavi__item--has-child::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 18px;
  }
}

/* =========================
   スマホ
========================= */
@media screen and (max-width: 768px) {
  .gNavi__list {
    display: block;
  }

  .gNavi__item {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .gNavi__item--has-child {
    padding-right: 0;
  }

  .gNavi__item--has-child > .gNavi__link {
    width: calc(100% - 52px);
  }

  .gNavi__toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 100%;
    min-height: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .gNavi__toggle span {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
  }

  .gNavi__toggle span::before,
  .gNavi__toggle span::after {
    content: "";
    position: absolute;
    background: currentColor;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform .25s ease, opacity .25s ease;
  }

  .gNavi__toggle span::before {
    width: 14px;
    height: 1.5px;
  }

  .gNavi__toggle span::after {
    width: 1.5px;
    height: 14px;
  }

  .gNavi__item--open > .gNavi__toggle span::after {
    opacity: 0;
  }

  .gNavi__sublist {
    position: static;
    min-width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;

    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .gNavi__item--open > .gNavi__sublist {
    max-height: 300px;
  }

  .gNavi__sublink {
    padding: 12px 18px 12px 30px;
  }
}

/*入れ子スマホ*/
/* 親項目 */
.mobile-nav-parent {
  width: 100%;
}

/* SAN-CHA 行 */
.mobile-nav-parent-head {
  display: flex;
  align-items: stretch;
  width: 100%;
}

/* SAN-CHA のリンク部分 */
.mobile-nav-parent-link {
  flex: 1;
}

/* 開閉ボタン */
.mobile-submenu-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.mobile-submenu-toggle span {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
}

.mobile-submenu-toggle span::before,
.mobile-submenu-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: .25s ease;
}

.mobile-submenu-toggle span::before {
  width: 14px;
  height: 1.5px;
}

.mobile-submenu-toggle span::after {
  width: 1.5px;
  height: 14px;
}

/* 開いたら ＋ → － */
.mobile-nav-parent.open .mobile-submenu-toggle span::after {
  opacity: 0;
}

/* 子メニュー */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

/* 開いた状態 */
.mobile-nav-parent.open .mobile-submenu {
  max-height: 120px;
}

/* 子メニューのリンク */
.mobile-submenu a {
  padding-left: 28px;
  font-size: 0.95em;
}
/* スマホ時はPCナビを隠す */
@media screen and (max-width: 768px) {
  .gNavi {
    display: none !important;
  }
}

/* ===== mobile nav submenu ===== */
.mobile-nav-parent {
  width: 100%;
}

.mobile-nav-parent-head {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.mobile-nav-parent-link {
  flex: 1 1 auto;
}

.mobile-submenu-toggle {
  flex: 0 0 48px;
  width: 48px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.mobile-submenu-toggle span {
  position: relative;
  width: 14px;
  height: 14px;
  display: block;
}

.mobile-submenu-toggle span::before,
.mobile-submenu-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: .25s ease;
}

.mobile-submenu-toggle span::before {
  width: 14px;
  height: 1.5px;
}

.mobile-submenu-toggle span::after {
  width: 1.5px;
  height: 14px;
}

.mobile-nav-parent.open .mobile-submenu-toggle span::after {
  opacity: 0;
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.mobile-nav-parent.open .mobile-submenu {
  max-height: 140px;
}

/* 子メニューを確実に表示 */
.mobile-submenu a {
  display: block !important;
  padding-left: 28px !important;
  font-size: 0.95em;
}


@media screen and (max-width: 768px) {
  .gNavi {
    display: none !important;
  }

 /* #mobile-nav {
    display: block;
  }
*/
  .mobile-nav-item.has-children {
    width: 100%;
  }

  .mobile-nav-head {
    display: flex;
    align-items: stretch;
    width: 100%;
  }

  .mobile-nav-head .parent-link {
    flex: 1 1 auto;
  }

  .mobile-submenu-toggle {
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    border: 0;
    background: transparent;
    color: inherit;
    position: relative;
    cursor: pointer;
  }

  .mobile-submenu-toggle .plus-horizontal,
  .mobile-submenu-toggle .plus-vertical {
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: opacity .25s ease, transform .25s ease;
  }

  .mobile-submenu-toggle .plus-horizontal {
    width: 14px;
    height: 1.5px;
  }

  .mobile-submenu-toggle .plus-vertical {
    width: 1.5px;
    height: 14px;
  }

  .mobile-nav-item.has-children.open .plus-vertical {
    opacity: 0;
  }

  .mobile-submenu {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .mobile-nav-item.has-children.open .mobile-submenu {
    max-height: 160px;
  }

  .mobile-submenu a {
    display: block !important;
    padding-left: 28px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}



@media screen and (max-width: 768px) {
  .gNavi {
    display: none !important;
  }

/*  #mobile-nav {
    display: block !important;
  }*/

  #mobile-nav .mobile-submenu {
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: max-height .35s ease !important;
  }

  #mobile-nav .mobile-nav-parent.open .mobile-submenu,
  #mobile-nav .mobile-nav-item.open .mobile-submenu,
  #mobile-nav .has-children.open .mobile-submenu {
    max-height: 200px !important;
  }

  #mobile-nav .mobile-submenu a {
    display: block !important;
    /*padding-left: 28px !important;*/
  }

  #mobile-nav .mobile-submenu-toggle {
    position: relative;
    z-index: 5;
    cursor: pointer;
  }
}

/* 初期状態は閉じる */
#mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  overflow-y: auto;
  transition: right .3s ease;
  z-index: 1500;
}

/* 開いた時だけ表示 */
#mobile-nav.open {
  right: 0;
}



/*スマホ時PCナビ非表示*/
/*@media screen and (max-width: 768px) {
  .gNavi {
    display: none !important;
  }
}*/


#grid_a_100h a{
	 height: 100px;
  display: flex;
  align-items: center;   /* 縦中央 */
  justify-content: center; /* 横中央 */
}
/*モバイル子メニュー左空白*/


@media screen and (max-width: 768px) {
  #mobile-nav .mobile-submenu a {
    display: block !important;
    padding: 0.9em 1em 0.9em 3.5em !important;
    box-sizing: border-box !important;
  }
}

/*子メニューOPEN：+➡x*/

.mobile-submenu-toggle span::before,
.mobile-submenu-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: .3s ease;
}

/* 横線 */
.mobile-submenu-toggle span::before {
}

/* 縦線 */
.mobile-submenu-toggle span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.mobile-nav-parent.open .mobile-submenu-toggle span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-parent.open .mobile-submenu-toggle span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/*メニュー丸と項目の間*/
#mobile-nav a {
  display: flex;
  align-items: center;
}

#mobile-nav .nav-dot {
  flex: 0 0 1em;
  margin-right: 0.5em;
}

/*スライダースマホ化*/
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* PC画像 */
.hero-slide-01 {
  background-image: url("../images/topslider/slider_01.png");
}

.hero-slide-02 {
  background-image: url("../images/topslider/slider_02.png");
}

.hero-slide-03 {
  background-image: url("../images/topslider/slider_03.png");
}

/* スマホ画像 */
@media screen and (max-width: 768px) {
  .hero-slide-01 {
    background-image: url("../images/topslider/slider_01_sp.png");
  }

  .hero-slide-02 {
    background-image: url("../images/topslider/slider_02_sp.png");
  }

  .hero-slide-03 {
    background-image: url("../images/topslider/slider_03_sp.png");
  }
}


お問い合わせフォーム
/* レイアウト */
form {
  width: 70%;
  margin: 0 auto;
}
.form-row {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #f2f4f5;
}
.form-row:last-child {
  border-bottom: none;
}
.form-label {
  display: flex;
  align-items: center;
  width: 250px;
}
.form-label label {
  font-weight: bold;
}
.form-label span {
  margin-left: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: #166ab5;
}

/* フォームパーツのデザイン */
input, textarea {
  background-color: #f2f4f5;
  border: none;
  border-radius: 3px;
  padding: 15px 20px;
  font-size: 16px;
  color: #333;
  flex-grow: 1;
}
input::placeholder,
textarea::placeholder {
  color: #999;
  font-size: 14px;
}
select {
  background-color: #f2f4f5;
  border: none;
  border-radius: 3px;
  padding: 15px 20px;
  font-size: 16px;
  color: #333;
}
button {
  cursor: pointer;
  margin-top: 30px;
  padding: 15px 45px;
  border: none;
  border-radius: 3px;
  color: #fff;
  font-weight: bold;
  background-color: #166ab5;
}