* {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt";
  box-sizing: border-box;
}

:root {
  /* ブランドカラー（差し色として使用） */
  --color-orange: #f9a825;
  --color-green: #98c438;

  /* ベースカラー（モノトーン） */
  --color-bg: #f7f7f7;
  --color-white: #fff;
  --color-border: #ddd;
  --color-border-light: #eee;
  --color-text: #222;
  --color-text-sub: #666;
  --color-text-muted: #999;

  /* ヘッダーの高さ */
  --header-height: 96px;
}

main {
  padding-top: var(--header-height);
}

:target {
  scroll-margin-top: var(--header-height);
}

img {
  max-width: 100%;
  height: auto;
  line-height: 1em;
  border: none 0;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
}

ul,
ol {
  list-style-type: none;
}

a {
  text-decoration: none;
}

.alignCenter {
  text-align: center;
}

.alignRight {
  text-align: right;
}

.alignLeft {
  text-align: left;
}

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.floatLeftFix {
  float: left !important;
}

.floatRightFix {
  float: right !important;
}

img.floatLeft,
img.floatLeftFix {
  margin: 0 1em 0.5em 0;
}

img.floatRight,
img.floatRightFix {
  margin: 0 0 0.5em 1em;
}

@media screen and (max-width:799px) {

  .floatLeft,
  .floatRight {
    float: none;
  }

  img.floatLeft,
  img.floatRight {
    display: block;
    margin: 0 auto 1em;
  }
}

.clearLeft {
  clear: left;
}

.clearRight {
  clear: right;
}

.clearBoth {
  clear: both;
}

.clearFloat::after,
main::after,
.wrapper::after,
footer::after {
  content: '';
  display: block;
  clear: both;
}

.noMargin {
  margin: 0 !important;
  padding: 0 !important;
  text-indent: 0 !important;
}

.noWrap {
  white-space: nowrap;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-weight: bold;
  font-size: 16px;
  line-height: 1.61em;	
}

th {
  font-weight: normal;
}

/* body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
table,
th,
td,
ul,
ol,
li,
dl,
dt,
dd,
form {
  font-size: 16px;
  line-height: 1.61em;
} */

input,
textarea,
select {
  font-size: 16px;
  font-family: inherit;
}

a {
  transition-duration: 0.5s;
}

a:hover {
  text-decoration: underline;
}


header {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1;
  box-shadow: 0 2px 4px #ddd;
}

header:hover {
  background-color: #fff;
  transition: 0.5s;
}

#logo {
  margin-left: 20px;
}

#contact {
  padding: 2px 24px;
  background-color: #efa718;
  border-radius: 50px;
  color: #fff;
}

#gb_menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2em;
  height: 100%;
}

#gb_menu li {
  display: flex;
  align-items: center;
  font-weight: bold;
  height: 100%;
}

#gb_menu li a {
  text-decoration: none;
  color: #333;
  position: relative;
  display: inline-block;
}

#gb_menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  /* 線の位置調整 */
  left: 0;
  width: 100%;
  height: 4px;
  /* 線の太さ */
  background-color: #007bff;
  transition: transform 0.3s;
  transform: scaleX(0);
  /* 最初は長さを0に */
  transform-origin: right;
  /* 右側に消えていく設定 */
}

#gb_menu li a:hover::after {
  transform: scaleX(1);
  /* hoverで長さを1（100%）に */
  transform-origin: left;
  /* 左側から伸びてくる設定 */
}

.business_login {
  padding: 0 24px;
  background-color: var(--color-green);
}

.business_login a {
  display: flex;
  align-items: center;
  color: #fff !important;
  font-weight: bold;
  white-space: nowrap;
}

.business_login:hover {
  background-color: #7aaa1e;
  text-decoration: none;
  transition: background-color 0.3s;
}

/* ---- ハンバーガーボタン本体 ---- */
#hamburger {
  display: none;
  /* PC では非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 10;
}

#hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.15s ease;
}

/* 開いているときの × アニメーション */
#hamburger.is-open span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

#hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transition-delay: 0s;
}

#hamburger.is-open span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}


/* ---- 960px 以下 ---- */
@media screen and (max-width: 960px) {

  /* ヘッダー全体を relative にしてボタン位置の基準にする */
  header {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
  }

  #logo {
    margin: 0;
    /* 既存の margin をリセット */
  }

  /* ハンバーガーボタン表示 */
  #hamburger {
    display: flex;
    position: static;
    /* flexbox内で自然に配置 */
    transform: none;
    margin-left: auto;
  }

  /* ナビをヘッダー下にドロワー表示 */
  #gb_menu {
    display: none;
    /* JS で .is-open を付けて表示 */
    position: absolute;
    top: 100%;
    /* ヘッダー直下 */
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
    float: none;
    padding: 12px 0;
    z-index: 100;
    height: auto;
  }

  #gb_menu.is-open {
    display: block;
  }

  #gb_menu li {
    display: block;
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  #gb_menu li a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
  }


  #gb_menu li:last-child {
    padding: 0;
  }

  /* アンカーリンクのアンダーライン演出は SP では非表示 */
  #gb_menu li a::after {
    display: none;
  }

  /* .gb_menu_pc は768px で隠していたが、ドロワー内では表示する */
  #gb_menu .gb_menu_pc {
    display: block;
  }
}


/* ---- 480px 以下 ---- */
@media screen and (max-width: 480px) {

  #logo {
    display: block;
    margin: 0;
    width: 200px;
  }

}

/* ここからフッター */

footer {
  position: relative;
  overflow: hidden;
}

.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  margin-top: 160px; /* セクション間余白 */
  position: relative;
  z-index: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

.footer-bottom {
  background-color: #f9a825;
  padding: 40px 20px 100px;
  position: relative; /* ビル群の基準 */
  z-index: 1;
  margin-top: -1px;
}

.footer-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  position: relative;
  z-index: 2; /* ビル群より前 */
}

.footer-col--logo {
  min-width: 200px;
  padding: 20px 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  text-align: center;
}

.footer-col--logo p {
  margin-top: 1em;
}

#footer_logo {
  width: 235px;
  max-width: 100%;
}

.footer-col-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 6px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #3a2a00;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

#footer_image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 600px;
  z-index: 1; /* footer-bottom基準 */
  pointer-events: none;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .footer-col--logo {
    padding: 20px;
  }

  #footer_image {
    width: 400px;
  }
}

.stepbar {
  width: 98%;
  max-width: 1000px;
  margin: 2px auto;
  padding: 2em 2em 1em;
  border: 2px solid #dddddd;
  background-color: rgba(251, 251, 251, 1.00);
  display: flex;
}

.stepbar_title {
  width: 20%;
  flex-wrap: wrap;
  text-align: center;
}

.stepbar_box {
  width: 78%;
  margin: 1em 0 0 2%;
  flex-wrap: wrap;
}

.stepbar_box p:first-of-type {
  margin-bottom: 1.5em;
}

.stepbar_box span {
  font-size: 1.2em;
  font-weight: bold;
  padding-bottom: 0.4em;
  border-bottom: 4px solid #ddd;
}

.step-line {
  text-align: center;
}


.step-line span {
  border-left: 2px solid #dddddd;
  /*線の設定*/
  padding: 2px;
  /*余白の設定*/
}

@media screen and (max-width: 960px) {
  .stepbar {
    width: 90%;
  }
}

#flow_lead_sentence {
  width: 90%;
  max-width: 800px;
  margin: 0 auto 2em;
  line-height: 2em;
  font-size: calc(1rem + 0.1vw);
  letter-spacing: 0.2em;
  font-weight: bold;
}



/* メニュー本体の固定 */
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  /* iPhone X以降のホームバー対策（重要） */
  padding-bottom: env(safe-area-inset-bottom);
}

#floating_button {
  position: relative;
  width: 100%;
  height: 100px;
  background-image: url("../business/bin/index/nav.jpg");
  background-size: contain;
  font-size: calc(1rem);
  letter-spacing: 0.2em;
  font-weight: bold;
}

.bottom-menu a {
  width: 90%;
  max-width: 800px;
  display: inline-block;
  align-items: center;
  text-decoration: none;
  color: #fff;
  background-color: rgba(14, 173, 120, 0.90);
  padding: 1em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.bottom-menu a:hover {
  background-color: rgba(18, 124, 88, 0.80);
  transition: 0.5s;
}

/* ▼ JSでこのクラスがつくと表示される */
.bottom-menu.is-active {
  transform: translateY(0);
}

body {
  /* メニューの高さ + 余白分を確保 */
  padding-bottom: 80px;
}


/*-------------------------------------------
  「お問い合わせ」「新規登録」の共通スタイル
-------------------------------------------*/

.wrap_in {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  padding-bottom: 100px;
}
