@charset "utf-8";
/* ローディング画面全体のスタイル */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9); /* 半透明の背景 */
  z-index: 9999; /* コンテンツより前面に表示 */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* スピナー（円形アニメーション） */
.spinner {
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top: 5px solid #134566;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* アニメーションの定義 */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*
 ヘッダー
------------------------- */
header {
    width: 100%;
    position: fixed;
    left: 0;
    top : 0;
    z-index: 2;
    background-color: #FFF;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
    }
header .wrapper_hd {
    width: 96%;
    margin: 0px auto;
    text-align: left;
    padding: 60px 0 30px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-between;
    align-items: center;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
    }
header.header_style .wrapper_hd {
    padding: 0;
    height: 110px;
}
header.header_style .img_logo {
    flex-basis: 12%;
}
header.header_style .img_logo img {
    width: 100%;
}
header nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-between;
    align-items: center;
    gap: 0 50px;
    width: 100%;
}
header nav > ul > li {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration:none;
}
header nav > ul > li > a {
    display: block;
    padding-top: 18px;
    padding-bottom: 18px;
    text-decoration:none;
    cursor: pointer;
    color: #000;
    border-bottom: 1px solid transparent;
    }  
header nav > ul > li > a:link {
	color:#000;
	text-decoration:none;
}
header nav > ul > li > a:visited {
	color:#000;
	text-decoration:none;
}
header nav > ul > li > a:hover {
	text-decoration:none;
}
header nav > ul > li > a:active {
	text-decoration:none;	
}
/* contact */
#btn_contact a {
    display: block;
    -webkit-border-radius: 9999;
    -moz-border-radius: 9999;
    border-radius: 9999px;
    padding: 20px 35px;
    border-bottom: none;
    color: #FFF;
    background-color: #eb3c00;
}
/* メニューボタン */
#btn_gnav {
    display: none;
}
@media screen and (max-width : 1500px){
header nav ul {
    gap: 0 30px;
}
}
@media screen and (max-width : 1400px){
header .img_logo {
    width: 20%;
}
header .img_logo img {
    width: 100%;
}
header nav ul {
    gap: 0 25px;
}
#btn_contact a {
    padding: 20px 23px;
    }
}
@media screen and (max-width : 1300px){
header .img_logo {
    width: 15%;
}
header nav ul {
    gap: 0 20px;
}
#btn_contact a {
    padding: 20px 20px;
    }
}
@media screen and (max-width : 1200px){
header .img_logo {
    width: 15%;
}
header nav > ul > li {
    font-size: 16px;
    }
}
@media screen and (max-width : 1100px){
header nav > ul > li {
    font-size: 15px;
    }
#btn_contact a {
    padding: 20px 15px;
    }
}
@media screen and (min-width : 1024px){
header nav > ul > li {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
header nav > ul > li > a:hover {
    color: #eb3c00;
    border-bottom: 1px solid #eb3c00;
  }
#btn_contact a:hover {
    background-color: #e85128;
}
  }
@media screen and (max-width : 1024px){
/* メニュー内をスクロールさせるためのモーダル */
.g_nav_modal {
	position: fixed !important;
    top: 80px;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	z-index: 1000 !important;
	-webkit-overflow-scrolling: touch;
    background-color: #FFF;
	}
header {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    background-color: #FFF;
    }
header .wrapper_hd {
    width: auto;
    padding: 20px 0;
    margin: 0;
    display: block;
    background-color: transparent;
    }
header .wrapper_hd.active {
    background-color: #FFF;
}
header .img_logo {
    width: auto;
    height: auto;
    padding: 10px 0 10px 5%;
}
header .img_logo img {
    width: auto;
    height: 55px;
}

header.header_style .wrapper_hd {
    height: auto;
    padding: 0px;
}
header.header_style .img_logo img {
    width: auto;
}
/*
header.header_style .wrapper_hd {
    padding: 0;
}
header.header_style .img_logo {
    width: 40%;
}
header.header_style .img_logo img {
    width: 100%;
}
header p.img_logo {
    width: 40%;
    }
*/
header nav {
    display: none;
    width: 100%;
    }
    
header nav {
    background-image: url("../img/bg_nav_smp.jpg");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 35% 100%;
    /* background-size: 35% auto;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards; */
}
    
header nav > ul {
    display: block;
    width: 55%;
    margin: 0 5% 0 40%;
}
header nav ul li {
    font-size: 16px;
    font-weight: 600;
    padding-left: 15px;
}
header nav.on > ul > li > a {
    color: #000;
    padding: 15px 0px;
    }
#btn_contact {
    margin-top: 10px;
    text-align: center;
    padding-left: 0px;
}
#btn_contact a {
    padding: 10px;
}
/* メニューボタン */
#btn_gnav {
    display: block;
    position: fixed;
    top: 40px;
    right: 5%;
}
#btn_gnav .menu-trigger,
#btn_gnav .menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}
#btn_gnav .menu-trigger {
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
    position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
#btn_gnav .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #134566;
    border-radius: 3px;
}
header.top_h #btn_gnav .menu-trigger span {
    background-color: #FFF;
}
header .on#btn_gnav .menu-trigger span {
    background-color: #134566;
}
header #btn_gnav .menu-trigger span:nth-of-type(1) {
    top: 8px;
}
header #btn_gnav .menu-trigger span:nth-of-type(2) {
    bottom: 10px;
}
header .on#btn_gnav .menu-trigger span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
}
header .on#btn_gnav .menu-trigger span:nth-of-type(2) {
    transform: translateY(0px) rotate(45deg);
}
}
@media screen and (max-width : 768px){
/* メニューボタン */
#btn_gnav {
    right: 10%;
}
}


/* 固定プルダウンメニューを押してメニューを
スクロールしたとき、本文もスクロールされるのを防ぐ
---------------------------------------------------------- */
body.no_scroll {
  overflow: visible;
	}
/*
 smart
----------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  body.no_scroll {
    overflow: hidden;
		}		
}


/* header 上書き（プロモーションエリア）
------------------------------ */
header.top_h {
    background-color: transparent;
    }
/*
header.top_h .wrapper_hd {
    padding: 20px 0;
    }
    */
header.top_h.on .wrapper_hd {
    padding: 0;
    }
header.top_h nav > ul > li {
    border-bottom: none;
    }
header.top_h nav > ul > li > a {
    color: #FFF;
    }
header.top_h nav.on > ul > li > a {
    color: #000;
    }
/*
header.top_h nav > ul > li:hover,
header.top_h nav > ul > li > a:link,
header.top_h nav > ul > li > a:visited,
header.top_h nav > ul > li > a:hover,
header.top_h nav > ul > li > a:active {
	color:#FFF;
}
*/
@media screen and (min-width : 1024px){
/*
header.top_h nav > ul > li:hover:not(#btn_contact),
header.top_h nav > ul > li:active:not(#btn_contact),
*/
header.top_h nav > ul > li > a:hover,
header.top_h nav > ul > li:hover > span {
    color: #FFF;
    border-bottom: 1px solid #FFF;
  }
header.top_h nav > ul > li > a:hover,
header.top_h nav > ul > li:hover > span {
    color: #FFF;
    border-bottom: 1px solid #FFF;
  }
header.top_h nav > ul > li#btn_contact > a:hover {
    border-bottom: none;
  }
  }
@media screen and (max-width : 1024px){
header.top_h.on .img_logo {
    /* opacity: 1; */
    visibility: visible;
}
header.top_h {
    background-color: transparent;
    }
header.top_h .wrapper_hd {
    padding: 0;
    }
}
@media screen and (max-width : 640px){
#btn_contact {
    font-size: 4vw;
    }

}
