#header #option {
    width: 535px;
}

.page-template-page-lower_en #header #option {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 300px;
}
.en #header .header-language {
    margin-right: 0;
}

#header .header-language {
    position: relative;
}
#header .header-language-trigger {
    background: #fff url(../../assets/images/common/ico_earth01.svg) no-repeat center left 12px / 16px 16px;
    background-color: #fff;
    border: 1px solid #c4c4c4;
    border-radius: 17px;
    color: #4F4F4F;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 131px;
    height: 33px;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}
#header .header-language-trigger:hover {
    background-color: #f0f0f0;
    color: #4E78BC;
}
#header .header-language-trigger::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    width: 9px;
    height: 6px;
    background: url(../../assets/images/common/ico_arrow_down01.svg) no-repeat center right / 9px 6px;
}
#header .header-language-list {
    background-color: #fff;
    border: 1px solid #c4c4c4;
    border-radius: 17px;
    padding: 17px 34px;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#header .header-language-list::before {
    content: '';
    position: absolute;
    top: -6px; /* ギャップの高さ分だけ上に */
    left: 0;
    width: 100%;
    height: 6px;
    background: transparent;
}
#header .header-language-list li {
    list-style: none;
}
#header .header-language-list li a {
    text-decoration: none;
    color: #4F4F4F;
    font-size: 13px;
    font-weight: bold;
    position: relative;
}
#header .header-language-list li a:after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #4E78BC;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: center top;
    transform-origin: center top;
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s
}
#header .header-language-list li a:hover {
    color: #4E78BC;
}
#header .header-language-list li a:hover:after {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}
@media (hover: hover) {
    #header .header-language:hover .header-language-list {
        opacity: 1;
        visibility: visible;
    }
}

#header .header-language:focus-within .header-language-list,
#header .header-language:active .header-language-list,
#header .header-language.is-open .header-language-list {
    opacity: 1;
    visibility: visible;
}

.page-template-page-lower_en #gnavi_box ul {
    position: relative;
}
.page-template-page-lower_en #gnavi_box ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: calc(100% - 4px);
    background-color: #c2d4f9;
    opacity: .5;
}
.page-template-page-lower_en #gnavi_box li {
    position: relative;
}

.page-template-page-lower_en #gnavi_box li::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: calc(100% - 4px);
    background-color: #c2d4f9;
    opacity: .5;
}

.page-template-page-lower_en #gnavi_box li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 48px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: center;
    position: relative;
}

.page-template-page-lower_en #gnavi_box li a.on {
    background-color: #0d076a;
    color: #fff;
}

.page-template-page-lower_en #gnavi_box li a.on::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -6px;
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8.7px 5px 0px 5px;
    border-color: #0d076a transparent transparent transparent;
}

.page-template-page-lower_en #gnavi_box li a.on:hover::after {
    opacity: 0;
}

.page-template-page-lower_en #gnavi_box li a span {
    position: relative;
    z-index: 2;
}

.page-template-page-lower_en #gnavi_box li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 4px);
    background-color: #c6ddfa;
    z-index: 0;
    transition: all 0.3s ease;
    opacity: 0;
}

.page-template-page-lower_en #gnavi_box li a:hover::after {
    opacity: 1;
}

.page-template-page-lower_en div#main {
    float: none;
    margin: auto;
}

.page-template-page-lower_en div#main .breadcrumbs {
    display: flex;
}

.page-template-page-lower_en div#main .breadcrumbs > span {
    float: none;
    white-space: nowrap;
}

.page-template-page-lower_en div#main .breadcrumbs > span:first-child {
    display: none;
}

.page-template-page-lower_en div#main .breadcrumbs > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-template-page-lower_en .pagetop {
    top: -39px;
}

.page-template-page-lower_en .pagetop a {
    background-color: #ededed;
    border-radius: 5px 5px 0 0;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    color: #072d8f;
    font-size: 12px;
    font-weight: bold;
    padding: 10px 10px 5px;
    text-decoration: none;
    width: fit-content;
}

.page-template-page-lower_en div.type01 {
    margin-top: 30px;
}

.page-template-page-lower_en div#wrapper1 {
    background-position: bottom;
    height: 100%;
}

.page-template-page-lower_en div#footer00 {
  height: 190px;
}

.page-template-page-lower_en div#footer01 {
  height: 142px;
}

.page-template-page-lower_en .footer_ssl {
    position: absolute;
    bottom: 10px;
    right: 0;
}
