@charset "utf-8";
/* CSS Document */
html {
    scroll-behavior: smooth;
}
/*-----------------------
     header 
------------------------*/
header {
    width: min(100%, 1020px);
    margin: 0 auto;
}
#header {
    position:sticky;
    top: 0;
    z-index:100;
}
.logo-menu {
    display: flex;
    justify-content:space-between;
    align-items:center;
    background-color: #fff;
}

.logo-menu_logo{
    display: grid;
    place-items: center;
    padding-left: 20px;
    width: 30%;
}
/* ▼和名ロゴ */
.logo-menu_logo img {
    width: max(170px, 13vw);
    min-width: 130px;
    margin: 3px 0;
}
.logo-menu_menu {
    width: auto;
}
/*---  メガメニュー  ---*/
.header-list {
    display: flex;
    justify-content: center;
    position: relative;
    list-style: none;
}
.header-item {
    position: relative;
    transition: background-color .3s;
    border-radius: 3px;
}
.header-item li {
    list-style: none;   
}
.header-item a {
    color: #111;
    padding: 20px 10px;
    font-size: clamp(0.375rem, 0.194rem + 0.85vw, 0.875rem);
    text-decoration: none;
}
.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;
  padding: 0;
  border-radius: 2px;
  box-shadow: 4px 9px 16px -5px #272727;
  z-index: 500;
}
.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;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .megaMenu {
    /* Chrome専用の上書きスタイル */
    transform: translateZ(0); /* 再描画を促進する */
    backface-visibility: hidden;
    will-change: transform;
  }
}
.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: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;
}

.breadcrumbs {
    font-size: .8em!important;
    color:#999;
    margin: 0 0 .5em 1em;
}
.breadcrumbs a {
    color:#999;
}
.breadcrumbs a:hover {
    color:#666;
}
/*border-color: currentcolor;
    border-style: solid;
    border-width: 1px 1px 0 0;
    content: "";
    display: inline-block;
    height: .4em;
    margin: .45em .45em .15em .15em;
    transform: rotate(45deg);
    width: .4em;
}
*/
/*-----------------------
     footer 
------------------------*/
footer {
    width: min(100%, 1020px);
    margin: 0 auto;
    background-color: #eeeeef;
    padding: 0 0 2em 0;
}
.bottom_menu {
    display: block;
    margin: 0 auto 2em; 
    width: fit-content;
}
.bottom_menu ul {
    list-style: none;  
    padding: 0;
}
.bottom_menu ul li {
    display: inline-block;
    padding: 0 1em;
}
.bottom_menu ul li:first-child {
    border-right: 1px solid #666;
}
.bottom_menu ul li a{
    text-decoration: none;
    color :#666;
    font-size: 14px;
}
.bottom_menu ul li a:hover{
    text-decoration: none;
    color :#000;
}
.copy_right {
    width: fit-content;
    font-size: 12px;
    text-align: center;
    display: block;
    margin: 0 auto;
    color:#666;
}
/*-----------------------
     モバイル
------------------------*/
@media (min-width: 820.1px) {
/*ontainer {
    min-width: 980px;
    }*/
.m_top-panel {
  display: none;     
}
}
@media (max-width: 820px) {
header {
    z-index:100;
}
.m_top-panel {
  position: fixed;
  top:0;
  background-color: #fff;
}
.logo-menu {
  display: none;
}
.m_logo-menu {
  display: flex; 
  justify-content: space-between;        
}
.m_logo-menu {
  display: flex; 
  justify-content: space-between;        
}
.m_logo {
  width: 50%;
  padding: 5px 15px;
}

.m_logo img {
  width: 100%;        
}
}

@media (max-width: 360px) {
.bottom_menu ul li {
    display: block;
    padding: 0 .5em;
}
.bottom_menu ul li:first-child {
    border-right: none;
}    
}
/* 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: 65px; /* ヘッダーの高さに合わせて調整 */
  left: 0;
  width: 100%;
  background: rgba(255,255,255,1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 100; /* 必要に応じて調整 */
}

/* メニューが開いた状態 */
.mobile_Menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/*-----------------------------------
           topへ戻る
-----------------------------------*/
#page-top {
  display: none; 
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 14px;
  line-height: 1;
  z-index: 600;
}
#page-top a {
  background: #666;
  text-decoration: none;
  color: #fff;
  width: 60px;
  padding: 15px 5px;
  text-align: center;
  display: block;
  border-radius: 2px;
  opacity: 0.9;
  transition: all .3s ease;
}
#page-top a:hover {
  text-decoration: none;
  opacity: .5;
}

.up_arrow {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  line-height: 1;
  width: 1em;
  height: 1em;
  border: 0.2em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(25%) rotate(-45deg);
}
