@charset "UTF-8";
@import url("font-awesome/css/all.css");
/* --------------------
 reset
-------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul {
    list-style: none;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}

/* html {
    overflow-x: hidden;
}
body {
    overflow-x: clip;
}

html,
body {
    overflow-x: hidden;
}
*/


/* --------------------
 body（PCレイアウトから開始）
-------------------- */

/* 全体のフォントを Noto Sans JP（weight:400）で指定 */
body {
    font-optical-sizing: auto;
    font-style: normal;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
}
.main {
    background: #000000;
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* ▼コンテンツエリア（最大幅1200pxで中央配置）*/
.container {
    width: min(100%, 1480px);
    margin: 0 auto;
    background: #E7ECF7;
    display: grid;
    /* ▼左右パネルの比率 */
    grid-template-columns: max(480px, 38vw) auto;
}
/* ▼左側メニュー */
.left-panel {
    width: 100%;
    position: relative;
    background-color: #fff;
}

/* ▼右側メニュー */
.right-panel {
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 12.6% auto;
    /* overflow-x: clip; */
}
/* 右側メニュー内のヘッダー */
.logo-menu {
    display: flex;
    justify-content:space-around;
    align-items: center;
}

.logo-menu h1 {
    display: grid;
    place-items: center;
    padding-left: 2vw;
}
/* ▼和名ロゴ */
.logo-menu h1 img {
    width: max(170px, 13vw);
    min-width: 130px;
}

/*---  メガメニュー  ---*/
.header-list {
    display: flex;
    justify-content: center;
    position: relative;
}
.header-item {
    position: relative;
    transition: background-color .3s;
    border-radius: 3px;
}
.header-item a {
    color: #111;
    padding: 20px 10px;
    font-size: clamp(0.375rem, 0.194rem + 0.85vw, 0.875rem);
}
.header-item a:hover {
    color:#186AB5;
    font-weight: 700;
}
.header-item.hovering > a {
    color:#186AB5;
    font-weight: 700;
}
.megaMenu {
  background-color: rgba(0,0,0,0.8);
  color:#f0f0f0;
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
  position: absolute;
  top: 45px;
  right: 0;
  margin: auto;
  border-radius: 2px;
  box-shadow: 4px 9px 16px -5px #272727;
  z-index: 50;
}
.m_menu1 {
  width: 480px;
  left: -250px;
}
.m_menu2 {
  width: 480px;  
  left: -320px;
}
.m_menu3 {
  width: 480px;
  left: -360px;
}
.megaMenu a {
    padding: 0;
    font-size: .95rem;
}

.mm_double {
    display: grid;
    grid-template-columns: 30% 70%;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    margin: 20px 30px;
    border-top:1px solid #e0e0e0;
}
.megaMenu-title {
    position: relative;
}
.megaMenu-title p {
    margin: 8px 7px;
}
.megaMenu-item ul li {
    padding: 7px 8px 8px 10px;
    border-bottom:1px solid #e0e0e0;
    position: relative;
}
.megaMenu-item a {
    color:#f0f0f0;
}
.megaMenu-item a:hover {
    color:#111;
}
.megaMenu-item ul li::after {
  content: "";
  position: absolute; 
  right: 12px; 
  top: 40%; 
  line-height: 1;
  width: .6em;
  height: .6em;
  border: 0.2em solid #f0f0f0;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(-25%) rotate(45deg);
}
.megaMenu-item-img {
    width: 85%;
    margin: 10px 1px 10px 7px;
}
/*
.megaMenu-item ul li {
    line-height: 1.5em;
    margin-bottom: .5em;
}
.megaMenu-item ul li:before {
    content: '\f054';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color:#ccc;
    margin-right: .5em;
}
.megaMenu-item ul li a:hover {
    border-bottom: none!important;
    background-color: #e0e0e0;
}*/
.megaMenu-item ul li:hover {
    background-color: rgba(255,255,255,0.5);
}
.megaMenu-item ul li a:hover {
    color:#111;
}
.search-panel {
  position: absolute;
  top: -20px; /* アイコンと垂直に合わせる */
  right: calc(5% + 10px); /* アイコンの左側に配置（10px空ける） */
  width: 250px;
  height: 56px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  z-index: 1000;
  padding: 1em;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
}

.search-panel.open {
    opacity: 1;
    visibility: visible;
}

.search-icon {
    position: relative;
    cursor: pointer;
    border: none;
    background-color: transparent;
    width:40px;
}
.search-icon img{
    width:20px;
}


/*----------*/
/* ▼PC右側のグリッドメニュー */
.button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(7, 1fr);
    column-gap: 0.195vw;
    row-gap: 0.195vw;
    overflow-x: hidden;
}
.grid-button {
    background: white;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s;
}
.grid-button-n {
    background: white;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s;
}
.btn1 {
    background: #485361;
    color: #fff;
}
.btn1-ir {
    background: #0E4294;
    color: #fff;
}
.btn2 {
    background: #ADBDC3;
}
.btn3 {
    background: #C6D6E1;
}
.btn4 {
    background: #A0262B;
    color: #fff;
    padding-left: 19%; /* アイコンをbeforeで表示するため左アケ */
    position: relative;
}
.btn5 {
    background: #A0262B;
    color: #fff;
    padding-left: 20%; /* アイコンをbeforeで表示するため左アケ */
    position: relative;
}
/*.btn5 {
    background: #231815;
    color: #fff;
    text-align: center;
    transition: background-color 0.2s;
}*/
.btn5,
.btn6,
.btn7 {
    background: #231815;
    color: #fff;
}

/* アイコン画像の設定 */
.shopbtn::before,
.cataroguebtn::before,
.moviebtn::before,
.btn5::before {
    position: absolute;
    content: "";
    display: block;
    width: 4.2vh;
    height: 4.2vh;
    top: 3.8vh;
    left: 27%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}
/* カートアイコン */
.shopbtn::before {
    background-image:url("../img/top_1shop_icon.svg");
}
/* カタログアイコン */
.cataroguebtn::before {
    left: 17.5%;
    background-image: url(../img/top_2catarogue_icon.svg);
}
/* ムービーアイコン */
.moviebtn::before {
    top: 4vh;
    left: 26%;
    background-image: url(../img/top_3movie_icon.svg);
}
/* よくある質問アイコン */
.btn5::before {
    width: 1.8em;
    height: 1.8em;
    top: 5vh;
    left: 21%;
    background-image: url(../img/top_4faq_icon.svg);
}

.sler_link {
    width: 70%;
    margin: 10% auto;
}
.bottom_menu {
    display: grid;
    place-items: center;
    height: 100%;
    background: #231815;
    color: #B3B3B3;
}
/* ▼右下のマス（サイトのご利用について等） */
.inner {
    margin: 0 auto;
    font-weight: 500;
    font-size: 0.9em;
    line-height: 1.5em;
    letter-spacing: 0.045em;
}
.inner p {
    margin-top: 0.8em;
    font-size: 0.6em;
    font-weight: 300;
}
.grid-button h3 {
    height: 100%;
    display: grid;
    place-items: center;
    font-weight: 600;
    /* ▼画面幅340pxで文字8px、画面幅1280pxで文字16px */
    font-size: clamp(0.5rem, 0.319rem + 0.85vw, 1rem);
    letter-spacing: 0.02em;
    line-height: 1.3em;
}
.grid-button-n h3 {
    height: 100%;
    display: grid;
    place-items: center;
    font-weight: 600;
    /* ▼画面幅340pxで文字8px、画面幅1280pxで文字16px */
    font-size: clamp(0.5rem, 0.319rem + 0.85vw, 1rem);
    letter-spacing: 0.02em;
    line-height: 1.3em;
}
/* ▼製品メニューの左右border（シャドウ利用） */
.productA, .productB {
    box-shadow: 10px 0px 0px #6E9C9F;
}
.productD, .productE {
    box-shadow: 10px 0px 0px #6E9C9F;
}
/* ▼製品メニューの中間border（before利用） */
.productA, .productB, .productC {
    position: relative;
}
.productA::before,
.productB::before,
.productC::before {
    position: absolute;
    content: "";
    display: block;
    width: 120%;
    height: 0.195vw;
    bottom: -0.195vw;
    background: #6E9C9F;
}
/* ▼6製品のボタン：ホバー時に文字を白くする */
.productA:hover, .productA.active, .bg10,
.productB:hover, .productB.active, .bg11,
.productC:hover, .productC.active, .bg12,
.productD:hover, .productD.active, .bg13,
.productE:hover, .productE.active, .bg14,
.productF:hover, .productF.active, .bg15 {
    color: #fff;
}

/* ▼6製品のボタン：ホバーとクリック時の色 */
.productA:hover, .productA.active,
.p10, .bg10 {
    background: #00B4AE;
}
.productB:hover, .productB.active,
.p11, .bg11 {
    background: #13A7D5;
}
.productC:hover, .productC.active,
.p12, .bg12 {
    background: #FB9116;
}
.productD:hover, .productD.active,
.p13, .bg13 {
    background: #54B92A;
}
.productE:hover, .productE.active,
.p14, .bg14 {
    background: #9572C5;
}
.productF:hover, .productF.active,
.p15, .bg15 {
    background: #8E8E8E;
}

/* ▼6製品のページ */
.page-content {
    height: 100vh;
    overflow-y: scroll;
    padding-bottom: 58px;
}
/* ▼製品メニュー 左端の画像 */
.page-content h2 {
    width: max(300px, 60%);
    margin: 0 auto 8%;
    padding: 5%;
}
.page-content h4 {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    /* ▼画面幅340pxで文字22px、画面幅1280pxで文字32px */
    font-size: clamp(1.375rem, 1.149rem + 1.06vw, 2rem);
    letter-spacing: 0.07em;
    text-align: center;
}
.page-content ul {
    width: 94.5%;
    margin: 4% 0 auto auto; /* エリア内で右寄せ */
    background: #fff;
    border-radius: 1.5em 0 0 1.5em;
}
.page-content ul li {
    display: grid;
    grid-template-columns: 81% auto;
    grid-template-rows: 100%;
}
.page-content ul li > a {
    display: grid;
    grid-template-columns: 27% 28% auto;
}
.p10 ul li:not(:last-child) {
    border-bottom: 0.19vw solid #00B4AE;
}
.p11 ul li:not(:last-child) {
    border-bottom: 0.19vw solid #13A7D5;
}
.p12 ul li:not(:last-child) {
    border-bottom: 0.19vw solid #FB9116;
}
.p13 ul li:not(:last-child) {
    border-bottom: 0.19vw solid #54B92A;
}
.p14 ul li:not(:last-child) {
    border-bottom: 0.19vw solid #9572C5;
}
.p15 ul li:not(:last-child) {
    border-bottom: 0.19vw solid #8E8E8E;
}
/* ▼圧力センサ 製品リスト：表示をつなげる */
.p12 ul li:nth-child(1) {
    border-bottom: 0;
}
.bg12 {
    border-top: 1px solid #000;
}

/* ▼製品画像 */
.page-content ul li p {
    transform: scale(0.87);
    margin: auto 0.8% auto 7.5%;
    padding-block: 1.5%;
}
/* ▼製品型番（英字） */
.page-content h6 {
    width: fit-content;
    height: min-content;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    /* ▼画面幅340pxで文字19px、画面幅1280pxで文字28px */
    font-size: clamp(1.188rem, 0.984rem + 0.96vw, 1.75rem);
    line-height: 0.85em;
    letter-spacing: 0.017em;
    display: flex;
    flex-direction: column;
    margin: auto auto auto 0;
    padding: 0.3em 0.2em 0.3em 0;
}
.page-content h6 span {
    font-size: 0.425em;
    line-height: 0.9em;
}
/* ▼製品名（日本語） */
.page-content h5 {
    display: flex;
    place-items: center;
    padding: 0.7em 0.5em 0.7em 0.9em;
    /* ▼画面幅340pxで文字10.5px、画面幅1280pxで文字14px */
    font-size: clamp(0.656rem, 0.577rem + 0.37vw, 0.875rem);
    font-weight: 600;
    line-height: 1.21em;
}
.bg10, .bg11, .bg12,
.bg13, .bg14, .bg15 {
    width: 100%;
    height: 100%;
    /* ▼2つのボタンをエリア内で左寄せ */
    display: flex;
    justify-content: start;
    /* ▼区切りの白線太さを設定 */
    border-top: 0.19vw solid #fff;
}
/* 圧力センサ頁：セルが結合したように見せる */
.p12 .topnoline {
    border-top: 0.19vw solid #FB9116;
    position: relative;
}
.line2, .line5 {
    position: absolute;
}
.line2 {
    bottom: 2.5em;
}
.line5 {
    bottom: 6.2em;
}
/* ▼製品listはじめの行 */
.first {
    border-radius: 1.5em 0 0 0;
}
/* ▼製品list最後の行 */
.end, .bottom {
    border-bottom: 0.19vw solid #fff;
}
.end {
    border-radius: 0 0 0 1.5em;
}
.btnbox {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10%;
}
/* ▼PDFとCADのボタン */
.btnbox a {
    font-size: 30%;
    height: max(28px, 2.5vw);
    width: max(28px, 2.5vw);
    background: #231815;
    color: #fff;
    /* ▼文字を中央配置 */
    display: grid;
    place-items: center;
    padding-bottom: 3%;
}
.btnbox a img {
    width: 56%;
    padding-top: 5%;
}

/* ▼旧製品のボタン */
.previous {
    display: block;
    width: fit-content;
    background: #fff;
    margin: 1.6em 1.55em 0 auto;
    padding: 0.8em 0.8em 0.9em 1.42em;
    border-radius: 2em;
    /* ▼画面幅340pxで文字10.5px、画面幅1280pxで文字14px（日本語製品名と同サイズ）*/
    font-size: clamp(0.656rem, 0.577rem + 0.37vw, 0.875rem);
    font-weight: 700;
}
/* ▼旧製品のボタン 文字色 */
.p10 .previous {
    color: #00B4AE;
}
.p11 .previous {
    color: #13A7D5;
}
.p12 .previous {
    color: #FB9116;
}
.p13 .previous {
    color: #54B92A;
}
.p14 .previous {
    color: #9572C5;
}
.p15 .previous {
    color: #8E8E8E;
}


/*---　0603 add  ---*/
.fade-wrapper {
    transition: opacity 0.3s;
}
.fade-wrapper.fade-out {
    opacity: 0;
}
.page-content {
    display: none;
}
.page-content.active {
    display: block;
}
.news-overlay {
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 90%;
    height:auto;
    min-height: 150px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 100;
    padding: 20px 20px;
    font-size: 14px;
    border-radius: 4px;
}


.news_head {
    display: flex;
    justify-content:space-between;
    border-bottom: 1px solid #ccc;
}
.news_head botton {
    border:none;
}
.news_head i {
    color:#666;
    font-size:20px;
}
.news_head i:hover {
    color:#e0e0e0;
}
.news-overlay h4 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 16px;
}
.news-overlay ul {
    padding-left: 0;
    margin: 0;
}
.news-overlay li {
    margin-bottom: 6px;
    text-indent: -2.8em;
    padding-left: 2.8em;
}
.bottom_menu ul li {
    text-align: left;
}
      
/*---- スライダー  ----*/   
.txt_white {
    color:#fff!important;
}
.slide_content {
  padding-bottom: 0!important;
}
.carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
 /* margin-top: 20px;*/
  height: 100%;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%;
  height: 100%;
}

.slide {
  width: 33.3333%;
  box-sizing: border-box;
}
.slide_bg {
  background-color: #000;
}
.slide_img {
    max-width:35%;
    margin: 20px 0 0 60%;
} 
.carousel-indicators {
  position: absolute;
  bottom: 34%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 30px;
  height: 10px;
  background-color: #ccc;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.indicator.active {
  background-color: #f00;
}

.slide {
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
 /* border-radius: 8px;*/
}

.slide-overlay {
  position: absolute;
  top: 1%;
  right: 5px;
  color: #111;
/*background: rgba(0, 0, 0, 0.6);*/
  padding: 15px 20px;
/*  border-radius: 8px;*/
  max-width: 100%;
}
.slide-text_box {
  margin-left:30% ;
  color: #111;
/*background: rgba(0, 0, 0, 0.6);*/
  padding: 15px 5px 15px 20px;
/*  border-radius: 8px;*/
  max-width: 80%;
  text-align: right;
}

.slide-overlay h4 {
  margin: 0 0 5px;
  font-size: 1.4em;
  padding: 0;
  width:100%;
  text-align: right;
}

.slide-overlay p {
  margin: 0 0 10px;
  font-size: 1em;
}
.slide-btn {
  display: inline-block;
  padding: 2px 12px 4px;
/*  background: #ff9800;*/
  color: #f00;
  border:2px solid #f00;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  transition: background 0.3s;
}

.slide-btn:hover {
  background: #FFBCBC;
} 

@media (min-width: 820.1px) {
.container {
    min-width: 980px;
    }
.m_logo-menu, .m_top-panel,.m_bottom-panel {
  display: none;     
}
footer {
  display: none;     
}
}
@media (max-width: 820px) {
.carousel-indicators {
  bottom: 20px;
}
.container {
  display: grid;
  grid-template-columns: auto;
  height: auto;
}
.logo-menu {
  display: none;
}
.right-panel {
  display: none;
}
.m_top-panel {
  order: 1;
}
.m_logo-menu {
  display: flex; 
  justify-content: space-between;        
}
.m_logo {
  width: 60%;
  padding: 10px 15px;
}
.m_logo img {
  width: 100%;        
}
.m_top-panel .button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
.slide-overlay {
  font-size:80%;
}  
.m_top-panel .grid-button {
  height: 40px;
}  
.productA, .productB, .productC {
    border-top: 1px solid #6E9C9F;
} 
.left-panel {
  order: 2;
 /* height: 70%;*/
}
.m_bottom-panel {
  order: 3;
}
.m_bottom-panel .button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: repeat(6, 1fr);
  grid-column-gap: 1px;
  grid-row-gap: 1px;
}   
.m_bottom-panel .grid-button {
  height: 40px;
}  
.button-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}
.m_bottom-panel .button5-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  grid-column-gap: 1px;
  grid-row-gap: 1px;
}  
.m_bottom-panel .button5-grid .grid-button {
  height: 80px;
}     

/* アイコン画像の設定 */
.shopbtn::before,
.cataroguebtn::before,
.moviebtn::before {
    width: 2.0vh;
    height: 2.0vh;
    top: 0.7vh;
    left: 37%;
}
/* カートアイコン */
.shopbtn::before {

}
/* カタログアイコン */
.cataroguebtn::before {
    left: 32.5%;
}
/* ムービーアイコン */
.moviebtn::before {
    top: 0.8vh;
    left: 37%;
}

/* ▼右下のマス（サイトのご利用について等） */
.inner {
    font-size: 0.6em;
}
.inner li:first-child {
    margin-bottom: 1.2em;
}
    
footer {
  padding: 10px;
  background-color: #000;
  color:#fff;
  text-align: center;
  height: 40px;
  font-size: 12px;
}
.news-overlay {
    bottm: 8%;
    left: 5%;
}
.page-content {
    height: auto;
}
} 
@media (max-width: 540px) {

.slide-overlay {
  top: 0;
  padding: 10px 20px;    
}  
.page-content h2 {
    margin: 0 auto 0;
}
.page-content ul {
    width: 96%;
    margin: 4% auto auto 1%;    
}
    
.btnbox a {
    font-size: 70%;
    height: max(35px, 2.8vh);
    width: max(35px, 2.8vw);
}
.news-overlay {
    width:90%;
    position: fixed;
    top: 48%;
    bottom:auto;
    left:auto;
    right: 5%;
    padding: 10px 20px;
    font-size: 13px;
}
.news-overlay ul li:last-child {
    display: none;   
}    
/* アイコン画像の設定 */
.shopbtn::before,
.cataroguebtn::before,
.moviebtn::before {
    width: 2.2vh;
    height: 2.2vh;
    top: 1.8vh;
    left: 27%;
}
/* カートアイコン */
.shopbtn::before {

}
/* カタログアイコン */
.cataroguebtn::before {
    left: 17.5%;
}
/* ムービーアイコン */
.moviebtn::before {
    top: 1.8vh;
    left: 26%;
}
    
}
@media (max-width: 340px) {
    
}

/* Mobile Hamburger */
/* ボタン基本 */
.menu-btn {
  position: relative;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top:1px;
}

/* 丸の枠線（最初は非表示） */
.menu-btn::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid black;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Xの時だけ丸表示 */
.menu-btn.open::before {
  opacity: 1;
}

/* 線の基本 */
.menu-btn span {
  position: absolute;
  width: 25px;
  height: 3px;
  background: black;
  transition: all 0.3s ease;
}

/* 3本線の位置 */
.menu-btn span:nth-child(1) {
  transform: translateY(-8px);
}

.menu-btn span:nth-child(2) {
  transform: translateY(0);
}

.menu-btn span:nth-child(3) {
  transform: translateY(8px);
}

/* Xの状態 */
.menu-btn.open span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* mobile dropdown Menu */
.mobile_Menu {
  width: 350px;
  margin: 5px auto;
}
.mobile_Menu > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
}

.title {
  font-family: 'Pacifico';
  font-weight: norma;
  font-size: 40px;
  text-align: center;
  line-height: 1.4;
  color: #C0392B;
}

.dropdown {
  position: relative;
}
.dropdown a {
  text-decoration: none;
}
.dropdown [data-toggle="dropdown"] {
  display: block;
  color: white;
  background: #4B4B4B;/*#C0392B*/
  -moz-box-shadow: 0 1px 0 #d65548 inset, 0 -1px 0 #962d22 inset;
  -webkit-box-shadow: 0 1px 0 #d65548 inset, 0 -1px 0 #962d22 inset;
  box-shadow: 0 1px 0 #d65548 inset, 0 -1px 0 #962d22 inset;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
  padding: 10px;
}
.dropdown [data-toggle="dropdown"]:hover {
  background: #cd3d2e;
}
.dropdown [data-toggle="dropdown"]:before {
  position: absolute;
  display: block;
  content: '\25BC';
  font-size: 0.7em;
  color: #fff;
  top: 13px;
  right: 10px;
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -moz-transition: -moz-transform 0.6s;
  -o-transition: -o-transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
}
.dropdown:first-child [data-toggle="dropdown"]:before {
    display: none;
}
.dropdown > .dropdown-menu {
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -moz-transform-origin: 50% 0%;
  -ms-transform-origin: 50% 0%;
  -webkit-transform-origin: 50% 0%;
  transform-origin: 50% 0%;
  -moz-transition: max-height 0.6s ease-out;
  -o-transition: max-height 0.6s ease-out;
  -webkit-transition: max-height 0.6s ease-out;
  transition: max-height 0.6s ease-out;
  animation: hideAnimation 0.4s ease-out;
  -moz-animation: hideAnimation 0.4s ease-out;
  -webkit-animation: hideAnimation 0.4s ease-out;
}
.dropdown > .dropdown-menu li {
  padding: 0;
}
.dropdown > .dropdown-menu li a {
  display: block;
  color: #6f6f6f;
  background: #EEE;
  -moz-box-shadow: 0 1px 0 white inset, 0 -1px 0 #d5d5d5 inset;
  -webkit-box-shadow: 0 1px 0 white inset, 0 -1px 0 #d5d5d5 inset;
  box-shadow: 0 1px 0 white inset, 0 -1px 0 #d5d5d5 inset;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.3);
  padding: 10px 10px;
}
.dropdown > .dropdown-menu li a:hover {
  background: #f6f6f6;
}
.dropdown > input[type="checkbox"] {
  opacity: 0;
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.dropdown > input[type="checkbox"]:checked ~ .dropdown-menu {
  max-height: 9999px;
  display: block;
  -moz-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
  animation: showAnimation 0.5s ease-in-out;
  -moz-animation: showAnimation 0.5s ease-in-out;
  -webkit-animation: showAnimation 0.5s ease-in-out;
  -moz-transition: max-height 2s ease-in-out;
  -o-transition: max-height 2s ease-in-out;
  -webkit-transition: max-height 2s ease-in-out;
  transition: max-height 2s ease-in-out;
}
.dropdown > input[type="checkbox"]:checked + a[data-toggle="dropdown"]:before {
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
  -moz-transition: -moz-transform 0.6s;
  -o-transition: -o-transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
}

@keyframes showAnimation {
  0% {
    -moz-transform: scaleY(0.1);
    -ms-transform: scaleY(0.1);
    -webkit-transform: scaleY(0.1);
    transform: scaleY(0.1);
  }
  40% {
    -moz-transform: scaleY(1.04);
    -ms-transform: scaleY(1.04);
    -webkit-transform: scaleY(1.04);
    transform: scaleY(1.04);
  }
  60% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.04);
    -ms-transform: scaleY(1.04);
    -webkit-transform: scaleY(1.04);
    transform: scaleY(1.04);
  }
  100% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.02);
    -ms-transform: scaleY(1.02);
    -webkit-transform: scaleY(1.02);
    transform: scaleY(1.02);
  }
  100% {
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}
@-moz-keyframes showAnimation {
  0% {
    -moz-transform: scaleY(0.1);
    -ms-transform: scaleY(0.1);
    -webkit-transform: scaleY(0.1);
    transform: scaleY(0.1);
  }
  40% {
    -moz-transform: scaleY(1.04);
    -ms-transform: scaleY(1.04);
    -webkit-transform: scaleY(1.04);
    transform: scaleY(1.04);
  }
  60% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.04);
    -ms-transform: scaleY(1.04);
    -webkit-transform: scaleY(1.04);
    transform: scaleY(1.04);
  }
  100% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.02);
    -ms-transform: scaleY(1.02);
    -webkit-transform: scaleY(1.02);
    transform: scaleY(1.02);
  }
  100% {
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}
@-webkit-keyframes showAnimation {
  0% {
    -moz-transform: scaleY(0.1);
    -ms-transform: scaleY(0.1);
    -webkit-transform: scaleY(0.1);
    transform: scaleY(0.1);
  }
  40% {
    -moz-transform: scaleY(1.04);
    -ms-transform: scaleY(1.04);
    -webkit-transform: scaleY(1.04);
    transform: scaleY(1.04);
  }
  60% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.04);
    -ms-transform: scaleY(1.04);
    -webkit-transform: scaleY(1.04);
    transform: scaleY(1.04);
  }
  100% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.02);
    -ms-transform: scaleY(1.02);
    -webkit-transform: scaleY(1.02);
    transform: scaleY(1.02);
  }
  100% {
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}
@keyframes hideAnimation {
  0% {
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  60% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.02);
    -ms-transform: scaleY(1.02);
    -webkit-transform: scaleY(1.02);
    transform: scaleY(1.02);
  }
  100% {
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
}
@-moz-keyframes hideAnimation {
  0% {
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  60% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.02);
    -ms-transform: scaleY(1.02);
    -webkit-transform: scaleY(1.02);
    transform: scaleY(1.02);
  }
  100% {
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
}
@-webkit-keyframes hideAnimation {
  0% {
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  60% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.02);
    -ms-transform: scaleY(1.02);
    -webkit-transform: scaleY(1.02);
    transform: scaleY(1.02);
  }
  100% {
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
}
.m_search {
    display: grid;
    grid-template-columns: auto 30px; 
    padding: 5px 5%;
    background: #4B4B4B;

}
.search_area {
    background-color: #fff;
    border-radius: 3px;
}
.search_btn {
    background-color: #aaa;
    border-radius: 3px;  
    padding: 3px;
}
.m_search img {
    width: 100%;
}

/* メニューの初期状態（非表示） */
.mobile_Menu {
  position: fixed;
  top: 48px; /* ヘッダーの高さに合わせて調整 */
  left: 0;
  width: 100%;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 500; /* 必要に応じて調整 */
}

/* メニューが開いた状態 */
.mobile_Menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
