@charset "UTF-8";
/*----------------------------------------
 header
----------------------------------------*/
/* ヘッダー */
.header_wrap {
position: fixed;
z-index: 99;
top: 0;
left: 0;
background: #fff;
box-shadow: rgba(0, 0, 0, 0.06) 0px 0px 2px, rgba(0, 0, 0, 0.04) 0px 1px 13px, rgba(0, 0, 0, 0.04) 0px 2px 2px, rgba(0, 0, 0, 0.03) 0px 8.2px 2.8px, rgba(0, 0, 0, 0.04) 0px 3px 5px;
z-index: 1000;
width: 100%;
}

.header_container {
width: 100%;
padding: 0 0 0 40px;
}

.header_block {
display: flex;
align-items: center;
justify-content: space-between;
}

/* ロゴ */
.header_logo {
height: 60px;
font-size: 28px;
font-weight: bold;
color: #1e3a8a;
text-decoration: none;
display: flex;
align-items: center;
justify-content: flex-start;
transition: color 0.3s ease;
}

.header_logo img{
height: 45px;
width: auto;
}

.header_logo:hover {
color: #3b82f6;
}

/* ナビゲーション */
.pc_nav {
display: none;
align-items: center;
gap: 30px;
}

.pc_nav_item {
position: relative;
}

.pc_nav_link {
color: #1e3a8a;
text-decoration: none;
font-size: 14px;
font-weight: bold;
transition: color 0.3s ease;
display: flex;
align-items: center;
cursor: pointer;
gap: 5px;
}

.pc_nav_link:hover {
color: #3b82f6;
}

.pc_nav_link.active {
font-weight: bold;
}

/* ドロップダウンメニュー */
.dropdown_menu {
position: absolute;
top: 100%;
left: 0;
background: #fff;
border: 1px solid #e5e7eb;
box-shadow: rgba(0, 0, 0, 0.06) 0px 0px 2px, rgba(0, 0, 0, 0.04) 0px 1px 13px, rgba(0, 0, 0, 0.04) 0px 2px 2px, rgba(0, 0, 0, 0.03) 0px 8.2px 2.8px, rgba(0, 0, 0, 0.04) 0px 3px 5px;
min-width: 200px;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.3s ease;
z-index: 1001;
}

.pc_nav_item:hover .dropdown_menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.dropdown_link {
display: block;
font-size: 14px;
padding: 12px 20px;
color: #374151;
text-decoration: none;
border-bottom: 1px solid #f3f4f6;
transition: background-color 0.3s ease;
}

.dropdown_link:last-child {
border-bottom: none;
}

.dropdown_link:hover {
background-color: #f8fafc;
color: #3b82f6;
}

/* 連絡先エリア */
.pc_nav_cta {
display: none;
align-items: center;
}

.pc_nav_info img{
height: 66px;
width: auto;
}

.nav_info_text {
font-size: 12px;
color: #344b90;
margin-bottom: 2px;
}

.nav_phone {
font-size: 20px;
font-weight: bold;
color: #1e3a8a;
text-decoration: none;
display: flex;
align-items: center;
gap: 8px;
transition: color 0.3s ease;
}

.nav_phone:hover {
color: #3b82f6;
}

.nav_cta_btn a{
color: #344b90;
background:#facc15;
padding: 10px 30px;
font-weight: bold;
font-size: 15px;
text-align: center;
transition: all 0.3s ease;
height: 66px;
display: flex;
align-items: center;
}

.nav_cta_btn:hover a{
color: #344b90;
background:#facc15;
opacity:0.8;
}

/* ハンバーガーメニュー */
.sp_menu {
display: flex;
flex-direction: column;
width: 30px;
height: 30px;
cursor: pointer;
justify-content: center;
align-items: center;
position: relative;
}

.sp_menu_line {
position: absolute;
width: 100%;
height: 3px;
background: #1e3a8a;
border-radius: 2px;
transition: all 0.3s ease;
}

/* 初期位置を固定 */
.sp_menu_line:nth-child(1) {
top: 6px;
}
.sp_menu_line:nth-child(2) {
top: 13.5px; /* 真ん中 */
}
.sp_menu_line:nth-child(3) {
top: 21px;
}

/* active時の変形 */
.sp_menu.active .sp_menu_line:nth-child(1) {
transform: rotate(45deg);
top: 13.5px;
}

.sp_menu.active .sp_menu_line:nth-child(2) {
opacity: 0;
}

.sp_menu.active .sp_menu_line:nth-child(3) {
transform: rotate(-45deg);
top: 13.5px;
}

/* モバイルメニュー */
.sp_nav {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: #fff;
border-top: 1px solid #e5e7eb;
box-shadow: rgba(0, 0, 0, 0.06) 0px 0px 2px, rgba(0, 0, 0, 0.04) 0px 1px 13px, rgba(0, 0, 0, 0.04) 0px 2px 2px, rgba(0, 0, 0, 0.03) 0px 8.2px 2.8px, rgba(0, 0, 0, 0.04) 0px 3px 5px;
opacity: 0;
visibility: hidden;
transform: translateY(-20px);
transition: all 0.3s ease;
}

.sp_nav.active {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.sp_nav_item {
border-bottom: 1px solid #f3f4f6;
}

.sp_nav_link {
display: block;
padding: 15px 20px;
color: #374151;
text-decoration: none;
transition: background-color 0.3s ease;
position: relative;
}

.sp_nav_link:hover {
background-color: #f8fafc;
color: #3b82f6;
}

.sp_nav_link.has-submenu {
display: flex;
justify-content: space-between;
align-items: center;
}

.sp_nav_link.has-submenu::after {
content: '';
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 8px solid #6b7280;
transition: transform 0.3s ease;
}

.sp_nav_link.has-submenu.active::after {
transform: rotate(180deg);
}

.sp_nav_subitem {
background: #f8fafc;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}

.sp_nav_subitem.active {
max-height: 400px;
}

.sp_dropdown_link {
padding: 12px 40px;
border-bottom: 1px solid #e5e7eb;
color: #6b7280;
text-decoration: none;
display: block;
transition: all 0.3s ease;
}

.sp_dropdown_link:last-child {
border-bottom: none;
}

.sp_dropdown_link:hover {
background: #fff;
color: #3b82f6;
}

.sp_nav_cta {
padding: 40px;
text-align: center;
border-top: 2px solid #e5e7eb;
}

.sp_nav_cta img{
margin: 10px 0;
width: 100%;
}

.mobile-phone {
font-size: 24px;
font-weight: bold;
color: #1e3a8a;
text-decoration: none;
margin-bottom: 15px;
display: block;
}

/* レスポンシブ */
@media (max-width: 1200px) {
.header_wrap {
height: 118px;
}

.pc_nav {
position: absolute;
top: 65px;
left: 0;
width: 100%;
justify-content: center;
background: #fff;
padding: 10px 40px;
}
}

@media (min-width: 768px) {
.pc_nav {
display: flex;
}

.pc_nav_cta {
display: flex;
}

.sp_menu {
display: none;
}
}

@media (max-width: 767px) {
.header_wrap {
height: auto;
}

.header_container {
padding: 12px 15px;
}

.header_logo {
font-size: 24px;
}
}

/* アイコン */
.chevron-down {
width: 16px;
height: 16px;
stroke: currentColor;
fill: none;
stroke-width: 2;
}

.phone-icon {
width: 20px;
height: 20px;
stroke: currentColor;
fill: none;
stroke-width: 2;
}