.header-top-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
}
.site-header{
    padding: 0;
    border-bottom: 1px solid #868686;
}

/* ===== ロゴ ===== */
.header-top{
    border-bottom: 1px solid #868686;
}
.header-top-left {
    display: flex;
    column-gap: 30px;
}
.header-logo {
  display: flex;
  gap: 0;
  flex-direction: column;
  justify-content: left;
}

.logo-mark img{
    max-height: 45px;
    height: 100%;
    object-fit: contain;
}

.logo-text {
  font-size: 14px;
  color: #666;
}
.logo-under-txt{
  font-size: var(--font-size-normal);
  color: #0066cc;
  font-weight: bold;
  text-align: left;
}

/* ===== タイトル ===== */
.header-title {
  flex: 1;
}

.header-title .area {
  color: #ff7a00;
  font-weight: bold;
  font-size: 26px;
  margin-right: 5px;
}

.header-title p {
  font-size: 18px;
  margin: 5px 0 0;
  font-weight: bold;
}

/* ===== 右側 ===== */
.header-contact,.header-contact-sp {
    text-align: right;
    display: flex;
    column-gap: 30px;
}

.header-contact .catch,.header-contact-sp .catch {
  font-size: 14px;
  margin: 4px 0;
  text-align: center;
  font-weight: bold;
}

.header-contact .tel ,.header-contact-sp .tel{
  font-size: 14px;
  margin: 5px 0;
  line-height: normal;
  color: #ff7a00;
  font-weight: bold;
}

.header-contact .tel strong ,.header-contact-sp .tel strong{
  font-size: 25px;
}

.header-contact .time ,.header-contact-sp .time{
  font-size: 14px;
  margin: 4px 0 8px;
  font-weight: bold;
}

.header-contact .time span ,.header-contact-sp .time span{
    background: #0066cc;
    color: #fff;
    padding: 4px 6px;
    border-radius: 4px;
    margin-left: 0;
    font-weight: lighter;
    font-size: 12px;
}
.hed-top-right-box{
  margin: auto;
}
/* ===== ボタン ===== */
.header-buttons {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn.top-btn{
  padding: 10px 30px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.contact-btn {
    background: #2c68c9;
    text-align: center;
    font-weight: normal;
}

.line-btn {
  background: #2bb741;
  font-weight: normal;
}


.header-inner{
    max-width: 1440px;
    padding: 0;
}
.main-nav{
    width: 100%;
}
.header-inner .menu{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    margin: 0;
    list-style: none;
}
.menu-item {
    width: calc(100% / 6);
    text-align: center;
    margin: 0;
    border-right: 1px solid #868686;
}

.header-inner .menu li:first-child {
  border-left: 1px solid #868686;
}

.header-inner .menu a {
    color: #000;
    font-size: var(--font-size-normal);
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    height: 100%;
    display: inline-block;
    padding: 15px 0;
}
.header-inner .menu a:hover{
  background: #eef4fa;
}
.current-menu-item{
  border-bottom: #ff7a00 3px solid;
}
.header-contact{
  display: flex;
}
  .menu-button ,.global-nav {
    display: none;
  }
  .global-nav{
    right: -100vw;
  }

  /* 固定CTA */
  /* 固定CTA全体 */
.fixed-cta {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  right: 10px;
  bottom: 10px;
  width: 450px;
  z-index: 99999;
}

.fixed-cta.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* 背景カード */
.fixed-cta__inner {
  background: #ffffff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* タイトル */
.fixed-cta__title {
  font-size: var(--font-size-ttl);
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
}

/* サブテキスト */
.fixed-cta__text {
    font-size: var(--font-size-normal);
    color: #6b7280;
    text-align: center;
    line-height: 1.5;
    margin: 10px 0 16px;
}

/* ボタンエリア */
.fixed-cta__buttons {
  display: flex;
  gap: 12px;
}

/* 共通ボタン */
.fixed-cta__btn {
  flex: 1;
  display: block;
  text-align: center;
  padding: 14px 0;
  border-radius: 5px;
  font-size: var(--font-size-normal);
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.fixed-cta__btn:hover {
  opacity: 0.8;
  color: #fff;
}


/* LINEボタン */
.fixed-cta__btn--line {
  background: #06c755;
}

/* お問い合わせボタン */
.fixed-cta__btn--contact {
  background: #2563eb;
}
.menu-btn-box{
  display: none;
}


/* スマホメニュー */
@media (max-width: 768px) {
  :root {
    --font-size-footer-normal: 14px;
    --font-size-normal: 15px;
    --font-size-big: 25px;
  }

  .menu-btn-box{
    display: block;
  }
  /* メニューボタン */
  .menu-button {
    display: block;
    width: 32px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1600;
  }

  .menu-button span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .menu-button span:nth-child(1) { top: 0; }
  .menu-button span:nth-child(2) { top: 11px; }
  .menu-button span:nth-child(3) { bottom: 0; }

  /* ×に変化 */
  .menu-button.is-open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

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

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  .header-contact {
    display: none;
  }

  /* ナビ本体（常に存在させる） */
  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 500px;
    height: 100vh;
    background: #fff;
    z-index: 1500;

    transform: translateX(100%);
    transition: transform 0.35s ease;
    padding: 10px 30px 0;
    overflow-y: scroll;
  }

  .global-nav.is-open {
    transform: translateX(0);
    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.421);
  }

  .global-nav ul {
    height: auto;
    margin: 30px 0;
  }
  .menu-button, .global-nav{
    display: inline-block;
  }
  .header-contact-sp{
    display: flex;
    flex-direction: column;
  }
  .header-contact-sp .header-buttons{
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }
  .header-contact-sp .btn.top-btn{
    width: 48%;
    min-width: 210px;
  }
    .header-contact-sp .hed-top-right-box {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .header-contact-sp .hed-top-right-box .tel{
      text-align: left;
    }
    .hed-top-right-box>div{
      display: flex;
      flex-wrap: wrap;
    }
  .menu-item{
    width: 100%;
    display: flex;
    border: none;
  }
  .menu-item a{
    color: #000;
    padding: 15px 0;
    text-align: center;
    font-size: var(--font-size-normal);
    width: 100%;
    text-decoration: none;
    border-bottom: 1px solid #868686;
  }
  .menu-item:first-child{
    border-top: 1px solid #868686;
  }
  .current-menu-item{
    border-left: 5px solid #ff7a00;
    position: relative;
  }
  .current-menu-item a{
    left: -5px;
    position: relative;
  }
  .main-nav{
    display: none;
  }
    .logo-mark-sp{
      text-align: left;
}
.hed-top-right-box>div{
  margin-top: 10px;
}
.header-contact-sp .btn.top-btn{
  width: 100%;
}
.menu-btn-box{
  position: fixed;
  top: 5px;
  right: 5px;
  padding: 20px 20px 5px;
  background: #fff;
  z-index: 1510;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.menu-button{
  margin: auto;
}
  .flow{
    margin: 100px 0 0;
    padding: 100px 0;
  }
  .news{
    padding: 100px 0;
    width: 90%;
  }

}
@media(max-width:768px){
  .flow-text h3{
    max-width: 230px;
  }
}
/* スマホ */
@media (max-width: 500px) {
.logo-mark img{
  max-height: 35px;
}
.header-top-left{
  column-gap: 10px;
  align-items: center;
}
.header-title .area{
  font-size: 20px;
}
.header-title p{
  font-size: 15px;
}
}