@charset "utf-8";

/* ====================================================
  ヘッダー基本
  ロゴ
  メニュー
  タブレットだけ登場する特殊ボタン
  liの長さ
  ナビの右端　色が違うli
  ナビの中の電話ボタン
==================================================== */

/* ヘッダー基本
---------------------------------------------------- */
header{
	width: 100%;
	z-index: 1000;
	margin: 0;
	top: 0;
	padding:5px 0;
	border-bottom: none;
	position: fixed;
	}
@media print, screen and (min-width: 768px) {header{padding:0;}}

.header{z-index:3 !important;}

@media only screen and (max-width: 767px) {
.header {
	background: #fff;
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);	
	}
}
@media print, screen and (min-width: 768px){
.header {
	background: rgba(255,255,255,0.7);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 0;
	position: fixed;
	width: 100%;
/*	z-index: 2;*/
	}
}

/* ロゴ
---------------------------------------------------- */
.logo {width: 180px; float: left; height: auto; padding: 0 0 5px 0;}

@media only screen and (max-width: 767px) {.logo {top: 8px;}}
@media print, screen and (min-width: 768px) {.logo{	width: 260px; padding:12px 0 0 10px;}}
@media print, screen and (min-width: 992px) {.logo{	width: 200px; padding:17px 0 0 10px;}}
@media print, screen and (min-width: 1200px) {.logo{width: 200px; padding:17px 0 0 10px;}}
@media print, screen and (min-width: 1400px) {.logo{width: 260px; padding:12px 0 0 10px;}}

/* メニュー
---------------------------------------------------- */

/* 共通 */
.menu-container {
  width: 100%;
  margin-top: 0 !important;
}

.menu-mobile {
  display: none;
  padding: 10px 0 5px 20px;
  position: relative;
}
.menu-mobile:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0c9";
  font-size: 1.5rem;
  padding: 0;
  float: right;
  position: relative;
  top: 50%;
  transform: translateY(-25%);
}

/* メニュー本体 */
.menu {
  padding-top: 0;
}

.menu > ul {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
  display: table;
}

.menu > ul:before,
.menu > ul:after {
  content: "";
  display: table;
}
.menu > ul:after {
  clear: both;
}

.menu > ul > li {
  display: table-cell;
  padding: 0;
  margin: 0;
  font-size: 100%;
  line-height: 1.4em;
}

.menu > ul > li a {
  display: block;
  padding: 10px 0;
  text-align: center;
  color: #111;
  text-decoration: none;
  position: relative;
}

.menu > ul > li a:hover {
  color: #111;
  opacity: 1;
}

.menu li.navi-on a {
  color: #11603e;
  opacity: 1;
}

/* サブメニュー */
.menu > ul > li > ul {
  display: none;
  position: absolute;
  z-index: 99;
  left: 0;
  margin: 0;
  list-style: none;
  box-sizing: border-box;
  top: 59px; /* サブメニューが出てくる位置調整 */
  width: 80%;
  background-color: #fff;
  padding: 0;
  border-radius: 0;
  border:0px;
}

.menu > ul > li > ul:before,
.menu > ul > li > ul:after {
  content: "";
  display: table;
}
.menu > ul > li > ul:after {
  clear: both;
}

.menu > ul > li > ul > li {
  float: left;
  width: 33.3%;
  margin: 0;
  padding-bottom: 0;
  list-style: none;
  background: none;
  border-bottom: 1px solid #e5e5e5;
}

.menu > ul > li > ul > li a {
  color: #333 !important;
  padding-top: 15px !important;
  padding-bottom: 0.75rem !important;
  display: block;
  text-align: center !important;
  border: 0;
  transition: none !important;
}

/* ホバー時の背景色を薄グレーに */
.menu > ul > li > ul > li a:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
  color: #333 !important;
}

/* ドロップダウン　選択中ページの背景色　*/
.menu > ul > li > ul > li .active {
  background: #eee;
}

.menu > ul > li > ul > li > ul {
  display: block;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  box-sizing: border-box;
}

.menu > ul > li > ul > li > ul:before,
.menu > ul > li > ul > li > ul:after {
  content: "";
  display: table;
}
.menu > ul > li > ul > li > ul:after {
  clear: both;
}

.menu > ul > li > ul > li > ul > li {
  float: left;
  width: 100%;
  padding: 10px 0;
  margin: 0;
  font-size: 0.8em;
}

.menu > ul > li > ul > li > ul > li a {
  border: 0;
}

.menu > ul > li > ul.normal-sub {
  width: 230px;
  left: auto;
}

.menu > ul > li > ul.normal-sub > li {
  width: 100%;
}

.menu > ul > li > ul.w100 > li {
  width: 100% !important;
}

/* マウス操作時だけフォーカスリング非表示に */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* モバイル（767px以下）
---------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .gnav {
    display: none;
    opacity: 1 !important;
    transition: none !important;
  }

  .gnav.active {
    display: block;
    opacity: 1 !important;
    transition: none !important;
  }

  .menu-container {
    margin-top: -25px !important; /* メニュー位置任意 */
    width: 100%;
  }

  .menu-mobile {
    display: block;
  }

  .menu-dropdown-icon:before {
    display: block;
  }

  .menu > ul {
    display: none;
    margin-top: 15px;
  }

  .menu > ul > li {
    display: block;
    width: 100%;
    float: none;
    font-size: 15px;
    border-bottom: 1px solid #ccc !important;
  }

  .menu > ul > li a {
    padding: 10px 5px;
    display: block;
    color: #111; /* 任意色 */
    text-align: center !important;
  }

  .menu > ul > li a:hover {
    color: #111; /* 任意色 */
    opacity: 1;
  }

  .menu > ul > li > ul > li {
    color: #333 !important;
  }

  .menu li.navi-on a {
    color: #11603e; /* 任意色 */
  }

  .menu > ul > li > ul {
    display: none;
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    opacity: 1 !important;
  }

  .menu > ul > li.active > ul {
    display: block !important;
    max-height: 500px !important;
  }

  .menu > ul > li > ul.normal-sub {
    width: 100%;
  }

  .menu > ul > li > ul > li {
    width: 50%;
    float: left;
    border-top: dashed #ccc 1px;
    background: #eee;
  }

  .menu > ul > li > ul.w100 > li {
    width: 100%;
    float: none;
  }

  .menu > ul > li > ul > li:first-child {
    margin: 0;
  }

  .menu > ul > li > ul > li > ul {
    position: relative;
  }

  .menu > ul > li > ul > li > ul > li {
    float: none;
  }

  .menu .show-on-mobile {
    display: block;
  }

  .menu > ul > li > ul > li > a {
    color: #333 !important;
    transition: none !important;
    animation: none !important;
    -webkit-animation: none !important;
  }

  .menu > ul > li > ul > li a:hover {
    color: #333;
  }

  .menu > ul > li.active > a {
    color: #333 !important;
    transition: none !important;
    animation: none !important;
  }

  .menu > ul > li.active > a,
  .menu.show-on-mobile > ul > li > a {
    color: #333 !important;
    transition: none !important;
    animation: none !important;
  }
}

/* 768px以上
---------------------------------------------------- */
@media print, screen and (min-width: 768px) {
  .menu {
    font-size: 13px;
    width: 100%;
    margin: 0 auto;
    padding: 5px 0 10px 0;
  }

  .menu > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .menu > ul > li {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
  }

  .menu > ul > li > a {
    position: relative;
  }

  /* ▼ ナビ下線アニメーション共通ベース */
  .menu > ul > li > a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: black;
    transition: width 0.3s ease;
    z-index: 1;
  }

  /* ▼ ホバー・アクティブ時に下線表示：サブメニューなし */
  .menu > ul > li:not(.has-submenu) > a:hover::before,
  .menu > ul > li:not(.has-submenu).navi-on > a::before {
    width: 100%;
  }

  /* ▼ ホバー・アクティブ時に下線表示：サブメニューあり */
  .menu > ul > li.has-submenu:hover > a::before,
  .menu > ul > li.has-submenu.navi-on > a::before {
    width: 100%;
  }

  /* ▼ アクティブ状態のリンク色（共通） */
  .menu li.navi-on a {
    color: #333;
  }

  /* ▼ サブメニュー設定 */
  .menu > ul > li > ul {
    top: 48px; /* 表示位置調整 */
  }

  .menu > ul > li > ul > li > a {
    font-size: 14px;
    transition: 0.2s !important;
  }

  .menu > ul > li > ul.dropdown-menu {
    width: 150px;
    left: -40px;
    right: auto;
  }
}


/* 992px以上
---------------------------------------------------- */
@media print, screen and (min-width: 992px) {
  .menu > ul > li a {
    padding: 20px 0 10px 0 !important;
  }
  .menu {
    font-size: 13px;
    max-width: 770px;
    margin: 0 0 0 auto;
    padding: 0px;
  }
/* サブメニュー */
  .menu > ul > li > ul {
    top: 59px; /*サブメニューが出てくる位置調整*/
  } 
  .menu > ul > li > ul.dropdown-menu {
    width: 200px; /* お好みで調整 */
    left: 0px;      /* 左に寄せる */
    right: auto;  /* 右位置の解除 */
  }    
  
}

/* 1200px以上
---------------------------------------------------- */
@media print, screen and (min-width: 1200px) {
  .menu {
    font-size: 14px;
    max-width: 900px;
  }
}

/* 1400px以上
---------------------------------------------------- */
@media print, screen and (min-width: 1400px) {
  .menu {
    max-width: 1100px;
  }

/* サブメニュー */
  .menu > ul > li > ul {
    top: 60px; /*サブメニューが出てくる位置調整*/
  }
  
}

/* タブレットだけ登場する特殊ボタン
---------------------------------------------------- */
@media print, screen and (min-width: 768px) { .headerbtn-ul {float:right; width:38%;}}
.header-right01 {float:right; display: block; width: 50%;}
.header-right02 {float:right; display: block; width: 50%;}
.header-right01 img{margin: 0 0 0 auto}
.header-right02 img{margin: 0 0 0 auto}

/* liの長さ
---------------------------------------------------- */
@media only screen and (max-width: 767px) {
	.p10-0{padding:5px 0; text-align: center; font-size: 11px;}
	
	.li001{clear: both; width:100% !important;}
	.li002{clear: both; width:49% !important; float: left !important;}
	.li003{width:49% !important; float: right !important;}
	.li004{clear: both; width:49% !important; float: left !important;}
	.li005{width:49% !important; float: right !important;}
	.li006{clear: both; width:100% !important;}
	.li007{clear: both; width:100% !important;}
	.li008{clear: both; width:100% !important;}
	.li009{clear: both; width:100% !important;}
}

@media print, screen and (min-width: 768px) {
	.li001{width:15% !important;}
	.li002{width:20% !important;}
	.li003{width:17% !important;}
	.li004{width:15% !important;}
	.li005{width:15% !important;}
	.li006{width:18% !important;}
	
	.li007{display: none !important}
	.li008{display: none !important}
}

@media print, screen and (min-width: 992px) {
	.li001{width:8% !important;}
	.li002{width:18% !important;}
	.li003{width:12% !important;}
	.li004{width:10% !important;}
	.li005{width:10% !important;}
	.li006{width:12% !important;}
	.li007{width:14% !important; display: flex !important; flex-direction: column;} 
	.li008{width:16% !important; display: flex !important; flex-direction: column;} 
	
  .li007 a,
  .nav-tel {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
    }
}

@media print, screen and (min-width: 1200px) {
	.li001{width:9% !important;}
	.li002{width:15% !important;}
	.li003{width:12% !important;}
	.li004{width:10% !important;}
	.li005{width:10% !important;}
	.li006{width:14% !important;}
}

/* ナビの右端　色が違うli
---------------------------------------------------- */
@media print, screen and (min-width: 768px) {
  .li007 {
    display: block;
    color: #fff !important;
    text-align: center;
    background: #11603e;
    width: 100%;
  }
  .li007 a {
    padding: 20px 0 !important;
    font-size: 16px;
    display: block;
    text-align: center;
    color: #fff !important;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    line-height: 20px;
    box-sizing: border-box;
    transition: color 0.3s ease;
  }
  .li007 a:link,
  .li007 a:visited {
    color: #fff !important;
    text-decoration: none !important;
    background: #11603e;
    padding: 20px 0 20px 0 !important;
  }
  .li007 a:hover,
  .li007 a:active {
    color: #8abea8 !important;
  }
}

@media print, screen and (min-width: 992px) {
  .li007 a {
    font-size: 13px;
  }
}

@media print, screen and (min-width: 1200px) {
  .li007 a {
    font-size: 14px;
  }
}

/*　ナビの中の電話ボタン
---------------------------------------------------- */
.nav-tel i {
  color: #8abea8;
  font-size: 12px;
  margin-right: 5px;
  margin-top: -3px;
  vertical-align: middle;
}

.nav-tel {
    padding: 20px 0;
    font-size: 16px;
    line-height: 20px;
    display: block !important;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    background: #001c00;
    box-sizing: border-box;
}

@media print, screen and (min-width: 992px) {
.nav-tel {
    font-size: 13px;
  }
}

@media print, screen and (min-width: 1200px) {
.nav-tel {
    font-size: 15px;
  }
}