body{
    background-color: white;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

/*ヘッダー ------------------------------------------ */

header{
    position: sticky;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
  }
  
  .header_list{
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 10px 40px 0;
  }
  
  header img{
    width: 150px;
  }
  
  .menu{
    display: flex;
    justify-content: center;
    gap: 80px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }
  
  .menu a, #contact_us{
    text-decoration: none;
    color: #111;
    white-space: nowrap;
  }

  #contact_us{
    font-size: 14px;
  }


/* 角括弧機能---------------------------------------- */

.menu a {
  position: relative;
  display: inline-block;
}

.menu a::before,
.menu a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: all .3s ease;
  pointer-events: none;
}

.menu a::before {
  content: "[";
  left: -1em;
}

.menu a::after {
  content: "]";
  right: -1em; 
}

.menu a:hover::before,
.menu a:hover::after {
  opacity: 1;
  transform: translateY(-1px);
}

.menu a.active::before,
.menu a.active::after {
  opacity: 1;
  transform: translateY(-1px);
}

/* 角括弧機能---------------------------------------- */

/* contact usの線----------------------------------- */

#contact_us span {
  text-decoration: none;
  transition: text-underline-offset 0.2s ease;
}

#contact_us:hover span {
  text-decoration: underline;
  text-underline-offset: 2px; /* move it lower */
}

#contact_us.active span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* contact usの線----------------------------------- */

.header_list_smartphone{
  display: none;
}


/* 小さい画面--------------------------------------- */

.ham_menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ham_menu li{
  padding: 12px 16px;
}

.ham_menu li a {
  display: inline;
  text-decoration: none;
  color: #111;
}

.hamburger {
  display: none;
  position: relative;
  width: 36px;
  height: 28px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #111;
  border-radius: 3px;
  transition: transform 0.25s ease,
              opacity 0.2s ease,
              top 0.25s ease;
}

.hamburger span:nth-child(1) {
  top: 4px;
}

.hamburger span:nth-child(2) {
  top: 12.5px;
}

.hamburger span:nth-child(3) {
  top: 21px;
}


@media (max-width: 1000px) {

  .header_list {
    display: none;
  }

  .header_list_smartphone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 0;
    position: relative;
    z-index: 1001;
    background: #fff;
  }

  .header_list_smartphone img{
    width: 100px;
  }

  .hamburger {
    display: inline-block;
  }

  .ham_menu {
    position: fixed;
    inset: 75px 0 0 0;
    display: none;
    flex-direction: column;
    gap: 4px;
    background: white;
    padding: 8px 0;
    z-index: 1000;
    /* font-size: 20px; */
  }


  .ham_menu.is-open {
    display: flex;
    animation: fadeSlide 0.2s ease;
  }

  .hamburger.is-active span:nth-child(1) {
    top: 12.5px;
    transform: rotate(45deg);
  }

  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-active span:nth-child(3) {
    top: 12.5px;
    transform: rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

/* 小さい画面--------------------------------------- */

/* スマホ用----------------------------------------- */

@media (max-width: 400px){

  .ham_menu {
    font-size: 25px;
  }

  #contact_us{
    font-size: 20px;
  }

  .ham_menu li:last-child {
    margin-top: 25px;
  }

}

/* スマホ用----------------------------------------- */

/*ヘッダー ------------------------------------------ */




/*ブランド ------------------------------------------ */

/* :root { --header-height: 80px; } 


.brand_container {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;

  background: #fff; 
  z-index: 900;
  
  display: flex;
  flex-direction: column;
  box-sizing: border-box;


  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}

.brand_container.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease;
}


.brand_close {
  position: absolute;
  top: 64px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}


.brand_contents {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 64px 16px 16px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.brand_contents ul {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-wrap: nowrap;
  gap: 24px;

  width: max-content;
}


.brand_contents li {
  flex: 0 0 auto;
}

.brand_contents a {
  display: inline-block;
  white-space: nowrap; 
  text-decoration: none;
  color: #111;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fafafa;
}

.brand_contents a:hover {
  background: #f0f0f0;
} */


.brand_container{
  position: fixed;
  display: grid;
  left: 0;
  right: 0;
  top: var(--brands-top, 80px);
  bottom: 0;
  background: #fff;
  z-index: 1100;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);

  overflow: auto;
  -webkit-overflow-scrolling: touch;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;

  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom);
}

.brand_container.is-open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}

body.brands-open{ overflow: hidden; }

.brand_close{
  position: sticky;
  top: 12px;
  justify-self: end;      /* 右にズレる */
  margin: 12px 12px 0 0;
  left: auto;
  right: 0;
  margin-left: auto;
  z-index: 1;
  width: 40px; 
  height: 40px;
  display: grid; 
  place-items: center;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 20px; line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.brand_contents{
  padding: 12px 16px 20px;
}

.brand_contents ul{
  list-style: none;
  margin: 0;
  padding: 8px 8px 24px;

  display: flex;
  flex-direction: column; 
  gap: 10px;
}

.brand_contents li{ 
  margin: 0;
  margin-bottom: 20px; 
}

.brand_contents a{
  display: block;
  text-decoration: none;
  color: #111;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fafafa;
  /* font-size: 20px; */
}


.brand_contents a:hover{ background: #f0f0f0; }

@media (max-width: 400px){
  .brand_contents{ padding: 8px; }
}


/*ブランド ------------------------------------------ */


/* ストア ------------------------------------------ */

.store_container{
  align-content: flex-start;
  position: fixed;
  display: grid;
  left: 0;
  right: 0;
  top: var(--store-top, 80px);
  bottom: 0;
  background: #fff;
  z-index: 1100;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);

  overflow: auto;
  -webkit-overflow-scrolling: touch;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;

  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom);
}

.store_container.is-open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}

body.store-open{ overflow: hidden; }

.store_close{
  position: sticky;
  top: 12px;
  justify-self: end;
  margin: 12px 12px 0 0;
  left: auto;
  right: 0;
  margin-left: auto;
  z-index: 1;
  width: 40px; 
  height: 40px;
  display: grid; 
  place-items: center;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 20px; 
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.store_contents{
  padding: 0 16px 20px;
}

.store_contents h2{
  padding: 0;
  margin: 0 0 10px;
}

.store_contents ul{
  list-style: none;
  margin: 0;
  padding: 0 8px 24px;

  display: flex;
  flex-direction: column; 
  gap: 10px;
}

.store_contents li{ 
  margin: 0;
  margin-bottom: 20px; 
}

.store_contents a{
  display: block;
  text-decoration: none;
  color: #111;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fafafa;
}

.store_contents a:hover{ background: #f0f0f0; }

@media (max-width: 400px){
  .store_contents{ padding: 8px; }
}

/* ストア ------------------------------------------ */


/* 沿革----------------------------------------------*/

.history-wrapper {
  max-width: 1100px;
  margin: 80px auto 120px;
  padding: 0 40px;
  box-sizing: border-box;
}

.history-slider {
  position: relative;
  margin-bottom: 60px; 
  
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 40px;
}

.history-content {
  display: grid;
  grid-template-columns: auto auto; 
  column-gap: 64px;
  align-items: center;
  justify-content: center; 
  opacity: 1;
  transition: opacity .7s ease-in-out;
}


.history-main-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin: 0;
}

.history-content.is-fading {
  opacity: 0;
}

.history-main-visual {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
}

.history-main-visual img {
  max-width: 320px;
  border-radius: 8px;
  height: auto;
  display: block;
  object-fit: cover;
}

.history-year {
  margin: 0;
  padding: 0;
  font-size: 40px;
  font-weight: 700;
}

.history-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;

}

.history-body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
}


/* ===============================
   ARROW BUTTONS
   =============================== */

.history-arrow {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}



.history-arrow:disabled {
  opacity: .35;
  cursor: default;
  box-shadow: none;
}

/* ===============================
   BOTTOM TIMELINE
   =============================== */

.history-timeline {
  max-width: 900px;
  margin: 0 auto 40px;
}

.history-timeline-inner {
  position: relative;
  overflow: hidden;
  overflow-x: auto;
  padding: 20px 10px 10px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}



/* スライドするトラック */
.history-timeline-track {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0 40px 24px;
  transition: transform .7s ease-in-out;
  will-change: transform;
}

/* 個々のドット + ラベル */
.history-timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  color: #444;
  white-space: nowrap;
}

/* ドット本体 */
.history-timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #111;
  position: relative;
  /* transition: transform .7s ease-in-out,
              background-color .7s ease-in-out,
              border-color .7s ease-in-out; */
}

/* 線 (次のドットに向かって伸びる) */
.history-timeline-item::after {
  content: "";
  position: absolute;
  top: 8px; /* ドットの中心あたり */
  left: 100%;
  width: 80px;
  height: 2px;
  background: #111;
}

.history-timeline-item:last-child::after {
  display: none;
}

.history-timeline-label {
  font-size: 14px;
  display: block;
  min-width: 4ch;
  text-align: center;
  transition: color .7s ease-in-out, font-weight .7s ease-in-out;
}

.history-timeline-label--empty {
  color: transparent;
}

/* アクティブな年 ----------------------- */

.history-timeline-item.is-active .history-timeline-dot {
  background: #111;
  transform: scale(1.2);
}

.history-timeline-item.is-active .history-timeline-label {
  font-weight: 700;
  color: #111;
}

/* Hover */
.history-timeline-item:hover .history-timeline-dot {
  background: #111;
}

.history-timeline-item:hover .history-timeline-label {
  color: #111;
}

/* ===============================
   沿革（スマホ） - シンプル版
   =============================== */

   .history-wrapper-sp {
    max-width: 960px;
    margin: 72px auto 120px;
    padding: 0 20px;
    box-sizing: border-box;
    display: none;
  }
  
  .history-sp-timeline {
    border-top: 1px solid #eee;
  }
  
  .history-sp-track {
    display: flex;
    flex-direction: column;
  }
  
  /* 各行（ボタン扱いだけど見た目はシンプル） */
  .history-sp-item {
    padding: 20px 0;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #eee;
    background: none;
    cursor: pointer;
  }
  
  /* 年/月ラベル */
  .history-sp-label {
    margin: 0;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #999;
  }
  
  /* タイトル（常に表示） */
  .history-sp-title {
    margin: 4px 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
  }
  
  /* 詳細（画像 + 本文）はアクティブ時だけ表示 */
  .history-sp-content {
    margin-top: 10px;
    display: none; /* デフォルトは非表示（縦積みレイアウト） */
  }
  
  /* 画像 */
  .history-sp-figure {
    margin: 8px 0 12px;
  }
  
  .history-sp-image {
    display: block;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
  }
  
  /* 本文 */
  .history-sp-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
  }
  
  /* アクティブ時の状態（デフォルトは縦積み） */
  .history-sp-item.is-active .history-sp-content {
    display: block;
  }
  
  .history-sp-item.is-active .history-sp-title {
    color: #111;
  }
  
  .history-sp-item.is-active .history-sp-label {
    color: #000000;
    font-weight: 600;
  }
  
  @media (min-width: 500px) and (max-width: 1000px) {
  
    .history-sp-item.is-active .history-sp-content {
      display: grid;
      grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
      column-gap: 16px;
      grid-template-areas:
        "img title"
        "img body";
      align-items: flex-start;
    }
  
    .history-sp-figure {
      margin: 0;
      grid-area: img;
    }
  
    .history-sp-title {
      grid-area: title;
      margin: 0;
      font-size: 20px;
      font-weight: 600;
      color: #111;
    }
  
    .history-sp-body {
      grid-area: body;
      margin: 0;
      font-size: 16px;
      line-height: 1.8;
      color: #444;
    }
  }
  
  /* PC/SP 切り替え */
  @media (max-width: 1000px) {
    .history-wrapper {
      display: none;
    }
    .history-wrapper-sp {
      display: block;
    }
  }
  
  /* 400px 以下：文字サイズなどの微調整 */
  @media (max-width: 400px) {
    .history-wrapper-sp {
      margin: 48px auto 80px;
      padding: 0 16px;
    }
    .history-sp-title {
      font-size: 17px;
    }
    .history-sp-body {
      font-size: 15px;
    }
  }




/* フッター ----------------------------------------- */


.company_info{
  display: flex;
  justify-content: space-between;
  align-items: center; 
  width: 90%;
  margin-bottom: 20px;
  margin: 0 auto;
}

.company_info_list{
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 10px;
  white-space: nowrap;
  font-size: 15px;
}

#louis_collection a {
  color: rgb(0, 140, 255);
  text-decoration: none;
}

#phone, #email{
  color: rgb(0, 140, 255);
  text-decoration: none;
}



.social_media{
  display: flex;
  gap: 20px;
  list-style: none;
}

.social_media img{
  width: 60px;
}

footer{
  text-align: center;
  white-space: nowrap;
  font-size: 12px;
}

/* スマホ用 ----------------------------------------- */
.company_info_smartphone {
  display: none;
}

@media (max-width: 800px) {

  .company_info {
    display: none;
  }

  .company_info_smartphone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #fff;
    /* box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05); */
  }

  .company_info_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #111;
    text-align: center;
  }


  .company_info_list .contact_row {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap; 
  }


  .social_media {
    list-style: none;
    margin: 10px;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
  }

  .social_media img {
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
  }
  
  footer {
    z-index: 1000;
  }
}


/* フッター ----------------------------------------- */

