@charset "utf-8";
.global-nav {
	padding:0 6.15%;
    border-bottom: 2px solid #d0ccc9;
}



.head_navi_ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.head_navi_item {
	flex: 1; /* 追加：横幅を均等に */
    font-size: clamp(0.725rem, 1.35svw, 0.9rem);
    line-height: 1em;
    font-weight: 700;
    text-align: center;
    color: #524239;
    border-left: 2px dotted #d0ccc9;
/*     padding-left: 12px;
    padding-right: 12px; */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}
.head_navi_item:last-child {
    border-right: 2px dotted #d0ccc9;
}
.head_navi_item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.12em;
    width: 100%;
    height: 2px;
}
.head_navi_item:first-child::before {
   background-color: #77a5c7;
}
 .head_navi_item:nth-child(2)::before {
    background-color: #A8E77C;
}
 .head_navi_item:nth-child(3)::before {
    background-color: #E791A9;
}
 .head_navi_item:nth-child(4)::before {
    background-color: #EAB44A;
}
 .head_navi_item:nth-child(5)::before {
    background-color: #D72B9F;
}
/* .head_navi_item a {
    box-sizing: border-box;
    display: block;
    padding-bottom: 8px;
    position: relative;
} */
.head_navi_item a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding-bottom:8px;
}
/* .head_navi_item a:focus-visible{
    outline:3px solid #1E4F98;
    outline-offset:4px;
} */
.head_navi_item a img {
    width: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
}
.head_navi_item a:focus-visible img{
  outline:none;
}

.has-child {
  position: relative;
}

.child-menu {
    position: fixed;
	top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    padding-top: 32px;
    padding-right: 32px;
    padding-left: 32px;
    padding-bottom: 32px;
    box-shadow: 0 4px 6px hsla(0,27%,69%,0.33); /* 下方向だけにシャドウ */
    -webkit-box-shadow: 0 4px 6px hsla(0,27%,69%,0.33);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-repeat: no-repeat;
}

.has-child.is-open > .child-menu {
    opacity: 1;
    visibility: visible;
}
.has-child:hover > .child-menu,
.has-child:focus-within > .child-menu {
    opacity: 1;
    visibility: visible;
}
body.no-hover .child-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.child-menu-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.child-menu-inner.c-menu-in_flex {
	display: flex;
}


.h-navi_service_each{
    width: 31.2866%;
    margin-right: 3.07%;
    /* [disabled]margin-top: -4px; */
    background-color: #FFFFFF;
    border-radius: 10px;
    /* [disabled]display: flex; */
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* [disabled]flex-direction: column; */
}
.h-navi_service_each:last-child{
	margin-right: 0;
}
.h-navi_service_each h3{
    font-family: dnp-shuei-mgothic-std, sans-serif;
    text-align: center;
    font-size: 20px;
    line-height: 1em;
    font-weight: 600;
    color: #857260;
    margin-bottom: 16px;
    border-bottom: 2px solid #9f8c7a;
    padding-bottom: 8px;
}
.h-navi_service_each:nth-child(2) h3{
    color: #428085;
    border-bottom-color: #53a4aa;
}
.h-navi_service_each:nth-child(3) h3{
    color: #8B689C;
    border-bottom-color: #906fa1;
}
.h-navi_service_each ul{
	
}
.h-navi_service_each ul li{
    margin-bottom: 8px;
    color: #FFFFFF;
    line-height: 1.3em;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
}
.h-navi_service_each:nth-child(2) ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.h-navi_service_each:nth-child(3) ul{
	display: flex;
	flex-wrap: wrap;
/*	justify-content: center;*/
}
.h-navi_service_each:nth-child(3) ul li{
	font-size: 12px;
}

.h-navi_service_each ul li a{
    width: 100%;
    background-color: #857260;
    padding-top: 8px;
    padding-right: 6px;
    padding-left: 6px;
    padding-bottom: 8px;
    border-radius: 48px;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-navi_service_each:nth-child(2) li{
	    width: 48.46%;
	margin-right: 3.08%;
}

.h-navi_service_each:nth-child(2) li:nth-child(2n){
	margin-right: 0;
}
.h-navi_service_each:nth-child(2) li a{
	background-color: #428085;	
}
.h-navi_service_each:nth-child(3) li{
	    width: 23.84%;
	margin-right: .58%;
	margin-left: .58%;
	    min-width: 68px;
}
/*
.search_each:nth-child(3) li:nth-child(4n){
	margin-right: 0;
}
*/
.h-navi_service_each:nth-child(3) li a{
	background-color: #8B689C;
}

.child-menu-list {
    display: flex;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
    gap: 16px;
    justify-content: center;
    width: 94.61%;
}
.child-menu-list.space-around {
    /* [disabled]justify-content: space-around; */
    display: flex;
    gap: 0px;
}

.child-menu-item {
    border-bottom: 1px none #E2690E;
    font-size: clamp(0.6rem, 1.4svw, 0.9rem);
    font-weight: 600;
    flex: 1 1 16.15%; /* 横幅を均等にしつつ折り返し */
    letter-spacing: 0.1em;
}


/* 文字幅に応じる左詰めメニュー */
.child-menu-list.variable-width {
    justify-content: flex-start; /* 左詰め */
    width: auto;                 /* 必要に応じて自動幅 */
}

.child-menu-list.variable-width .child-menu-item {
    flex: 0 0 auto;              /* 幅は文字量に合わせる */
    white-space: nowrap;          /* 折り返さず横幅に応じる場合 */
}

.child-menu-item a {
    text-decoration: none;
    border-radius: 6px;
    padding-top: 16px;
    padding-right: 32px;
    padding-left: 16px;
    padding-bottom: 16px;
    border: 0.08em solid #1E4F98;
    background-image: url(../images/arrow_l_blue.svg);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px auto;
    -webkit-box-shadow: 2px 2px 0px #1E4F98;
    box-shadow: 2px 2px 0px #1E4F98;
    text-align: left;
}
.child-menu-item a::before {
    content: none;
}

#head_navi_contact {

}
#head_navi_contact .link-invert {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 0.1em solid #de2526;
    background-image: none;
    padding-left: 16px;
    border-radius: 24px;
    padding-right: 16px;
    width: 144px;
    min-width: 0px;
    text-align: center;
}

#head_navi_contact .link-invert:hover {
    border: 0.1em solid #de2526;
	
}
#hamburger_box {
    display: none;
}


/* ハンバーガーアイコン */
#hamburger {
  display: none;
}

#sp_menu {
  display: none;
}
