.elementor-69 .elementor-element.elementor-element-673ce2c{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-351d782 *//* ヘッダー */
.header {
    display: block;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}

.drawer_bg {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999;
    background-color: transparent;
    display: none;
    top: 0;
    left: 0;
}

.header-inner {
    position: fixed;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    padding: 0 0 0 2vw;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    box-sizing: border-box;
}

/* ロゴ */
.header-logo {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: relative;
    text-indent: -9999px;
    display: block;
    width: 280px;
    height: 100%;
}

.logo::before,
.logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* Safari対策 */
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* 通常ロゴ */
.logo::before {
  background-image: url("http://ichiriku.jp/wp-content/uploads/2025/12/logo_w.svg");
  opacity: 1;
}

/* fixed用ロゴ */
.logo::after {
  background-image: url("http://ichiriku.jp/wp-content/uploads/2025/12/logo_b.svg");
  opacity: 0;
}

/* 切り替え */
#header.fixed .logo::before {
  opacity: 0;
}

#header.fixed .logo::after {
  opacity: 1;
}

/* 右側 */

.header-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* ナビ */
.header-nav {
    flex: 1 1 auto;
    min-width: 0;
}
.header-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    gap: 32px;
    white-space: nowrap;
}

.header-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  height: 100px;
  line-height: 100px;
    font-size: 15.5px;
  letter-spacing: -0.02em;
}
.header-nav a:hover {
  color: #171C61;
}

#header.fixed .header-inner .header-nav a {
    color: #171C61;
}
/* 電話番号 */
.header-tel a {
    position: relative;
    display: block;
    width: 240px;
    /*max-width: 280px;*/
    height: 100px;
}

/* 共通設定 */
.header-tel a::before,
.header-tel a::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* Safari対策 */
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* 通常（白） */
.header-tel a::before {
  background-image: url("http://ichiriku.jp/wp-content/uploads/2025/12/tel_w.svg");
  opacity: 1;
}

/* fixed時（黒） */
.header-tel a::after {
  background-image: url("http://ichiriku.jp/wp-content/uploads/2025/12/tel_b.svg");
  opacity: 0;
}

/* fixedで切り替え */
#header.fixed .header-tel a::before {
  opacity: 0;
}

#header.fixed .header-tel a::after {
  opacity: 1;
}

a[href*="tel:"] {
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}

/* ハンバーガー */
.drawer_button {
  width: 120px;
  height: 100px;
  line-height: 100px;
  position: relative;
  background: #171C61;
  cursor: pointer;
  border-radius: 0;
}

.drawer_button::after {
    content: "MENU";
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1em;
    letter-spacing: 0.05em;
    line-height: 1;
    transition: all 0.3s ease 0s;
}

.drawer_button_bars {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 30px
}

.drawer_button span {
    position: absolute;
  width: 50px;
  height: 2px;
  background: #fff;
  border-radius: 100px;
  transition: 0.3s;
}

.drawer_button span:nth-child(1) { 
    top: 0;
}
.drawer_button span:nth-child(2) { 
    top: 15px;
}

/* active時 */
/*#header.drawer-open .header-inner {*/
/*  background: transparent;*/
/*}*/
/*#header.drawer-open .header-nav,*/
/*#header.drawer-open .header-tel {*/
/*  display: none;*/
/*}*/
.drawer_button.active span:nth-of-type(1) {
    transform: translateY(10px) rotate(-20deg);
}
.drawer_button.active span:nth-of-type(2) {
    transform: translateY(-5px) rotate(20deg);
}

/* ドロワー */
#drawer {
    width: 100vw;
    height: 100%;
    transition: all 0.5s;
    transform: translate(100vw);
    position: fixed;
    top: 100px;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 27, 86, 0.9);
    box-sizing: border-box;
    overflow-x: scroll;
    display: flex;
    justify-content: center;
    padding-top: 80px;
}

#drawer.open {
    transform: translate(0);
}

/*.drawer-nav {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 42%;*/
/*    height: 100vh;*/
/*}*/
/*.drawer-nav-wrap {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    width: 50%;*/
/*}*/

.global-menu {
    margin: 0;
    list-style: none;
}

.global-menu li {
    padding: 15px 0;
}
.global-menu li a {
  display: inline-block;
  color: #fff;
  font-size: 18px;
  position: relative;
  padding-bottom: 4px;
}

.global-menu li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.global-menu li a:hover::before {
  width: 100%;
}

.drawer-link {
    display: flex;
    flex-direction: column;
    padding-top: 50px;
    gap: 20px;
}

.tel,
.contact{
    display: block;
    width: 320px;
    text-align: center;
    border: 1px solid #fff;
}

.tel a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 72px;
    color: #fff;
}
.tel a span {
    font-size: 14px;
    line-height: 1;
    margin-top: 8px;
}
.tel a img {
    width: 70%;
}

.contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 72px;
    color: #fff;
}
.contact a img {
    width: 10%;
}
.contact a span {
    font-size: 18px;
}

.fixed-nav {
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 500;
}
.fixed-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: #171C61;
    color: #fff;
    padding: 20px;
}
.fixed-nav img {
    width: 60%;
}
.fixed-nav .pc {
    writing-mode: vertical-rl;
    display: block;
    line-height: 1.4;
    border-top: 1px solid #fff;
    margin: 15px 0 0 0;
    padding: 15px 0 0 0;
    font-weight: 500;
}
.fixed-nav .sp {
    display: none;
    font-weight: 500;
}

/*.drawer-img {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    width: 50%;*/
/*    height: 100vh;*/
/*}*/

/*.drawer-img img {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    -o-object-fit: cover;*/
/*    object-fit: cover;*/
/*}*/



/* 背景 */
/*.drawer_bg {*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  background: rgba(0,0,0,0.4);*/
/*  opacity: 0;*/
/*  visibility: hidden;*/
/*  transition: 0.3s;*/
/*  z-index: 900;*/
/*}*/

/*.drawer_bg.is-show {*/
/*  opacity: 1;*/
/*  visibility: visible;*/
/*}*/

@media (min-width: 1200px) {
    #drawer {
        width: 35vw;
    }
}

@media (max-width: 1280px) {
  .header-nav,
  .header-tel {
    display: none;
  }

}
/* SP対応 */
@media (max-width: 767px) {
    .header-inner {
        height: 80px;
        padding: 0 0 0 5vw;
    }
    .header-logo {
        height: 80px;
    }
    .logo {
        width: 200px;
    }
    
  .header-nav,
  .header-tel {
    display: none;
  }
  #header.drawer-open .header-inner {
  background: transparent;
}
  #drawer {
    top: 0;
    padding-top: 0;
    align-items: center;
  }
  .drawer_button {
    width: 80px;
    height: 80px;
    line-height: 80px;
  }
  .drawer_button_bars {
    width: 40px;
  }
  .drawer_button span {
    width: 40px;
  }
  .drawer_button::after {
      font-size: .8em;
  }
  .drawer-nav {
      width: 100%;
  }
  .drawer-nav-wrap {
    width: 100%;
    padding: 40px;
  }
  .drawer-link {
    padding-top: 30px;
  }
  
  .logo::before,
.logo::after {
  transition: opacity 0.3s ease;
}
#header.drawer-open .logo::before {
  opacity: 1;
}
#header.drawer-open .logo::after {
  opacity: 0;
}
  
  a[href*="tel:"] {
    pointer-events: auto;
    cursor: pointer;
}

.fixed-nav {
    top: unset;
    bottom: 0;
    left: 0;
    right: unset;
    width: 100%;
}
.fixed-nav a {
    width: 100%;
    flex-direction: row;
    justify-content: center;
}
.fixed-nav img {
    width: 8%;
}
.fixed-nav .pc {
    display: none;
}
.fixed-nav .sp {
    display: block;
    writing-mode: unset;
    margin: 0 0 0 15px;
    padding: 0 0 0 15px;
    border-top: none;
    border-left: 1px solid #fff;
    font-size: 16px;
}
}/* End custom CSS */