@charset "utf-8";

/* ======================================================
 * 共通設定
====================================================== */

/* SPヘッダーはデフォルトで非表示 */
.sp-header {
  display: none;
}


/* ======================================================
 * SP専用（768px以下）
====================================================== */
@media only screen and (max-width: 1024px) {

  /* ============================================
     PC用ヘッダーを完全に非表示
     ============================================ */
  #header>.group,
  #header>.inner,
  #header .inner,
  #header .gnav,
  #header .utility,
  .header-identity,
  .gnav-body,
  .gnav-main,
  .gnav-list,
  .megadrop {
    display: none !important;
  }

  /* ============================================
     SPヘッダーを表示
     ============================================ */
  .sp-header {
    display: block !important;
    position: relative;
  }

  /* ============================================
     チェックボックスを非表示（完全に画面外に配置）
     ============================================ */
  .sp-menu-checkbox,
  .sp-submenu-checkbox {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* ============================================
     コンテンツのマージン調整
     ============================================ */
  body {
    margin-top: -16px;
    padding-top: 0px !important;
  }

  /* ============================================
     グループリンク
     ============================================ */
  .sp-header-group {
    text-align: right;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    border-top: #22498d 5px solid;
    width: 100%;
    height: 32px;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: transform 0.3s ease, opacity 0.3s ease;

  }

  .sp-header-group a {
    display: inline-block;
    line-height: 32px;
  }

  .sp-header-group img {
    height: 20px;
    width: auto;
    vertical-align: top;
  }

  /* ============================================
     ヘッダー本体（固定）
     ============================================ */
  .sp-header-inner {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: #fff;
    position: fixed;
    top: 28px;
    left: 0;
    width: 100%;
    height: 56px;
    z-index: 1002;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease, box-shadow 0.3s ease;
    /* スクロール時のアニメーション */
  }

  /* 左側：ロゴエリア */
  .sp-header-left {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .sp-header-left a {
    display: inline-block;
    line-height: 1;
  }

  .sp-header-logo {
    height: 22px;
    width: auto;
    display: block;
  }

  /* 右側：アイコン＋メニュー */
  .sp-header-right {
    display: flex !important;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }

  /* アイコンリンク */
  .sp-header-icon {
    width: 32px;
    height: 32px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    position: relative !important;
    order: 1 !important;
    /* アイコンを先に配置 */
  }

  .sp-header-icon:active {
    opacity: 0.6;
  }

  .sp-header-icon img {
    width: 32px;
    height: 32px;
  }

  /* ============================================
     ハンバーガーメニューボタン（labelで実装）
     ============================================ */
  .sp-header-menu {
    /* デフォルトリセット */
    appearance: none;
    -webkit-appearance: none;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font: inherit;
    color: inherit;
    line-height: 1 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;

    /* レイアウト */
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    width: 40px !important;
    height: 32px !important;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;

    /* 配置 */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    float: none !important;
    z-index: 1003;

    /* flexアイテムとしての順序を最後に */
    order: 999 !important;

    /* クリックイベント：親だけが受け取る */
    pointer-events: auto !important;
  }

  /* 子要素すべてのクリックイベントを無効化（親に伝播） */
  .sp-header-menu>* {
    pointer-events: none !important;
  }

  /* バー3本 - より強力なセレクタ */
  .sp-header-right .sp-header-menu .sp-header-menu_bar,
  .sp-header-menu .sp-header-menu_bar {
    width: 22px !important;
    height: 3px !important;
    min-height: 2px !important;
    background: #333 !important;
    background-color: #333 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-radius: 1px !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    content: '' !important;
    pointer-events: none !important;
  }

  /* デバッグ用：spanタグを直接指定 */
  .sp-header-menu>span.sp-header-menu_bar {
    width: 22px !important;
    height: 2px !important;
    background: #333 !important;
    display: block !important;
    pointer-events: none !important;
  }

  /* チェックボックスがONの時：×印に変化 */
  .sp-menu-checkbox:checked~.sp-header-inner .sp-header-menu .sp-header-menu_bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .sp-menu-checkbox:checked~.sp-header-inner .sp-header-menu .sp-header-menu_bar:nth-child(2) {
    opacity: 0 !important;
  }

  .sp-menu-checkbox:checked~.sp-header-inner .sp-header-menu .sp-header-menu_bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* メニューラベル */
  .sp-header-menu_label {
    font-size: 9px;
    color: #333;
    font-weight: 500;
    margin-top: 1px;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* クリックイベントを親に渡す */
  }

  /* デフォルトは「メニュー」を表示 */
  .sp-header-menu_label::before {
    content: 'メニュー';
  }

  /* チェック時は「閉じる」に変更 */
  .sp-menu-checkbox:checked~.sp-header-inner .sp-header-menu .sp-header-menu_label::before {
    content: '閉じる';
  }

  /* ============================================
     ドロワーナビゲーション（ヘッダーの下から出る）
     ============================================ */
  .sp-header-nav {
    display: block !important;
    position: fixed !important;
    top: 68px !important;
    /* グループ28px + ヘッダー40px */
    right: -100% !important;
    width: 85% !important;
    max-width: 360px !important;
    height: calc(100vh - 68px) !important;
    height: calc(100dvh - 68px) !important;
    background: #fff !important;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1001 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
    -webkit-overflow-scrolling: touch;
  }

  /* チェックボックスがONの時：ドロワーを表示 */
  .sp-menu-checkbox:checked~.sp-header-nav {
    right: 0 !important;
  }

  /* スクロール時（グループリンクが消えた後）のドロワー位置 */
  .sp-header-inner.is-scrolled~.sp-header-nav {
    top: 40px !important;
    /* ヘッダーのみの高さ */
    height: calc(100vh - 40px) !important;
    height: calc(100dvh - 40px) !important;
  }

  .sp-header-nav_inner {
    padding: 20px 0 40px;
    min-height: 100%;
    box-sizing: border-box;
  }

  /* ============================================
     ナビゲーションリスト
     ============================================ */
  .sp-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sp-nav-item {
    border-bottom: 1px solid #e5e5e5;
  }

  /* ナビリンク（aタグとlabelの両方に適用） */
  .sp-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
  }

  .sp-nav-link:active,
  .sp-nav-item>a.sp-nav-link:active {
    background-color: #f5f5f5;
  }

  .sp-nav-arrow {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
    display: inline-block;
  }

  /* チェックボックスがONの時：矢印を回転 */
  .sp-submenu-checkbox:checked+.sp-nav-link .sp-nav-arrow {
    transform: rotate(180deg);
  }

  /* ============================================
     サブメニュー
     ============================================ */
  .sp-nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* チェックボックスがONの時：サブメニューを表示 */
  .sp-submenu-checkbox:checked~.sp-nav-submenu {
    max-height: 1000px;
  }

  .sp-nav-submenu li {
    border-bottom: 1px solid #e5e5e5;
  }

  .sp-nav-submenu li:last-child {
    border-bottom: none;
  }

  .sp-nav-submenu a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }

  .sp-nav-submenu a:active {
    background-color: #efefef;
  }

  .sp-nav-submenu_separator {
    padding: 12px 20px 8px 40px;
    color: #999;
    font-size: 12px;
    font-weight: bold;
    background: #f0f0f0;
    border-bottom: none !important;
  }

  /* ============================================
     ナビフッター
     ============================================ */
  .sp-nav-footer {
    padding: 10px 20px;
    border-top: 1px solid #e5e5e5;
  }

  .sp-nav-lang {
    display: flex;
    height: 36px;
    width: auto;
    padding: 10px 0px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .sp-nav-lang:active {
    background: #204B8D;
    color: #fff;
  }

  .sp-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .sp-nav-btn {
    display: block;
    padding: 12px 20px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none !important;
    border-radius: 25px;
    transition: all 0.3s ease;
  }

  .sp-nav-btn:visited {
    color: #fff !important;
  }

  .sp-nav-btn--contact {
    background: linear-gradient(45deg, #C62828, #EC6732);
  }

  .sp-nav-btn--contact:active {
    background: linear-gradient(45deg, #a02020, #c95129);
    color: #FFCBBE !important;
  }

  .sp-nav-btn--contact:visited:active {
    color: #FFCBBE !important;
  }

  .sp-nav-btn--catalog {
    background: linear-gradient(45deg, #008B7B, #29C37B);
  }

  .sp-nav-btn--catalog:active {
    background: linear-gradient(45deg, #007163, #21a768);
    color: #ABFFDA !important;
  }

  .sp-nav-btn--catalog:visited:active {
    color: #ABFFDA !important;
  }

  /* ============================================
     オーバーレイ（ドロワー開いた時の背景）
     ============================================ */
  .sp-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  /* チェックボックスがONの時：オーバーレイを表示 */
  .sp-menu-checkbox:checked~.sp-menu-overlay {
    display: block;
    opacity: 1;
  }

  /* ============================================
     body固定（ドロワー開いた時のスクロール防止）
     ============================================ */
  .sp-menu-checkbox:checked~* {
    /* 注: これはbodyに直接適用できないため、別の方法が必要 */
  }

  /* bodyの固定は、HTMLに以下を追加することで対応：
     <style>
     .sp-menu-checkbox:checked {
       position: fixed;
     }
     body:has(.sp-menu-checkbox:checked) {
       overflow: hidden;
       position: fixed;
       width: 100%;
     }
     </style>
  */
}


/* ======================================================
 * PC用（1025px以上）
====================================================== */
@media print,
screen and (min-width: 1025px) {

  /* SPヘッダーを非表示 */
  .sp-header {
    display: none !important;
  }

  /* ============================================
     言語切替
     ============================================ */
  li.english {
    padding-top: 8px;
    margin-left: 20px;
    white-space: nowrap;
  }

  li.english img {
    width: 24px;
    height: auto;
    margin-right: 5px;
    margin-bottom: 4px;
  }

  li.english a {
    color: #264b86;
    font-weight: bold;
  }

  li.english span {
    padding-top: 3px;
  }

  /* ============================================
     Header
     ============================================ */
  .gnav-list_item {
    background-color: inherit;
    display: flex;
    height: 100%;
    align-items: flex-end;
  }

  .gnav-list_link {
    display: inline-block;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 18px;
  }

  .gnav-list_item.is-show-child .gnav-list_link {
    position: relative;
    background-color: rgba(32, 75, 141, 0.95);
    color: #FFF;
  }

  /* ============================================
     header-identity
     ============================================ */
  .header-identity {
    min-width: 240px !important;
  }

  .header-identity_link {
    overflow: hidden;
    display: block;
    width: 100%;
    height: 30px;
    background: url(/jp/common/img/com_logo01.png) no-repeat 0 50%;
    white-space: nowrap;
    text-indent: 100%;
  }

  /* ============================================
     検索エリア
     ============================================ */
  .search-area {
    display: none;
  }

  .search-area_inner {
    position: absolute;
    top: 80px;
    left: 0;
    padding: 25px 80px;
    width: 100%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .search-form {
    flex-grow: 1;
    position: relative;
    border-bottom: 1px solid #fff;
    padding: 10px 0 10px 50px;
  }

  .search-form::before {
    position: absolute;
    left: 11px;
    top: 10px;
    background: url(/jp/common/img/com_sprite01.png) no-repeat -80px -282px;
    display: inline-block;
    width: 26px;
    height: 26px;
    content: "";
    margin-right: 15px;
  }

  .search-form input {
    border: none;
    outline: none;
  }

  .search-form input[type="text"] {
    background-color: #444;
    color: #fff;
    height: 26px;
    padding: 0;
    margin-right: 20px;
    width: calc(100% - 60px);
  }

  .search-form input[type="submit"] {
    background: url(/jp/common/img/com_sprite01.png) no-repeat 0 -282px;
    width: 31px;
    height: 18px;
    text-indent: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }

  .search-form input:-ms-input-placeholder {
    color: #777;
  }

  .search-area .search-close {
    margin-left: 90px;
    width: 29px;
    height: 29px;
  }

  .search-area .search-close a {
    background: url(/jp/common/img/com_sprite01.png) no-repeat -40px -282px;
    display: block;
    width: 29px;
    height: 29px;
    text-indent: 100%;
    overflow: hidden;
    white-space: nowrap;
  }

  /* ============================================
     グローバルナビ
     ============================================ */
  .gnav {
    flex: 1;
    margin-top: 30px;
  }

  #header.scroll .gnav {
    margin-top: 5px;
  }

  .gnav-body {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0px;
  }

  .gnav-main {
    padding: 0 10px;
  }

  .gnav-list {
    display: flex;
    align-items: center;
    height: 48px;
    gap: 0;
  }

  .gnav-list_link {
    display: block;
    font-size: clamp(12px, 0.98vw, 14px);
    font-weight: bold;
    text-decoration: none !important;
    white-space: nowrap;
  }

  .gnav-list_item.is-current .gnav-list_label,
  .gnav-list_link:hover .gnav-list_label {
    display: block;
    position: relative;
  }

  .gnav-list_item.is-current .gnav-list_label::before,
  .gnav-list_link .gnav-list_label::before {
    opacity: 0;
    transition: opacity .2s ease-out 0s;
  }

  .gnav-list_item.is-current .gnav-list_label::before,
  .gnav-list_link:hover .gnav-list_label::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFF;
    opacity: 1;
  }

  /* ============================================
     サブナビ
     ============================================ */
  .gnav-sub-body {
    padding: 0 48px 0 0;
  }

  .gnav-sub-list {
    display: flex;
    align-items: center;
  }

  .gnav-sub-list_link {
    display: block;
    padding: 0 25px;
    font-size: 1.5rem;
    color: #333 !important;
    text-decoration: none !important;
  }

  .gnav-sub-list_item.is-current .gnav-sub-list_label,
  .gnav-sub-list_link:hover .gnav-sub-list_label {
    display: block;
    position: relative;
  }

  .gnav-sub-list_item.is-current .gnav-sub-list_label::before,
  .gnav-sub-list_link .gnav-sub-list_label::before {
    opacity: 0;
    transition: opacity .2s ease-out 0s;
  }

  .gnav-sub-list_item.is-current .gnav-sub-list_label::before,
  .gnav-sub-list_link:hover .gnav-sub-list_label::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    display: block;
    width: 100%;
    height: 3px;
    background-color: #e50014;
    opacity: 1;
  }

  /* ============================================
     ユーティリティ
     ============================================ */
  .utility {
    margin-left: 30px;
  }

  .utility-body {
    display: flex;
    align-items: center;
  }

  .utility-english_link {
    position: relative;
    display: block;
    padding-top: 24px;
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .utility-english_link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    background: url(/jp/common/img/com_sprite01.png) no-repeat -40px -80px;
  }

  .utility-search {
    margin-left: 30px;
  }

  .utility-search_button {
    overflow: hidden;
    position: relative;
    display: block;
    width: 36px;
    height: 36px;
    border: 1px solid #aaa;
    white-space: nowrap;
    text-indent: 100%;
    cursor: pointer;
  }

  .utility-search_button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: 16px;
    height: 17px;
    margin: -8px 0 0 -9px;
    background: url(/jp/common/img/com_sprite01.png) no-repeat 0 -80px;
  }

  .is-active .utility-search_button {
    border: 1px solid #e50014;
    background-color: #e50014;
  }

  .is-active .utility-search_button::before {
    background: url(/jp/common/img/com_sprite01.png) no-repeat -160px -282px;
  }

  /* ============================================
     ENGLISHボタン
     ============================================ */
  .header-lang__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    margin-right: 16px;
  }

  .header-lang__btn img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ============================================
     グローバルナビ右端ボタン
     ============================================ */
  .gnav-list_item--buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
  }

  .header-btn {
    display: inline-flex;
    gap: 4px;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
  }

  .header-btn img {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-top: 2px;
  }

  .header-btn--contact {
    background: linear-gradient(45deg, #C62828, #EC6732);
    color: #fff;
    transition: background 0.3s ease;
  }

  .header-btn--contact:hover {
    background: linear-gradient(45deg, #a02020, #c95129);
    text-decoration: none;
    color: #FFCBBE;
  }

  .header-btn--catalog {
    background: linear-gradient(45deg, #008B7B, #29C37B);
    color: #fff;
    transition: background 0.3s ease;
  }

  .header-btn--catalog:hover {
    background: linear-gradient(45deg, #007163, #21a768);
    text-decoration: none;
    color: #ABFFDA;
  }

  /* ============================================
     メガドロップダウン
     ============================================ */
  .megadrop {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 999;
  }

  .megadrop-block {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 30px 50px;
    background-color: rgba(32, 75, 141, 0.95);
  }

  .megadrop-block_inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
  }

  .megadrop-block_inner a {
    color: #FFF;
  }

  .megadrop-block_inner .title {
    position: relative;
    display: inline-block;
    padding-left: 30px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff !important;
    margin-right: 10px;
    white-space: nowrap;
    width: 300px;
  }

  .megadrop-block_inner .body {
    width: 900px;
    padding-top: 10px;
    display: flex;
  }

  .megadrop-block_inner .body ul {
    width: 50%;
    display: block;
  }

  .megadrop-block_inner .body ul li {
    position: relative;
    display: block;
    padding-left: 30px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #fff !important;
    white-space: nowrap;
    margin-bottom: 5px;
  }

  .megadrop-block_inner .body ul li a {
    display: block;
  }

  .megadrop-block_inner .body ul.gazo {
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    display: flex;
    width: 100%;
  }

  .megadrop-block_inner .body ul.gazo li {
    width: 24%;
    padding: 0px;
  }

  .megadrop-block_inner .body ul.gazo li.strength-navi a {
    position: relative;
    text-align: center;
    display: block;
    font-family: 'Shippori Mincho', serif;
  }

  .megadrop-block_inner .body ul.gazo li.strength-navi a .item {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 75%;
    width: 75%;
    padding-top: 8%;
    font-size: 16px;
  }

  .megadrop-block_inner .body ul.gazo li.strength-navi a .item h3 {
    border-bottom: solid 2px #FFF;
    width: 20%;
    margin-bottom: 7px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    padding-bottom: 5px;
  }

  .megadrop-block_inner .body ul.gazo li:before {
    content: none;
  }

  .megadrop-block_inner .body ul.gazo li img {
    width: 100%;
    height: auto;
    transition-duration: 0.3s;
  }

  .megadrop-block_inner .body ul.gazo li a:hover img {
    transform: scale(1.1);
    transition-duration: 0.3s;
  }

  .megadrop-block_inner .body ul li ul {
    display: block;
  }

  .megadrop-block_inner .body ul li ul li {
    display: block;
    padding-left: 15px;
  }
}



/* ======================================================
 * PC用（1025px〜1199pxの範囲）
====================================================== */


/* 1025px〜1199pxの範囲 */
@media (min-width: 1025px) and (max-width: 1199px) {

  .pc-only .header-btn {
    font-size: 0 !important;
    position: relative !important;
    display: inline-flex !important;
    width: 60px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 60px !important;
  }

  .pc-only .header-btn img {
    width: 24px !important;
    height: 24px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }
}






/* ======================================================
 * タブレット用（768px〜1160px）
====================================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #header .inner #logo {
    margin-left: 10px;
    width: 320px;
    float: left;
    padding-top: 30px;
    margin-right: 15px;
  }

  .gnav-list_link {
    font-size: 14px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .gnav-main {
    padding: 0 5px;
    margin: 0 auto;
  }

  .megadrop-block_inner {
    max-width: 1160px;
  }

  .megadrop-block_inner_body ul.gazo li img {
    width: 100%;
    height: auto;
  }

  .megadrop-block_inner_body>* {
    margin-left: 10px;
  }
}
