


/*spヘッダー*/
.sp-header-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
 .sp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--gradient-header-footer);
  z-index: 1000; 

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ロゴ */
.sp-header-logo {
    height: 50px;
    margin-left: 15px;
   
}
.sp-header-logo img {
    height: 100%;
    width: auto;
}

/*logoテキスト*/
.sp-header-left {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    align-items: center;
    
}

.sp-header-logo-text h1 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}


/*ハンバーガーメニュー*/


.menu-icon {
  position: absolute;
  width: 40px;
  height: 24px;              /* ← 高さを明示 */
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1100;
}


/* 丸い背景 */
.menu-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--white);
  border-radius: 1px;
  transition: 0.3s ease;
}
.menu-icon span:nth-child(1) {
  top: 0;
}
.menu-icon span:nth-child(2) {
  top: 11px;
}
.menu-icon span:nth-child(3) {
  top: 22px;
}


/* ハンバーガーがXに変形 */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}


/* オーバーレイ背景 */
.overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 900; /* ← header より下 */
}


#menu-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* メニュー本体（左から出す） */
.menu {
  position: fixed;
  right: -100%; /* ← 初期状態は画面外へ */
  width: 100%;
  height: 100%;
  transition: right 0.4s ease;
  z-index: 1000;
  top: 80px;
  text-align: left;
  background-color: var(--bg-beige);
  
}



#menu-toggle:checked ~ .menu {
  right: 0; /* ← 開いたときは左0へ */
}

.menu ul {
  list-style: none;
  padding: 0 25px;
 }
.menu li {
  position: relative;
  padding: 13px 0 23px 0;
 
}

.menu li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px; /* ドットの直径に合わせる */
  background-image: radial-gradient(
    circle,
    #D9D9D9 2px,
    transparent 2.5px
  );
  background-size: 14px 6px; /* 横＝間隔 / 縦＝高さ */
  background-repeat: repeat-x;
  
}

.menu li:last-child::after {
  display: none;
}




.menu a {
  text-decoration: none;
  margin-left: 10px;
  color: var(--basecolor);
  font-weight: 700;
  font-size: clamp(1.8rem, calc(1.2rem + 0.667vw), 2rem);
  transition: color 0.3s;
}

.menu a:hover {
  color: var(--gray);
}


.pc-header-wrapper {
    display: none;
}


@media (min-width: 900px) and (max-width: 1110px) {
  .pc-nav-tel {
    display: none;
  }
}

/*pcヘッダー*/

@media (min-width: 900px) {
.sp-header {
    display: none;
}

.pc-header-wrapper {
    display: block;
}

.pc-header-wrapper{
     width: 100%;
     padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
 .pc-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--gradient-header-footer);
  z-index: 1000; 

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ロゴ */
.pc-header-logo {
    height: 50px;
    margin-left: 10px;
   
}
.pc-header-logo img {
    height: 100%;
    width: auto;
}

/*logoテキスト*/
.pc-header-left {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    align-items: center;
    
}

.pc-header-logo-text h1 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
}
/*ナビゲーション*/
.pc-nav ul {
  display: flex;          
  align-items: center;
  gap: 2rem;
  height: 56px;
  
}

.pc-nav ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.6rem;
  white-space: nowrap;
  width: 100%;
  
}

/* 電話番号だけ大きく */
.pc-nav ul li.pc-nav-tel a {
  font-size: 3.2rem;
  font-weight: 700;
  align-items: center;
  padding-bottom: 6px;
  padding-right: 10px;
  
}
}


/*-----------------MV-------------------*/

.sp-mv-bg {
 
  width: 100%;
 
  background-image: url("./img/sp.webp");
  background-repeat: no-repeat;
  background-size: cover;
}
.pc-mv-img {
  display: none;
}
.sp-mv-wrapper {
  position: relative;
  margin-top: 30px;
}



/*mv二行のテキスト*/

.sp-vertical-copy {
  position: absolute;
  top: 20%;
  right: 50%;
  

  display: flex;
  flex-direction: row-reverse; 
  
  

  font-size: clamp(3.3rem, calc(1.2rem + 0.667vw), 4rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.8;
   white-space: nowrap;

  color: #6b3f2a;
   text-shadow:
    0 0 4px #DFDFDF,
    0 0 8px #DFDFDF;
}

/* 各列を縦書きに */
.sp-vertical-copy .sp-col {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* 2列目を下にずらす */
.sp-vertical-copy .col-2 {
  margin-top: 4em;
   transform: translateX(0.3em);
}


/*常にｓｐで表示のボタン二種類*/
.sp-mv-btn-wrapper {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0px 5px;
  box-sizing: border-box;
}


/*電話ボタン*/
.tel-btn-wrapper {
   margin-bottom: 5px;
  width: 100%;
}
.mv-tel-btn img {
 width: 50px;
  margin-bottom: 9px;
}

.mv-tel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
  height: 60px;
   background: linear-gradient(
              to bottom,
               #FFAFA0 0%,
               #F68688 100%
              );
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-left: auto;

     position: relative;
}
.mv-tel-btn a {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
   
   

}

/*求人ボタン*/

.recruit-btn-wrapper {
    margin-bottom: 5px;
  width: 100%;
}

.mv-recruit-btn img {
  width: 58px;
  margin-bottom: 12px;
}


.mv-recruit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
     width:100%;
  height: 60px;
    background: linear-gradient(
              to bottom,
               #FFC800 0%,
               #F7862A 100%
              );
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
     margin-left: auto; 

      position: relative;
    
}
.mv-recruit-btn a {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
   
    
}



/* 背景レイヤー */
.sp-mv-btn-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 80px; /* ← 背景だけの高さ */
  padding-bottom: 10px;

 background: linear-gradient( to bottom, rgba(247,134,42,0) 0%, rgba(247,134,42,0) 40%, rgb(252, 174, 128) 100% );
 
  
  pointer-events: none;
  z-index: -1;
}



/*sp-MVのunder部分*/

.sp-mv-under {
  width: 100%;
  max-width: 1200px; /* 任意 */
  margin: 110px auto 0;
  box-sizing: border-box;
}


/*1と3*/
.sp-mv-under1,
.sp-mv-under3 {
   display: grid;
  grid-template-columns: 1fr 1.5fr; /* 画像：テキスト = 1:1.5 */
  gap: 1.6rem; /* 画像とテキストの間の隙間 */
  align-items: center;
  margin: 2.4rem 0;
  overflow-x: hidden;
  margin-bottom: 40px;
  align-items: flex-start;
}
/*画像調整*/
.sp-mv-under-img1 img,
.sp-mv-under-img3 img{
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  left: -10px;
  
}

/*2*/
.sp-mv-under2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* テキストを大きめに */
  gap: 1.6rem; /* テキストと画像の間の隙間 */
  align-items: center;
  margin: 2.4rem 0;
  overflow-x: hidden;
  margin-bottom: 40px;
  align-items: flex-start;
}
.sp-mv-under-img2 img{
 position: relative;
  width: 100%;
  height: auto;
  display: block;
  right: -10px;
 
}
/*1,2,3テキスト調整*/
.sp-mv-under1-text,
.sp-mv-under3-text {
  padding-right: 20px;
}
.sp-mv-under2-text {
    padding-left: 20px;
}
.sp-under-h3 {
 background: var(--gradient-orange2);

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

 font-size: clamp(2rem, calc(1.2rem + 0.667vw), 3rem);
 white-space: nowrap;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  padding: 10px 0 20px 0;

}

.sp-under-p {
    color: var(--basecolor);
     font-size: clamp(1.6rem, calc(1.2rem + 0.667vw), 1.8rem);
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 1.6;
}



.pc-recruit-btn-wrapper {
  display: none;
}

@media (min-width: 768px) and (max-width: 1400px) {
 .MV{
  height: 84rem;      /* 高さ固定 */
  overflow: hidden;   /* はみ出しカット */
 }

 .pc-mv-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
 }

}


@media (min-width: 768px) {
  
.sp-mv-bg {
 background-image: none;
}
 
.sp-vertical-copy {
  top: 12%;
  right: 45%;
  font-size: 3.8rem;
  font-weight: 900;
}
  /* MV画像切り替え */
  .pc-mv-img { display: block; }
  .sp-mv-img { display: none; }

  /* MV上に重ねる */
  .mv-under-wrapper{
    position: relative;
    margin-top: -10%;
  }

  /* mv-underに重ねる */
  .mv-under-bg-dec{
    position: absolute;
    top: -6.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
  }
  
  /* MV上に重ねる */
  .mv-under-bg {
    background-color: #FEF9F4;
  }

.sp-mv-under {
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  column-gap: 8%; 
  max-width: 1060px;  
  width: 100%;
  margin-top: 0;
  padding-top: 20px;
}

.sp-mv-under1-text,
.sp-mv-under3-text {
  padding-right: 0px;
}
.sp-mv-under2-text {
    padding-left: 0px;
}

/*spで切った画像端を戻す*/
.sp-mv-under-img1 img,
.sp-mv-under-img3 img{
 
  left: 0px;
  
}
.sp-mv-under-img2 img{
  right: 0px;
 
}
.sp-mv-under1,
.sp-mv-under2,
.sp-mv-under3 {
  display: flex;
  flex-direction: column;
 

}

  .sp-mv-under2 {
    display: flex;              /* ← gridでもOKだが flexが簡単 */
    flex-direction: column-reverse; /* ← これで入れ替わる */
    align-items: center;
    gap: 1.6rem;
  }
  /*縦型・求人ボタン*/

.pc-recruit-btn-wrapper {
  display: block;
  position: fixed;
  top: 60%;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
}

.pc-recruit-btn-wrapper img {
    position: absolute;
    top: -83px;
    left: -3px;
    width: 65px;
    height: auto;
}

.pc-mv-recruit-btn {
    display: inline-block;
    padding: 10px 20px;
    align-items: center;
    justify-content: end;
   
    background: linear-gradient(
              to bottom,
               #FFC800 0%,
               #F7862A 100%
              );
     border-radius: 15px 0px 0px 15px;
    
}

.pc-mv-recruit-btn a {
   writing-mode: vertical-rl;
   color: var(--white);
    font-size: clamp(1.4rem, calc(1.2rem + 0.667vw), 1.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.sp-mv-btn-wrapper {
  display: none;
}

}




