
@charset "utf-8";

/* サイト共通フォントは import.css で読み込む */


/* ===============================================
   CORU 共通ヘッダー
=============================================== */

#header-contents,
#header-contents * {
  box-sizing: border-box;
}

#header-contents {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 72px;
  margin: 0;
  padding: 0;
  background: #fff;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}

/* 8px以上スクロールしたときだけ影を表示 */
#header-contents.is-scrolled {
  box-shadow: 0 4px 12px rgba(35, 68, 47, 0.12);
}

/* TOP以外：ヘッダー下部の区切り線 */
body:not(.LC_Page_Index) #header-contents {
  border-bottom: 1px solid #23442f;
}

/* 固定ヘッダー分の表示領域を確保 */
html body {
  padding-top: 72px !important;
  box-sizing: border-box !important;
}

/* 旧指定による二重余白を防止 */
#header-contents + #container,
#header-contents ~ #container,
#header-contents + #main-content,
#header-contents ~ #main-content {
  margin-top: 0 !important;
}


/* ===============================================
   ヘッダー内部
=============================================== */

.coru-header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 72px;
  margin: 0;
  padding: 0 24px;
}


/* ===============================================
   ロゴ
=============================================== */

#header-contents h1.coru-header__logo {
  flex: 0 0 230px;
  width: 230px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0;
  line-height: 0;
}

.coru-header__logo a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.coru-header__logo img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}


/* ===============================================
   メインメニュー
=============================================== */

.coru-header__nav {
  margin-left: auto;
}

.coru-header__nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coru-header__nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.coru-header__nav a {
  color: #23442f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.coru-header__nav a:hover,
.coru-header__nav a:focus-visible {
  color: #23442f !important;
  opacity: 1;
  filter: none;
  text-decoration: none;
}

/* ===============================================
   ログイン・カート
=============================================== */

.coru-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 38px;
}

.coru-header__login,
.coru-header__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}


/* -----------------------------------------------
   ログインボタン
----------------------------------------------- */

.coru-header__login {
  width: 132px;
  background: #ffb65f;
  color: #23442f;
}


/* -----------------------------------------------
   カートボタン
----------------------------------------------- */

.coru-header__cart {
  gap: 7px;
  width: 132px;
  background: #23442f;
  color: #fff !important;
}

/* リンク状態が変わっても白を維持 */
.coru-header__cart:link,
.coru-header__cart:visited,
.coru-header__cart:hover,
.coru-header__cart:active,
.coru-header__cart:focus {
  color: #fff !important;
  text-decoration: none;
}

/* カートのテキスト */
.coru-header__cart .coru-header__cart-text {
  color: #fff !important;
}

/* カートのSVGアイコン */
.coru-header__cart .coru-header__cart-icon {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #fff !important;
  stroke: #fff !important;
}


/* -----------------------------------------------
   ホバー
----------------------------------------------- */

.coru-header__login:hover,
.coru-header__cart:hover {
  opacity: 1;
  transform: translateY(-1px);
}


/* -----------------------------------------------
   キーボード操作時
----------------------------------------------- */

.coru-header a:focus-visible {
  outline: 3px solid #b48237;
  outline-offset: 3px;
}


/* ===============================================
   小さめのPC・タブレット
=============================================== */

@media screen and (max-width: 1200px) {
  .coru-header {
    padding-right: 20px;
    padding-left: 20px;
  }

  #header-contents h1.coru-header__logo {
    flex-basis: 190px;
    width: 190px;
  }

  .coru-header__nav ul {
    gap: 22px;
  }

  .coru-header__right {
    margin-left: 26px;
  }

  .coru-header__login,
  .coru-header__cart {
    width: 118px;
  }
}


/* ===============================================
   スマートフォン
=============================================== */

@media screen and (max-width: 767px) {
  #header-contents,
  .coru-header {
    height: 64px;
  }

  html body {
    padding-top: 64px !important;
  }

  .coru-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  #header-contents h1.coru-header__logo {
    flex-basis: 145px;
    width: 145px;
  }

  .coru-header__nav {
    display: none;
  }

  .coru-header__right {
    gap: 7px;
    margin-left: auto;
  }

  .coru-header__login {
    width: auto;
    height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .coru-header__cart {
    width: 38px;
    height: 38px;
  }

  .coru-header__cart-icon {
    width: 19px;
    height: 19px;
  }

  .coru-header__cart-text {
    display: none;
  }
}


/* ===============================================
   動きを減らす設定
=============================================== */

@media (prefers-reduced-motion: reduce) {
  .coru-header__nav a,
  .coru-header__login,
  .coru-header__cart {
    transition: none;
  }
}

/* ヘッダー：カートアイコン */
html body .coru-header__cart-icon {
  display: block !important;
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  background: center / 18px 18px no-repeat url("/user_data/packages/raku2pc/img/icon/icon-cart.png") !important;
  stroke: none !important;
}

html body .coru-header__cart-icon > * {
  display: none !important;
}