@charset "UTF-8";

/*---------------------------

_area

---------------------------*/
._area{
    
    }

@media (max-width: 1280px) {

}
@media (max-width: 1024px) {

}
@media (max-width: 768px) {

}
@media (max-width: 599px) {

}





/*#office .sidebar {
    width: auto;
}
#office .office_nav{
    font-size: 24px;
}
#office .office_nav ul{
    border:2px solid #020A5F;
    border-radius: 20px;
}
#office .office_nav ul li{
    padding: 5px 0;
    border-bottom: 2px solid var(--blue);
}
#office .office_nav ul li:nth-child(3){
    border-bottom: none;
}

#office .office_nav ul li a {
    position: relative;
    padding: 14px 20px;
    color: var(--blue);
    overflow: hidden;
    
}

#office .office_nav ul li a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(220deg, #020A5F 0%, #1F51C4 75%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
#office .office_nav ul li:nth-child(1) a::before {
    border-radius: 20px 20px 0 0;
}
#office .office_nav ul li:nth-child(2) a::before {
    border-radius: 0;
}
#office .office_nav ul li:nth-child(3) a::before {
    border-radius: 0 0 20px 20px;
}

#office .office_nav ul li a.active::before {
    opacity: 1;
}

#office .office_nav ul li a span {
    position: relative;
    z-index: 1;
}

#office .office_nav ul li a.active {
    color: #fff;
}*/



#office .h3_title {
    margin: 0 auto 40px;
}
#office .common_inner_1000 section {
    margin-top: 80px;
}
    

/* 下固定用スタイル */
#office .office_nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f1f3faed;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgb(0 0 0 / 15%);
    font-size: 22px;
    font-weight: 600;
}
#office .office_nav ul {
    display: flex;
    justify-content: space-around;
}
#office .office_nav ul li {
    flex: 1;
    text-align: center;
    
}

#office .office_nav ul li a {
    position: relative;
    color: var(--blue);
    overflow: hidden;
    width: 100%;
    display: block;
    padding: 10px 0;
}
#office .office_nav ul li a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(220deg, #020A5F 0%, #1F51C4 75%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
#office .office_nav ul li a span {
    position: relative;
    z-index: 1;
    
    width: 100%;
    display: block;
    border-right:1px solid #dbe0f7;
}
#office .office_nav ul li:last-child a span{
    border-right:none;
}
#office .office_nav ul li a.active::before {
    opacity: 1;
}
#office .office_nav ul li a.active {
    color: #fff;
}
#office .office_nav ul li a.active span{
    border-right:none;
}
#office .office_nav ul li a:hover {
    opacity: 1;
}

/*#office .widget + .widget {
    margin-top: 170px;
}
#office .widget--sticky {
    position: sticky;
    top: 140px;
        z-index: 1;
}
#office .common_inner_1280 section{
    margin-top:180px;
}*/





#office .sidebar {
  
}

#office .flex_outer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#office #global .flex_box .text .title{
    display: flex;
    flex-direction: column;

}

#office #global .flex_box .text .title .small_text{
    font-size: 14px;

}

#office #global .flex_box .text .title .zh:nth-of-type(n + 2) {
    margin-top: 0.5em;
}


#office #agent .flex_box .text .title{
    height: 2.6em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#office .flex_box {
    display: flex;
    width:48%;
    flex-direction: column;
    margin-bottom: 60px;
}
#office .flex_box .image{
    margin-bottom: 20px;
}
#office .flex_box .image img{
    width: 100%;
}
#office .flex_box .text{
    color:var(--blue);
    display: flex;
    height: 260px;
    flex-direction: column;
}

#office .office_item01.flex_box .text{
    height: 200px;
}


#office .office_item02.flex_box .text{
    height: 310px;
}
#office .agent_area .flex_box .text {
    width: 100%;
}
#office .flex_box .text .title{
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.2;
    border-bottom: 1px solid #142d8b;
    padding-bottom: 5px;
    font-weight: bold;
}
#office .flex_box .text .title{
    font-size: 19px;
}
#office .main_en .flex_box .text table{
    line-height: 1.5;
    margin-bottom: 20px;
}
#office .flex_box .text table td{
    padding-bottom:5px;
}
#office .flex_box .text table td.category{
    width:75px;
    vertical-align: top;
    padding-right: 10px;
}
#office .flex_box .text .link{
    
}
a.common_link{
    color: var(--blue);
    border: 1px solid var(--blue);
    margin-top: auto;
}
a.common_link:hover {
    background: linear-gradient(220deg, #020A5F 0%, #1F51C4 75%);
    color: white;
}


@media (max-width: 1024px) {
#office .common_inner_1000 section {
    margin-top: 100px;
}

#office .office_nav {
    font-size: 20px;
    }

#office .flex_box .text .title {
    font-size: 18px;
    }
#office #global .flex_box .text .title{
     
    }
}

@media (max-width: 768px) {
#office .common_inner_1000 section {
    margin-top: 80px;
}
#office section:first-child {
    margin-top: 50px;
}
#office .h3_title {
    margin: 0 auto 60px;
}
#office .office_nav ul{
    font-size: 18px;
    }
#office .office_nav ul li a {
    padding: 15px 0;
}
#office .flex_outer {
    flex-direction: column;
}
#office .flex_box .text .title {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
    }
#office #global .flex_box .text .title,
#office #agent .flex_box .text .title{
    height: auto;
    }
#office .flex_box .text {
   
    }
    
#office .flex_box .text table {
    margin-bottom: 10px;
     line-height: 1.2;  
}

#office .flex_box .text table td.category {
    width: 70px;
    }


#office .office_inner {
    display: flex;
    flex-direction: column;
    }
 #office .office_inner .main {
        width: 100%;
    }
#office .common_inner_1280 section {
    margin-top: 80px;
    }



#office .flex_box {
    margin: 0 auto 50px;
    flex-direction: column;
    width: 100%;
    }
#office .flex_box .image {
    width: 100%;
    }
#office .flex_box .text {
    width: 100%;
    }
#office .width_150 {
    width: 200px;
    }

    

}
    
@media (max-width: 599px) {
#office .flex_box .text .title {
    font-size: 16px;
    }
#office .flex_box .text {
    
    }
h3.h3_title {
    font-size: 22px;
    }
#office .flex_box .text table {
    line-height: 1.3;
}
#office .flex_box .text table td {
    padding-bottom: 10px;
}
}
 
   
    
    
    
    
    
    
    
    
/* 共通 */
.office_nav.fixed {
  position: fixed;
}

/* PC時 */
@media (min-width: 769px) {
.office_nav.fixed {
    top: 170px;
    bottom: auto;
    }
.anchor-target {
    scroll-margin-top: 160px; /* ヘッダーの高さに合わせて調整 */
    } 
}

/* SP時 */
@media (max-width: 768px) {
.office_nav.fixed {
    top: auto;
    bottom: 0;
    }
.anchor-target {
    scroll-margin-top: 100px; /* ヘッダーの高さに合わせて調整 */
    } 
}

    
 
    
    
