

@charset "UTF-8";
@-ms-viewport {
    width: device-width;
}



/* 上部ナビゲーション スマホ時*/
/* 上段ナビ全体設定 foundation 上書き修正 */
.title-bar {
    background: rgba(255,255,255,0.8);
    color: var(--base-red);
    position: fixed;
    display: block;
    top:0;
    left:0;
    width: 100%;
    height: 65px;
    overflow: hidden;
    padding: 0;
    z-index: 9999;
}
.title-bar a {
    color: var(--text-red);
    display: block;
    margin-left: 1rem;
    position: relative;
    overflow: hidden;
}
.title-bar a:hover {
    color: var(--hover-red);
}
.logo-pc h1,.title-bar h1,.title-bar h2 {
    font-family: "FOT-グレコ Std B";
}

/* 上部ナビゲーション 左部分  */
.title-bar-left {
    display: block;
    height: 65px;
    float: left;
    padding: 0rem 0rem;
}
/* sp 3bar-menu color  */
.menu-icon {
    display: block;
    float:left;
}
.menu-icon a {
    display: block;
    padding-top: 1rem;
}
.menu-icon::after {
    background: var(--base-red);
    box-shadow: 0 7px 0 var(--base-red), 0 14px 0 var(--base-red);
    margin: 0 0.5rem;
}

.title-bar aside img {
    display: block;
    height: 50px;
    float: left;
    margin: 2.5px 0px;
}
.title-bar h1 {
    display: inline-block;
    font-size: 1.1rem;
    font-weight:bold;
    line-height: 1.4;
    margin: 0rem 0rem 0.3rem 0rem;
    word-wrap: break-word;
}
.title-bar h2 {
    display:inline-block;
    font-size: 0.8rem;
    font-weight:bold;
    line-height: 1.2;
    margin: 0.5rem 0rem 0rem 0rem;
}
.title-bar .menu-icon {
    margin-top: 23px;
}

li.ss-title > a {
    border-bottom: dotted 1px #fff;
    width: 210px;
}

.title-bar-right {
    display: flex;
    float: right;
    margin-right: 10px;
}
.login-bottom a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 10px 8px 0 0;
  border: 1px solid var(--base-red);
  border-radius: 7px;
  background: var(--base-red);
  color: rgb(255, 255, 255);
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.login-bottom a:hover,
.login-btn a:focus {
  color: rgb(255, 255, 255);
  text-decoration: none;
}
.login-bottom a svg,
.login-bottom svg circle,
.login-bottom svg path {
  fill: #fff;
}
.login-bottom a svg {
 display: block;
  margin: 0;
  flex-shrink: 0;
}
.login-bottom a span {
   display: none;
}


/* サイドナビゲーション */

/* foundation fix */
.position-left {
  width: 270px;
}
/*=============*/

ul.side-menu {
    padding-top: 1rem;
    list-style: none;
}
ul.side-menu ul {
    list-style: none;
}
ul.side-menu li {
    padding: 0.5rem 0rem;
}
ul.side-menu li a {
    display: block;
    color: #fff;
    line-height: 1.2;
}
ul.side-menu li a span {
    color: rgba(255,255,255,0.8);
}
ul.side-menu li i {
    font-size: 1.5em;
}
/*  off canvas  */
.off-canvas {
    background: var(--base-blue);
}

.off-canvas-content {
    background: #fff;
}

/* PC時メニュー */
.top-bar {
    display: none;
}

/*サイトサーチ*/
/* 虫眼鏡ボタン */
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 10px 8px 0 0;
  border: 1px solid var(--base-blue);
  border-radius: 7px;
  background:  var(--base-blue);
  color: rgb(255, 255, 255);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.search-btn:hover {
  background: var(--base-blue-70);
  color: #fff;
}
.search-btn.is-hidden {
  display: none;
}

/* 検索パネル：画面最上部・横幅70%・高さ自動 */
.search-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: auto;
  padding: 3rem 1.5rem 1.5rem;
  background: #fff;
  border-top: 5px solid  var(--base-blue);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  z-index: 1010;
}
.mt-site-search-form {
  position: relative;
}
.mt-site-search-form__query {
    width: 80%;
    float: left;
    display: block;
    border-radius: 5px 0px 0px 5px;
    background: #f7f7f7;
    box-shadow: inset 0px 5px 10px 0px rgba(0,0,0,0.2);
    border-bottom: 1px solid #b3b3b3;
    padding: 9px 10px 8px 10px;
    font-size: 14px;
}
.mt-site-search-form__button {
    display: block;
    padding: 0.5rem;
    font-size: 16px;
    font-weight: bold;
    height: 39px;
    color: var(--base-blue);
    background-color: #ededed;
    border-radius: 0px 5px 5px 0px;
    border:solid 1px #b3b3b3;
}
.mt-site-search-filter-directories {
  display: block;
  width: 100%;
}
[type=checkbox] {
  margin:0;
}
.search-panel.is-open {
  display: block;
  animation: searchSlide .25s ease-out;
}
@keyframes searchSlide {
  from { transform: translate(-50%, -100%); }
  to   { transform: translate(-50%, 0); }
}

/* 右上の× */
.search-panel .close-button {
  top: .5rem;
  right: 1rem;
  font-size: 2.5rem;
}
.search-panel form {
  margin: 0;
}
.search-panel .input-group {
  margin-bottom: 0;
}
.search-panel p {
  margin: 0;
  font-size: 0.8rem;
  color: #000;
  text-align: left;
}


/* =====  1000以上　タブレット〜PC　min-width 1000px, medium screens
========================================== */
@media only screen and (min-width: 1000px) { 
 .title-bar {
    display: block !important;
    padding: 0;
    background: transparent;
  }

  .title-bar-left {
    display: none;
  }

  /* 検索・ログインボタンを画面上部に固定 */
  .title-bar-right {
    position: fixed;
    top: 0;
    right: 10px;
    z-index: 1005;
    display: flex;
    align-items: flex-start;
    gap: 5px;
  }
 
    .login-bottom a {
        display: flex;
        width: auto;
        text-shadow: 0px 1px #333;
        padding: 0.5rem 1rem;
        border: solid 1px var(--hover-red);
        text-align: center;
        border-radius: 0px 0px 5px 5px;
        color: #fff;
        background-color: var(--hover-red);
        margin-top: 0;
    }
  .login-bottom a span {
   display: block;
}
/*サイトサーチ*/
/* 虫眼鏡ボタン */
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 45px;
  margin: 0px 10px 0 0;
  border-radius: 0 0 7px 7px;
}
/* 検索パネル：画面最上部・横幅70%・高さ自動 */
.search-panel {
  width: 40%;
}
 
    .top-bar {
        display: block;
        width: 100%;
        padding: 0;
        z-index: 9999;
    }
    /* flexに対応しないレガシー対応 */
    .top-bar-inner {
        display: block;
        width: 100%;
        margin: 0 auto;
        position: relative;
    }
    .top-bar > ul,.top-bar ul {
        background-color: transparent;
    }
    .top-bar,.top-bar li:hover > ul {
        background-color: rgba(255,255,255,0.7);
    }

    /* メニュー中央寄せ */
    .top-bar-waku > ul {
        padding-top: 10px;
        display: flex;
        justify-content: center;
    }
    .dropdown.menu > li > a {
        padding: 1.2rem 1rem;
        display: block;
    }
    .menu > li > a i {
        display: none;
    }
    /* 第1階層 下向き三角 */
    .dropdown.menu > li.is-dropdown-submenu-parent > a::after {   
        border-color: var(--base-blue) transparent transparent;
    }
    /* 第1階層 hover  */
    .dropdown.menu > li.is-dropdown-submenu-parent:hover {
        background-color: var(--base-blue);
    }
    .dropdown.menu > li.is-dropdown-submenu-parent:hover a {
        color: #fff;
    }
    /* ドロップダウン（第2・第3階層）背景 */
    .dropdown.menu > li.opens-right .is-dropdown-submenu,.dropdown.menu > li.opens-left .is-dropdown-submenu {
        background: var(--base-blue);
        border: solid 1px var(--base-blue);
        list-style: none;
    }
    .dropdown.menu > li.opens-right .is-dropdown-submenu a,.dropdown.menu > li.opens-left .is-dropdown-submenu a {
        color: #fff;
        padding: .7rem 1.5rem;
        line-height: 1.2;
    }
    .dropdown.menu > li.opens-right > ul,.dropdown.menu > li.opens-left > ul {
        margin: 0;
        padding: 0;
    }
    /* submenu li（padはaで作るのでliは色と太字のみ） */
    .dropdown.menu > li.opens-right > ul li.is-dropdown-submenu-item,.dropdown.menu > li.opens-left > ul li.is-dropdown-submenu-item {
        color: #fff;
        font-weight: bold;
    }
    /* submenu hover */
    .dropdown.menu > li.opens-right > ul li.is-dropdown-submenu-item:hover,.dropdown.menu > li.opens-left > ul li.is-dropdown-submenu-item:hover {
        background:rgba(255,255,255,0.7);
        color: var(--base-blue);
    }
    .dropdown.menu > li.opens-right .is-dropdown-submenu a:hover,.dropdown.menu > li.opens-left .is-dropdown-submenu a:hover {
        color: var(--base-blue);
    }
    /* 第2階層の親項目（第3階層を持つ）の右向き三角を白に */
    .dropdown.menu .is-dropdown-submenu .is-dropdown-submenu-parent > a::after {
        border-color: transparent transparent transparent #fff;
    }
    /* 第2階層の親項目 hover：背景白・文字青・三角青 */
    .dropdown.menu .is-dropdown-submenu .is-dropdown-submenu-parent > a:hover {
        background: rgba(255,255,255,0.7);
        color: var(--base-blue);
    }
    .dropdown.menu .is-dropdown-submenu .is-dropdown-submenu-parent > a:hover::after {
        border-color: transparent transparent transparent var(--base-blue);
    }
    .is-dropdown-submenu-parent.opens-right > .is-dropdown-submenu,.is-dropdown-submenu-parent.opens-left > .is-dropdown-submenu {
        right: auto;
        left: 90%;
    }

    .ue-bar {
        display: none;
    }

    .menu a {
        color: var(--base-blue);
        font-weight: bold;
    }
    .menu a:hover {
        color: var(--hover-red);
    }
    li.ss-title > a {
        border-bottom: none;
        width: auto;
    }

    /* ロゴとタイトル部分  */
    .logo-pc {
        overflow: hidden;
    }
    .logo-pc aside {
        float: left;
        height: 65px;
    }
    .logo-pc aside img {
        display: block;
        height: 60px;
        padding: 5px 0px 0px 5px;
    }
    .logo-pc a {
        display: block;
        overflow: hidden;
        color: var(--text-red);
    }
    .logo-pc a:hover {
        color: var(--hover-red);
    }
    .logo-pc h1 {
        font-size: 26px;
        line-height: 1;
        margin: 0;
        padding: 0;
        padding-top:3px;
        padding-left: 80px;
    }
    .logo-pc h2 {
        font-size: 14px;
        line-height: 1;
        margin: 0;
        padding: 0;
        padding-top:5px;
        padding-left: 80px;
    }
    .logo-pc h3 {
        font-size: 12px;
        line-height: 1;
        margin: 0;
        padding: 0;
        padding-top:3px;
        padding-left: 80px;
    }
    .logo-pc-left {
        width: 30%;
        float: left;
        margin: 10px 0 0;
        overflow: hidden;
    }
    .logo-pc-right {
        width: 70%;
        float: right;
        margin: 0;
        overflow: hidden;
        text-align: right;
    }
    .login-bottom,.left-text {
        float: right;
    }

    .left-text a {
        float: right;
        font-size: 0.9rem;
        color: #666;
        padding: 0.6rem 0rem 0.5rem 1rem;
    }
    .login-bottom a:hover {
        background-color: var(--base-red);
        text-shadow: none;
    }
    .pc-search {
        width: 210px;
        height: 55px;
        float: right;
        margin: 0rem 0rem 0rem 1rem;
        color: #000;
    }

    .search_text {
        background: #f7f7f7;
        box-shadow: inset 0px 5px 10px 0px rgba(0,0,0,0.2);
        border-bottom: 1px solid #b3b3b3;
        padding: 9px 10px 8px 10px;
        display: block;
        font-size: 14px;
        border-radius: 0px 0px 0px 5px;
        margin: 0rem 0rem 0rem 0rem;
        width: 170px;
        float: left;
        height: 42px;
    }
    .top-bar input {
        margin-right: 0rem;
        max-width: 250px;
    }
    .search_button {
        display: block;
        height: 42px;
        border-radius: 0px 0px 5px 0px;
        background: var(--base-blue);
    }
    .search_button i {
        height: 20px;
        margin-right: 0;
        padding: 0px 10px;
        color: #fff;
    }
}


/* =====  1200以上　PC　min-width 1200px, larger screens
========================================== */
@media only screen and (min-width: 1200px) {
    .top-bar-inner {
        width: 1200px;
        margin: 0 auto;
    }
}