@charset "utf-8";
/* CSS hirabayashi */
/* ヘッダー全体をMVの上に重ねる */
.header-contents {
  position: fixed;
  top: 0;
  left: 0;
  height: 70px;
  width: 100%;
  z-index: 5000; /* 他の要素より前面に表示 */
  display: flex;
  justify-content: space-between; /* 左にロゴ、右にメニュー */
  align-items: center;
  background-color: #fff;

}


.header-sp{
  display:none;
}
 .header-pc{
display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
  }
.header-pc-in{
    display: flex;
  width: 100%;
  max-width: 1200px;
    justify-content: space-between;
  align-items: center;
  padding:12px 20px;
  margin: 0 auto;
  
}
.logo{
  width:280px;
  height:auto;
   z-index: 1002;
  position: relative; /* ← z-indexを効かせるために必要 */
}


.nav__list {
      display: flex;
  font-size:1.6rem;
  list-style: none;
}

.header a {
  transition: transform 0.2s ease;
}

.header a:hover {
  transform: scale(1.05);
} 

h1 {

    margin: 0px;
}


/* 右側のコンテンツ配置 */
/* PCスタイル */
.right-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  position: static;
  width: auto;
  height: auto;
  background: none;
  transform: none;
  transition: none;
}

/* 言語・電話・お問い合わせボタン */
.top-buttons {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-bottom: 20px;
}
/* ナビゲーションメニュー */
.nav {
  display: flex;
  gap: 20px;
 font-weight: 500;
  align-items: center;
}
.nav__list {
  align-items: center;
  gap: 15px;
}


.nav a {
  color: #000;
  text-decoration: none;
}
/* 電話番号のスタイル*/
.tel {
  font-weight: bold;;
  cursor: pointer;
  font-size: 2rem;
  color: #E70012;
  line-height: normal;
}
.time{
  font-size: 1.4rem;
    color: #E70012;
  line-height: 1.4rem;
  padding-top: 5px;
}


@media screen and (max-width: 1100px){
  .header-pc{
     display:none;
  }
.header-sp {
  display:block;
  aign-items: center;
  background: #fff;
  padding:10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.header-pc-in{
  display:flex;
  padding:0px;

  
}
  h1 {
line-hight:0px;
  margin: 0;}

  .logo{
  width:250px;
    
}
.hamburger {
  position: fixed;
   width: 100%;
  right: 20px;
  max-width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 4000;
}
 .logo-ham{
  width:250px;
     padding-bottom: 50px;
}
 
.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #000;
  transition: all .4s;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}
.hamburger__line:nth-of-type(2) {
  top: 23px;
}
.hamburger__line:nth-of-type(3) {
  top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  height: 100vh;
  background-color: #fff;
  transform: translateX(-100%);
  transition: transform .4s;
  z-index: 3000;
  align-items: flex-start;
}

.nav.active {
  transform: translateX(0);
  align-items: start;
  align-items: flex-start;
}

.nav__list {
  margin: 0;
  padding: 10px 20px;
  font-size:1.8rem;
  list-style: none;
  text-aline:left;
    display:block;
}
  .nav__item{
    padding-bottom:25px;
  }
  .tel{
text-align: left;
  }
}
