@charset "utf-8";
/*
Theme Name: LIQUID CORPORATE Child
Theme URI: https://lqd.jp/wp/
Description: LIQUID PRESS THEME
Author: LIQUID DESIGN
Author URI: https://lqd.jp/
Template: liquid
Version: 9999
*/
/* Child Styles */

.related-products {
  border-top: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
  margin-top: 5em;
  margin-bottom: 18px;
  padding: 0.2em;
}

.no-gutters {
  margin: 0;
  padding: 0;
}

.card-header {
  border: none;
  background-color: #FFFFFF;
}

.card-body {
  padding: 0;
}

a .card-body {
  color: #333333;
}

.card {
  border: none;
  font-size: 80%;
  /* border-radius: .25rem;*/
}

.js-sub-img img {
  cursor: pointer;
  cursor: hand;
  transition: 0.2s;
}

.js-sub-img img:hover {
  opacity: 0.5;
}

article.card .post_thumb {
  height: 100%;
}

.footer-1 {
  background-color: #3e821b;
  padding: 1em;
}

.footer-2 {
  background-color: #006835;
  padding: 0.5em;
}

.footer-2 a {
  color: #FFFFFF;
}

.footer-2 a:visited {
  color: #FFFFFF;
}

#menu-menu-2 {
  padding: 0.5em 0;
}

#menu-menu-2 li a {
  color: #111;
  font-size: medium;
}

#menu-menu-2 li.menu-item-119 {
  background: url(/wp-content/uploads/2021/07/icon_rokkakudou.jpg) no-repeat;
  background-size: 20px;
  background-position: left center;
  padding-left: 0.5em;
}

#menu-menu-2 li.menu-item-298 {
  background: url(/wp-content/uploads/2021/07/icon_butaniku.png) no-repeat;
  background-size: 20px;
  background-position: left center;
  padding-left: 0.5em;
}

#menu-menu-2 li.menu-item-427 {
  background: url(/wp-content/uploads/2021/07/icon_kakousyokuhin.png) no-repeat;
  background-size: 20px;
  background-position: left center;
  padding-left: 0.5em;
}

#menu-menu-2 li.menu-item-114 {
  background: url(/wp-content/uploads/2021/07/icon_kaisanbutu.png) no-repeat;
  background-size: 20px;
  background-position: left center;
  padding-left: 0.5em;
}

#menu-menu-2 li.menu-item-704 {
  background: url(/wp-content/uploads/2021/07/icon_yasai.png) no-repeat;
  background-size: 20px;
  background-position: left center;
  padding-left: 0.5em;
}

#menu-menu-2 li.menu-item-895 {
  background: url(/wp-content/uploads/2021/07/icon_inryou_osake.png) no-repeat;
  background-size: 20px;
  background-position: left center;
  padding-left: 0.5em;
}

#menu-menu-2 li.menu-item-299 {
  background: url(/wp-content/uploads/2021/07/icon＿sonota.png) no-repeat;
  background-size: 20px;
  background-position: left center;
  padding-left: 0.5em;
}

#menu-menu-2 li.menu-item-1126 {
  background: url(https://img.icons8.com/ios/50/000000/mail.png) no-repeat;
  background-size: 20px;
  background-position: left center;
  padding-left: 0.5em;
}

.navbar .dropdown-item {
  padding: 0.25rem 0.5rem;
}

.navbar .sub-menu {
  padding-left: 1em;
}

.navbar .ropdown-menu {
  margin-top: -1em;
}

.dropdown-menu {
  margin-top: 0;
}

#menu-menu-2 .sub-menu li a:before {
  font-family: 'icomoon' !important;
  speak: none;
  font-size: 70%;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  content: "\ea0b";
  /* NOTE: color:"#CCC"; は無効なので修正 */
  color: #CCC;
  padding-right: 5px;
}

#menu-menu-2 .sub-menu > .menu-item > a {
  font-weight: bold;
}

#menu-menu-2 .sub-menu > .menu-item > .sub-menu > .menu-item > a {
  color: #666;
  font-weight: 200;
}

/* ドロワーメニュー */
#drawer-menu li {
  border-bottom: 2px #3e821b solid;
}

#drawer-menu li a {
  font-size: medium;
  font-weight: bold;
  color: #3e821b;
  padding: 1em;
}

#drawer-menu .d-none {
  display: block !important;
}

.drawer-nav .search {
  margin: 0;
  padding: 1em;
  background-color: #3e821b;
}

.shop-explanation {
  background-color: #fdf8d7;
  padding: 3em 0;
}

.shop-explanation .col-md-6 {
  padding: 1em;
}

.shop-explanation .col-md-6 .box {
  background: #FFF;
  border-radius: 20px;
  color: #666;
  padding: 1em;
}

.logo_text {
  text-align: left;
}

.drawer-hamburger {
  background: #FFF !important;
  top: 15px !important;
  padding: 12px 0.65rem 20px !important;
  width: 1.5rem !important;
}

.m_fixed {
  top: 5px !important;
}

.copy {
  padding-bottom: 0;
  margin-bottom: 70px;
}

.follow-us {
  text-align: center;
}

.pagetop {
  bottom: 4em;
  position: fixed;
  right: 1em;
  z-index: 10;
}

.pagetop a:hover {
  text-decoration: none;
}

i.icon-arrow-up {
  background: #3e821b;
  padding: 0.5em;
  color: #FFF;
  border-radius: 15px;
}

a i.icon-arrow-up:hover {
  background: #326b16;
  padding: 0.5em;
  color: #FFF;
  border-radius: 15px;
  text-decoration: none;
}

.pop-ranking.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
  flex-basis: calc(50% - var(--wp--style--block-gap, 2em) / 2) !important;
  flex-grow: 0;
  margin: 5px;
}

.navbar {
  border-bottom: none;
}

#searchform .btn-primary {
  background: #3e811c;
}

#searchform .btn-primary:hover {
  background: #3ca86a;
}

.bg-yellow {
  background: #fdf8d7;
}

.page_user-guide h3 {
  background-color: #3e821b;
  color: #FFF;
  font-size: 120%;
  padding: 3px;
}

.page_user-guide h5 {
  background-color: #ddebc5;
  color: #3e821b;
  font-size: 120%;
  padding: 3px;
}

a, a:visited {
  color: #3e821b;
}

a:hover, a:active {
  color: #326b16;
}

.headline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1;
}

.headline .logo_text {
  width: 100%;
}

.pc-inquiry {
  text-align: center;
  position: fixed;
  bottom: 1em;
  right: 1.5em;
  display: none;
}

.mobile-inquiry {
  width: 100%;
  background-color: #fff33b;
  text-align: center;
  position: fixed;
  bottom: 0;
}

.bk-yellow {
  background-color: #fef7d8;
  padding: 1em;
}

h3.title-tanomu {
  background-color: #ed5412;
  border-radius: 4px;
  color: #FFF;
  font-size: 110%;
  padding: 0.3em 0 0.3em 0.3em;
}

.header-entry {
  background-color: #ed5412;
  border-radius: 5px;
  display: block;
  padding: 0em 0.1em;
}

.header-login {
  background-color: #048342;
  border-radius: 5px;
  display: block;
  padding: 0em 0.1em;
}

.header-tel {
  background-color: #7e4e21;
  border-radius: 5px;
  display: block;
  padding: 0em 0.1em;
}

#rmp_menu_trigger-627 {
  right: 0%;
}

.detail {
  padding-top: 90px !important;
}

.pbr {
  display: block;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  #rmp_menu_trigger-627 {
    right: 1%;
  }

  .detail {
    padding-top: 0 !important;
  }

  .headline {
    position: relative;
    height: auto;
  }

  .drawer-hamburger {
    background: #FFF !important;
    top: 25px !important;
  }

  .pagetop {
    bottom: 6em;
  }

  .pc-inquiry {
    display: block;
  }

  .mobile-inquiry {
    display: none;
  }

  .copy {
    margin-bottom: 0px;
  }

  .pbr {
    display: block;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  h3.title-tanomu {
    border-radius: 8px;
    padding: 0.5em 0 0.5em 1em;
  }

  .drawer-hamburger {
    top: 25px;
    background: #FFF !important;
  }

  .pbr {
    display: none;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .pbr {
    display: none;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .pbr {
    display: none;
  }
}

/* =========================================================
   固定ページ：左サイドバー（row padding 150px を正にする版）
   - row に padding: 0 150px を効かせる（＝左右150px内側に配置）
   - サイドバー25% / メイン75%
   - サイドバーとメインの間隔は0
   - メイン左右余白は同じ
   ========================================================= */

/* 調整はここだけ */
:root{
  --row-pad: 150px; /* ←これが「正」にしたい値 */
  --sb-pct: 25%;
  --main-pct: 75%;
  --gap: 0px;
  --pad: 16px;      /* メイン左右余白（左右同じ） */
}

/* 固定ページの container 制限を解除 */
.detail.page > .container{
  max-width: none !important;
  width: 100% !important;
}

/* ★ここが最重要：row の padding を 150px にする（他の padding:0 を潰す） */
.detail.page > .container > .row{
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;

  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;

  gap: var(--gap) !important;

  padding: 0 var(--row-pad) !important; /* ←これが効く状態 */
  box-sizing: border-box !important;
}

/* サイドバー：25% */
.detail.page > .container > .row > .sidebararea,
.detail.page .sidebararea.col-md-4{
  flex: 0 0 var(--sb-pct) !important;
  width: var(--sb-pct) !important;
  max-width: var(--sb-pct) !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  float: none !important;
  box-sizing: border-box !important;
}

/* メイン：75%（左右余白は同じ） */
.detail.page > .container > .row > .mainarea,
.detail.page .col-md-6.mainarea{
  flex: 0 0 var(--main-pct) !important;
  width: var(--main-pct) !important;
  max-width: var(--main-pct) !important;
  min-width: 0 !important;

  margin: 0 !important;

  padding-left: var(--pad) !important;
  padding-right: var(--pad) !important;

  float: none !important;
  box-sizing: border-box !important;
}

/* 768px以上で Bootstrap の max-width を解除（あなたの追加CSSを安全に移植） */
@media (min-width: 768px){
  .detail.page .col-md-6,
  .detail.page .col-md-4{
    flex: 0 0 auto !important;
    max-width: none !important;
  }
}

/* サイドバー内：1文字改行を抑える */
.detail.page > .container > .row > .sidebararea a{
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* SP：縦並び + row-pad を弱める（横幅が足りなくなるので） */
@media (max-width: 768px){
  .detail.page > .container > .row{
    flex-wrap: wrap !important;
    gap: 0 !important;
    padding: 0 15px !important;
  }

  .detail.page > .container > .row > .sidebararea,
  .detail.page > .container > .row > .mainarea{
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .detail.page > .container > .row > .mainarea{
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
