@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =========================================================
   ykvTrolox: SWELL header/footer 完全置換（干渉回避のため一意名）
   ========================================================= */

/* 固定ヘッダー分の余白（PC） */
body {
  padding-top: 110px;
}

/* ===== ykvTrolox ヘッダー（PC） ===== */
#ykvTroloxHeaderPc {
  width: 100%;
  padding: 40px 0 30px 0;
  transition: all 0.5s ease;
  position: fixed;
  top: 0;
  left: 0 !important;
  right: 0;
  z-index: 103;
  background: transparent;
}

#ykvTroloxHeaderPcInner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#ykvTroloxLogoPc img {
  width: 100px;
  height: auto;
  display: block;
}

#ykvTroloxNavPcList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

#ykvTroloxNavPcList a {
  text-decoration: none;
  color: #2e2e2e;
  font-size: 16px;
  line-height: 1.5;
}

#ykvTroloxNavPcList a:hover {
  opacity: 0.8;
}

/* ===== ykvTrolox ヘッダー（SP） ===== */
#ykvTroloxHeaderSpBar {
  transition: all 0.3s ease;
  display: none;
  height: 44px;
  left: 0;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 10001;
  background: #fff;
  color: #2e2e2e;
  box-shadow: 0 0.125em 0.125em 0 rgba(0,0,0,0.125);
}

#ykvTroloxLogoSp img {
  width: 100px;
  height: auto;
  margin: 8px auto 0;
  display: inline-block;
}

#ykvTroloxSpMenuBtn {
  position: absolute;
  right: 12px;
  top: 0;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #2e2e2e;
  text-decoration: none;
  font-size: 22px;
}

/* SPメニュー本体 */
#ykvTroloxNavSp {
  display: none;
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 10002;
  border-top: 1px solid rgba(0,0,0,0.08);
}

#ykvTroloxNavSpList {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
}

#ykvTroloxNavSpList li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

#ykvTroloxNavSpList a {
  color: #2e2e2e;
  text-decoration: none;
  font-size: 16px;
}

body.ykvTroloxIsSpMenuOpen #ykvTroloxNavSp {
  display: block;
}

/* レスポンシブ切替 */
@media screen and (max-width: 768px) {
  #ykvTroloxHeaderPc { display: none; }
  #ykvTroloxHeaderSpBar { display: block; }
  body { padding-top: 44px; }
}

/* ===== ykvTrolox フッター ===== */
#ykvTroloxFooter {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 3em 0;
  background: #fff;
}

#ykvTroloxFooterInner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

#ykvTroloxFooterLinks {
  list-style: none;
  padding: 0;
  margin: 24px 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
}

#ykvTroloxFooterLinks a {
  color: #2e2e2e;
  text-decoration: none;
}

#ykvTroloxFooterCopyright {
  color: #777;
  text-align: center;
}

/* 2カラムは自前のラッパーにだけ適用（SWELLの基本レイアウトは壊さない） */
.ykvTroloxLayout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--swl-sidebar_width);
  column-gap: var(--swl-sidebar_margin);
  align-items: start;
}

/* mainが潰れないように */
.ykvTroloxLayout > .l-mainContent{
  min-width: 0;
}

/* sidebar幅 */
.ykvTroloxLayout > #sidebar{
  width: 320px;
}

/* SP縦積み */
@media (max-width: 959px){
  .ykvTroloxLayout{
    grid-template-columns: 1fr;
  }
  .ykvTroloxLayout > #sidebar{
    width: auto;
  }
}

/* ykvTroloxLayout内ではSWELLの「サイドバーあり(main幅を引く)」ルールを無効化 */
.ykvTroloxLayout .l-mainContent{
  width: auto !important;      /* 100%固定をやめる */
  max-width: none !important;  /* 変な最大幅制限をやめる */
}

/* SWELLが -sidebar-on で付ける padding が不要なら調整（必要なら残してOK） */
.ykvTroloxLayout .l-mainContent{
  padding: 0 !important; /* ←元の余白が欲しいなら 48px にするなど調整 */
}

/* main自体の「position: static !important; width:100%」が入ってるなら上書き */
.ykvTroloxLayout > .l-mainContent{
  position: relative !important; /* staticで問題ないなら消してもOK */
}