:root {
    --accent-color: #1666BB !important;
    --foreground-color: #2D3B46;
}

#main_column h2 {
    border: none !important;
}

#search_status_area{ display: none; }

/********************
      基本設定 & テーマカラー
    ********************/
:root {
    --accent-color: #1666BB;
    /* ブランドブルー */
    --dark: #000;
    --light: #fff;
    --gray: #e5e5e5;

    /* 日本語向けタイポグラフィ */
    --fs-base: 1rem;
    /* 16px */
    --fs-sm: 0.875rem;
    /* 14px */
    --fs-lg: 1.25rem;
    /* 20px */
    --fs-xl: 1.5rem;
    /* 24px */
    --fs-2xl: 2rem;
    /* 32px */
    --lh-base: 1.75;
}

/********************
      リセット & 汎用
    ********************/
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    color: var(--dark);
    /* background: #fafafa; */
    letter-spacing: 0.02em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.5em;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.01em;
    width: fit-content;
}

h1 {
    font-size: var(--fs-2xl);
}

h2 {
    font-size: var(--fs-xl);
}

h3 {
    font-size: var(--fs-lg);
}

h4 {
    font-size: var(--fs-base);
}

h5,
h6 {
    font-size: var(--fs-sm);
}

p {
    margin: 0 0 1.25em;
}

.link_line {
    /* color: var(--accent-color); */
    text-decoration: none;
    transition: opacity 0.2s ease;
    padding-bottom: 3px;
    /* テキストと下線の間隔 */
    background-image: linear-gradient(var(--accent-color), var(--accent-color));
    background-repeat: no-repeat;
    background-position: bottom right;
    /* 下線の初期位置 */
    background-size: 0 1px;
    /* 下線のサイズ（横幅、高さ） */
    transition: background-size 0.3s;
}

.link_line:hover,
a:hover .link_line,
a.inner:hover h3 {
    background-position: bottom left;
    background-size: 100% 1px;
    color: var(--accent-color);
}

a {
    text-decoration: none;
}

a:hover {
    opacity: .75;
}

li:has(a) {
    list-style: none;
}

ul:has(a) {
    margin: 0;
    padding: 0;
}

li a {
    position: relative;
    padding-left: 1.2rem;
    margin-left: 0;
}



/* ボタン */
.btn {
    display: inline-block;
    padding: 0.75em 2em;
    border-radius: 4px;
    font-size: var(--fs-base);
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    color: var(--light) !important;
    background: var(--accent-color);
    transition: background 0.2s ease;
}

.btn--outline {
    background: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn:hover {
    background: #0049c0;
}

.btn--outline:hover {
    background: var(--accent-color);
    color: var(--light) !important;
}

/********************
      セクション共通
    ********************/
section {
    padding: 4rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* section + section { border-top: 1px solid var(--gray); } */

.section-title {
    position: relative;
    font-size: var(--fs-xl);
    font-weight: 800;
    padding-bottom: 1em;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.section-title::after {
    position: absolute;
    content: "";
    height: 1px;
    width: 80px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.inner {
    text-align: left;
}

.inner h3 {
    font-size: var(--fs-base);
    margin-top: 1rem;
}

a.inner h3 {
    position: relative;
    margin-left: 1.2rem;
    color: #333;
}

a.inner h3:before {
    position: absolute;
    content: "";
    top: 50%;
    left: -1.2rem;
    transform: rotate(45deg) translateY(-50%);
    width: 6px;
    height: 6px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    border-color: var(--accent-color);
}

.grid:has(.categories-two) {
    gap: 1.5rem;
}

.categories-two {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray);
    padding: 0 0 1.5rem;
}

.categories-two img {
    height: 60px;
    width: 60px;
}

a.categories-two.inner h3 {
    padding: 0;
    font-size: 14px;
    margin-left: 0;
    margin-top: 0;
}

a.categories-two.inner h3:before {
    display: none;
}

/********************
      グリッドユーティリティ
      cols-1 ~ cols-6 のクラスでカラム数を指定
    ********************/
.grid {
    display: grid;
    gap: 3rem 1.5rem;
}

.cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

.grid:has(+ ul) {
    gap: 1rem;
}

/* ブレークポイント：1024px で 2カラム、640px で単一カラムへ */
@media (max-width: 1024px) {

    .cols-3,
    .cols-4,
    .cols-5,
    .cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .cols-2,
    .cols-3,
    .cols-4,
    .cols-5,
    .cols-6 {
        grid-template-columns: 1fr;
    }
}

/********************
      パーツ
    ********************/
.img-fluid {
    width: 100%;
    height: auto;
    display: block;
}

/* Article list */
.article-item {
    text-align: left;
}

.article-title {
    font-size: var(--fs-base);
    font-weight: 700;
    margin: .5em 0;
}

/* News */
.news-list {
    text-align: left;
    margin: 0 auto 2em;
}

.news-item:first-child {
    border-top: 1px solid var(--gray);
}

.news-item {
    display: flex;
    gap: 3em;
    padding: 2em 0;
    border-bottom: 1px solid var(--gray);
    font-size: var(--fs-sm);
    line-height: 1.5;
}

.news-date {
    white-space: nowrap;
}

.news-body {
    /* flex: 1; */
    color: #333;
}

/* About 円形アイコン */
.circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--gray);
}

/* After Service */
.feature-box {
    background: var(--gray);
    padding: 2rem 1rem;
    border-radius: 6px;
    font-weight: 500;
}

/* ------------------------------
      ヘッダー（Keyence 風）
    ------------------------------ */
/* Header */
.header {
    width: 100%;
    padding: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 20px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    letter-spacing: -0.5px;
    max-height: 24px;
}

.logo img {
    max-height: 24px;
}

.search-container {
    flex: 1;
    max-width: 400px;
    margin: 0 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 45px 10px 15px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px;
    font-size: 14px;
    color: #6b7280;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: #3b82f6;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.user-link {
    color: var(--foreground-color) !important;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    font-weight: 800;
}

.user-link:hover {
    color: #1f2937;
}

.cart-container {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-container {
    background-color: #FBFBFB;
    border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 55px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 42px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--foreground-color) !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #1f2937;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    color: var(--accent-color);
    transform: rotate(0deg);
    transition: transform 0.2s;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.icon {
    width: 20px;
    height: 20px;
}

/* モバイルナビ */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .header-search {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.97);
        display: none;
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 24px;
        animation: fadeIn 0.3s ease forwards;
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a {
        font-size: var(--fs-lg);
        font-weight: 500;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/********************
      スマートフォン向けフォントリサイズ
      640px 以下で可読性を保ちつつ全体縮小
    ********************/
@media (max-width: 640px) {
    :root {
        --fs-base: 0.9375rem;
        /* 15px */
        --fs-sm: 0.8125rem;
        /* 13px */
        --fs-lg: 1.125rem;
        /* 18px */
        --fs-xl: 1.25rem;
        /* 20px */
        --fs-2xl: 1.5rem;
        /* 24px */
    }

    section {
        padding: 3rem 1rem;
    }

    .btn {
        padding: 0.65em 1.5em;
    }
}

#main_column.colnum2 {
    padding-left: 0;
}

#main_column.colnum2 #detailrightbloc,
#main_column.colnum1 #detailrightbloc,
#main_column.colnum1 #detailleftbloc {
    width: 50%
}

/* 商品画像サイズの調整 */
#detailarea .photo,
#detailarea .sub_photo,
#detailarea .m_sub_photo {
    max-width: 100%;
}

/* 商品名 */
#detailarea h2 {
    font-size: 32px;
    color: #000;
}

#detailarea .product_code {
    border-top: none;
    padding-top: 0;
    position: relative;
    font-size: 14px;
    font-weight: 600;
}

#detailarea .product_code:after {
    position: absolute;
    height: 1px;
    width: 100px;
    background: var(--accent-color);
    content: "";
    bottom: -8px;
    left: 0;
}

.sale_price {
    margin-top: 32px;
    font-weight: 800;
    font-size: 14px;
}

.price02_notax_default,
#detailarea .sale_price dd .price02_notax_default {
    font-size: 24px;
    margin-left: 2px;
}

#detailarea .sale_price dd .price02_inctax_default {
    font-size: 14px;
}

#detailarea .sale_price dd.deliv_fee {
    float: left;
    padding-right: 12px;
}

#detailarea .deliv_fee .not_include {
    background: var(--foreground-color);
    font-size: 12px;
}

#detailarea .deliv_date {
    color: var(--accent-color);
    font-weight: 800;
    margin-top: -11px;
}

.relative_cat {
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.relative_cat dt {
    font-weight: 800;
}

.relative_cat a:link,
.relative_cat a:visited {
    color: #000;
    text-decoration: underline;
}

#detailarea .cart_area {
    max-width: 100%;
    /* min-width: 100%; */
    background: none;
    border: none;
    padding: 15px 0;
}

#detailarea .cartin {
    float: none;
}

#cartbtn_default {
    display: block;
    text-align: center;
}

#cartbtn_default i.fa.fa-shopping-cart {
    display: none;
}

#cartbtn_default p#cart {
    font-size: 16px;
    font-weight: 800;
}

#cartbtn_default p#cart a {
    color: var(--accent-color);
    text-decoration: underline;
}

#detailarea .favorite_btn a {
    width: auto;
    padding: 12px;
    font-weight: 800;
    font-size: 16px;
    background: var(--accent-color);
    border: none;
    color: #fff;
}

i.fa.fa-heart-o {
    display: none;
}

div#detailrightbloc.detaildescriptionbloc form {
    border-bottom: 1px solid #D9D9D9;
}

p {
    line-height: 1.8;
}

strong {
    font-size: 112%;
    margin-bottom: 4px;
    display: block;
}

#ins_catalog_caption_pc ul li {
    list-style: disc;
    margin-left: 18px;
    float: none !important;
    margin-bottom: 8px;
}

#ins_catalog_caption_pc ul li dt {
    font-weight: 800;
}


/* ======================================
   グローバルナビ共通スタイル
   （raku2_theme01配下に限定）
====================================== */

.raku2_theme01 .nav-container {
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.raku2_theme01 .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.raku2_theme01 .nav-menu {
  display: flex;
  align-items: stretch;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.raku2_theme01 .nav-item {
  position: relative; /* ドロップダウンを絶対配置するため */
}

.raku2_theme01 .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

/* hover時の下線アニメーション */
.raku2_theme01 .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: #222;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.raku2_theme01 .nav-item:hover > .nav-link::after {
  transform: scaleX(1);
}

/* ======================================
   矢印アイコンの制御
====================================== */

.raku2_theme01 .dropdown-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

/* is-open時に矢印を反転 */
.raku2_theme01 .nav-item.has-dropdown.is-open > .nav-link .dropdown-arrow {
  transform: rotate(180deg);
}

/* ======================================
   ドロップダウン本体
====================================== */

.raku2_theme01 .nav-item.has-dropdown .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 8px 0;
  background: #ffffff;
  border: 1px solid #eee;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
  z-index: 1000;
}

/* is-openクラスが付与されたときに表示 */
.raku2_theme01 .nav-item.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* マウス操作環境ではhoverでも開く */
@media (hover: hover) {
  .raku2_theme01 .nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ドロップダウン内のリスト */
.raku2_theme01 .nav-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.raku2_theme01 .nav-dropdown li a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
    text-align: left;
}

.raku2_theme01 .nav-dropdown li a:hover {
  background: #f5f5f5;
}

.btn_area.btn_type_def input, .btn_area.btn_type_def a.btn{
    color:#fff!important;
}