@media screen and (max-width: 768px){

.header-inner {
  padding: 0 20px;
}

.nav-links {
  display: none; /* ナビゲーション非表示 */
}
.pc{
    display: none;
}
.sp{
    display: inline;
}
.pc-img {
display: none;
}

.sp-img {
display: block;
}
/* ハンバーガー */
.hamburger {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    z-index: 999;
}

/* 共通（元の3本線） */
.hamburger span {
    position: relative;
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* 上の線 */
.hamburger.active span:nth-child(1) {
  transform:  translateY(8px) rotate(45deg);
}

/* 真ん中の線（消す） */
.hamburger.active span:nth-child(2) {
  opacity: 0;
}

/* 下の線 */
.hamburger.active span:nth-child(3) {
  transform:  translateY(-8px) rotate(-45deg);
}

/* SPメニュー本体 */
.sp-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #000;
  z-index: 998;
  transition: 0.4s ease;
}

.sp-menu.active {
  right: 0;
}

/* 中身 */
.sp-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 40px 20px;
  position: relative;
}

/* ロゴ */
.sp-menu-logo img {
  width: 220px;
}

/* ナビ */
.sp-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.sp-menu-nav a {
  font-size: 16px;
  color: #fff;
}
.sp-menu-nav a:nth-child(6){
    color: #000;
}

/* CTAだけ強調 */
.sp-cta {
    display: inline-block;
    font-size: 27px;
    padding: 15px 50px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 5.4px;
    line-height: 1.11;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    width: fit-content;
    margin: 0 auto;
    background: linear-gradient(
    90deg,
    #A31D1D 0%,
    #C5A021 50%,
    #1D4D1F 100%
    );
    transition: 0.3s;
    box-shadow: 0 10px 60px rgba(163, 29, 19, 0.4);
}

/* SNS */
.sp-menu-sns img {
    position: absolute;
    bottom: 20%;
    left: 43%;
    width: 50px;
}

  .nav-links {
    display: none;
  }

.logo img{
    width: 220px;
}
/* FV */

/* 4/27フォントサイズ52→36修正、lineheight追加 */
.hero-heading {
  font-size: 36px;
  line-height: 1.5;
}
.hero-text-bg{
    font-size: 246px;
}
.hero-title-line2 {
  font-size: 48px;
}

.hero-description {
  font-size: 18px;
}

.cta-button {
  font-size: 27px;
  padding: 15px 50px;
}

/* section2 */

.section2 {
  padding: 80px 30px;
}

.section2-heading {
  font-size: 28px;
}
.section2-description{
    font-size: 15px;
}
.section2-box-text{
    font-size: 17px;
}

/* redcat */

.redcat{
    padding: 80px 30px;
}
.redcat-main {
  flex-direction: column;
}
.redcat-left{
    order: 2;
}
.redcat-right{
    order: 1;
}
.redcat-title{
    font-size: 35px;
    margin-bottom: 40px;
}
.hero-description{
    font-size: 18px;
}
/* soil */

.soil{
    padding: 80px 30px;
    background: url("image/bk_sp.png") no-repeat center / cover;
        /* インナーシャドウ */
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.7);
}
.soil-container {
  flex-direction: column;
  gap: 40px;
}
.soil-left{
    order: 2;
}
.soil-right{
    order: 1;
}
.soil-title {
  font-size: 36px;
  line-height: 48px;
}
.soil-right img{
    width: 80%;
    margin: 0 auto;
    margin-bottom: 70px;
}
.soil-description{
    font-size: 15px;
}
.highlight::after{
    height: 3px;
}
/* philosophy */

.philosophy{
    padding: 80px 30px;
}
.philosophy-container {
  flex-direction: column;
  gap: 0px;
}
.philosophy-left{
    order: 1;
}
.philosophy-left img{
    width: 100%;
}
.philosophy-right{
    order: 2;
}
.philosophy-title {
  font-size: 35px;
}
.philosophy-subtitle{
    font-size: 14px;
    letter-spacing: 8.2px;
}
.philosophy-text{
    font-size: 15px;
}
/* LINEup */

.lineup{
    padding: 80px 30px;
}
.lineup-list {
  flex-direction: column;
}
.lineup-title{
    font-size: 40px;
    letter-spacing: 8px;
    padding-bottom: 5px;
}
/* footer */

.footer {
  padding: 80px 30px;
  overflow: hidden;
}

.cta-title {
  font-size: 40px;
  line-height: 50px;
}
.footer-bg-text{
    font-size: 97.5px;
}
.footer-bottom {
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}
.footer-copy{
    order: 2;
    font-size: 12px;
    letter-spacing: 3.6px;
}
.footer-bottom img{
    order: 1;
    width: 45px;
}
.sns img{
    width: 35px;
}
}