@font-face {
    font-family: "ZenkakuGothicNew";
    src: url("/font/ZenKakuGothicNew-Regular.ttf") format("truetype");
}

body {
  margin: 0;
  font-family: "ZenkakuGothicNew", sans-serif;
  overflow-x: hidden;
}

body.english_body {
    font-family:"EB Garamond", serif !important;
}

a{
    color:#000;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
}

p {
    margin: 0;
}

.main {
    margin-top:110px;
}


/* メニューバー */
.menu-bar {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    background-color:#FFF;
    box-sizing: border-box;
    width:100%;
    transition:
        transform .35s ease,
        padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease;

    font-size:16px;
}


.menu-bar.is-scrolled {
  padding-top: 5px;
  padding-bottom: 5px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.menu {
    display: flex;
    margin-left: auto;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu a {
  position: relative;
  font-size: 17px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  padding:10px 15px;
}

.has-sub{
  flex:1;
}

/* .menu a.has-sub::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: rotate(45deg);
  position: relative;
  top: -1px;
} */

.menu-type-list {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: clamp(10px, 8vw, 200px);
    row-gap: 10px;
    display: inline-grid;
    margin-top: 10px;
}

.menu-type-dit {
    font-size: 17px;
    font-weight: bold;
    align-self: start;
}

.contact_link{
    width:130px;
    background-color:rgb(237, 125, 49);;
    color:#fff;
    text-align:center;
    border-radius:20px;
    padding:10px 20px;
}

.contact_link a{
    color:#fff;
}



/* メニューリスト */
.menu-list {
    position: fixed;
    top:100px;
    left:0px;
    width:100vw;
    background-color: #F8FCFF;
    padding:20px;

    display: flex;

    font-size:17px;

    z-index: 100;

    display:none;
    transition:top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 200px;
    gap: clamp(20px, 5vw, 10%);
}

.menu-list a {
    color: black !important;
}

.menu_list_title {
    font-size:25px;
    width: 350px;
    text-align: end;
}

.is_scrolled_menu_list {
    top:70px;
}
.menu_dit_content {
    display: flex;
    gap: clamp(10px, 7vw, 200px);
    flex: 1;
}


.menu_dit_box > .menu-dit:first-child {
    margin-top: 10px;
}

.menu-dit{
    font-size:17px;
    font-weight: bold;
    padding:0 10px 10px 10px;
}

.menu_list_title a::before {
    content: "\203A";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;

    background: #0b5fa8;
    color: #fff;

    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    padding-bottom: 3px;
    box-sizing: border-box;
}
.menu_dit_box a::before , .menu-type-list a::before{
    content: "\203A";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;

    background: #0b5fa8;
    color: #fff;

    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    padding-bottom: 3px;
    box-sizing: border-box;
}

.link_right{
    margin-top:20px;
    text-align:right;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.arrow-link-w {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.arrow-w {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: 0.3s;
}

/* 矢印の先端 */
.arrow-w::after {
    content: "";
    position: absolute;
    right: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

/* ホバーアニメーション */
.arrow-link-w:hover .arrow-w {
    width: 50px;
}

/* モバイルメニュー */

body.menu-open{
    overflow:hidden;
}

#page-wrapper{
    transition:transform .35s ease;
}

#page-wrapper.menu-open{
    transform:translateX(-250px);
}


#header_menu_bar.menu-open{
    transform:translateX(-250px);
}

.hamburger{
    width:40px;
    height:40px;
    position:relative;
    display:none;
    cursor: pointer;
}

.hamburger span{
    position:absolute;
    left:8px;
    width:24px;
    height:3px;
    background:#000;
}

.hamburger span:nth-child(1){ top:8px; }
.hamburger span:nth-child(2){ top:18px; }
.hamburger span:nth-child(3){ top:28px; }

.hamburger.active span:nth-child(1){
    top:19px;
    transform:rotate(45deg);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    top:19px;
    transform:rotate(-45deg);
}

.mm_overlay{
    position:fixed;
    inset:0;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:998;
}

.mm_overlay.active{
    opacity:1;
    visibility:visible;
}

.mobile-menu{
    position:fixed;
    top:0;
    right:-250px;
    width:250px;
    max-width:100%;
    height: 100dvh;
    background:#F8FCFF;
    z-index:999;
    transition:right .35s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    color:black !important;
}

.mobile-menu a {
    color:black !important;
}

.mobile-menu button {
    color:black !important;
}

.mobile-menu.active{
    right:0;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
}

.menu-header{
    padding:40px 10px;
}

.menu-title{
    text-align:center;
}

.menu-title h2{
    margin:0;
    font-size:32px;
}

.menu-title h3{
    margin:0;
    font-size:32px;
}
.menu-title a{
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    border : none !important;
}

.menu-item {
    opacity: 0;
    transform: translateY(-15px);
}

.menu-item.show {
    animation: menuFadeDown 0.4s ease forwards;
    animation-delay: 0.4s;
}

@keyframes menuFadeDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-title p{
    margin-top:10px;
}

.menu-close{
    width:42px;
    height:42px;
    border-radius:50%;
    border:none;
    background:#fff;
    font-size:24px;
    cursor:pointer;
}

.menu-panel{
    position:absolute;
    top:0;
    left:100%;
    width:100%;
    height:calc(100dvh);
    overflow-y:auto;
    background:#F8FCFF;
    transition:transform .35s ease;
}

.menu-panel.root{
    left:0;
}


.menu-panel{
    transition: transform 0.5s ease;
}

.menu-panel.active{
    transform: translateX(-100%);
    background:#EAF6FF;
}


.menu-panel a,
.back-btn{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    padding:24px 10px;
    border:none;
    border-bottom:1px solid #E5E5E5;
    background:none;
    text-decoration:none;
    font-size:22px;
    font-weight:700;
    box-sizing:border-box;
}

.back-btn{
    font-size:18px;
    justify-content:left;
    gap:10px;
    cursor: pointer;
}

body.english_body .back-btn{
    font-family:"EB Garamond", serif !important;
}

.back-btn::before {
    content: "";
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    
}
/* フッター */
.footer_section {
    margin: auto;
    position: relative;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-color: #074f91;
    padding:60px;
    z-index: 90;
    color:#fff;
    display: flex;
    background-position:center;
    justify-content:space-evenly;
    font-size:20px;
    overflow: hidden;

}


.footer_logo{
    width: 400px;
}
.footer_logo_img{
    width: 100%;
}


.footer-sns {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.sns-icon {
  color: #fff;
  font-size: 40px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.sns-icon:hover {
  opacity: 1;
}
.footer-copy {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 20px;
}

/* ▼ 右側リンクを2列に */
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr; /* ★ 2列 */
  gap: 8px 40px;                 /* 行間8px、列間40px */
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0; /* grid なので余白は不要 */
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copyright {
  margin-top: 100px;
}

.footer-copyright-sp {
  display: none;
}

.common_title {
    font-size: 23px;
    font-weight: 400;
    margin: 0;
    padding: 9px 0 9px;
    line-height: 1.3;
}

.common_input_text {
    width: 100%;
    height: 28px;
    padding: 0 8px;
}

.common_input_box {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2px;
    font-size: 14px;
}
.common_flg_box{
    display: flex;
    gap: 2px;
    font-size: 14px;
}

.common_display_none {
    display: none;
}

/* トップボタン */
.page_top_btn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 56px;
    height: 56px;
    border: 3px solid #005ba9;
    background: white;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    transition: .3s;
    opacity: 0;
}

.page_top_btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 3px solid #005ba9;
    border-right: 3px solid #005ba9;
    transform: translate(-50%, -30%) rotate(-45deg);
    transition: border-color .25s ease,
                transform .25s ease;
}

/* 片方矢印 */
.view-more_arrow{
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    text-decoration:none;
}

.view-more_line{
    position:relative;
    width:70px;
}

.view-more_line::after{
    content:"";
    position:absolute;
    right:12px;
    top:0;
    width:18px;
    border-top:1px solid black;
    transform:rotate(35deg) translateX(0);
    transform-origin:right top;
    transition:transform .3s ease;
}

.view-more_line::before{
    transform-origin:left;
    transform:scaleX(1);
    transition:transform .3s ease;
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:57px;
    border-top:1px solid black;
}

.view-more_arrow:hover .view-more_line::before{
    transform:scaleX(1.4);
}

.view-more_arrow:hover .view-more_line::after{
    transform: translateX(22px) rotate(35deg);
}

.view-more_white::after {
    border-top:1px solid white !important;
}

.view-more_white::before {
    border-top:1px solid white !important;
}

.view-more_gray::after {
    border-top:1px solid #777 !important;
}

.view-more_gray::before {
    border-top:1px solid #777 !important;
}

.view-more_weight::after {
    border-top:3px solid black !important;
    right:13px;
}

.view-more_weight::before {
    border-top:3px solid black !important;
}

.view-more_white_weight::after {
    border-top:3px solid white !important;
    right:13px;
}

.view-more_white_weight::before {
    border-top:3px solid white !important;
}

/* セクションヘッダー */
.section_header {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        to bottom,
        #f8fcff 0%,
        #ffffff 100%
    );
}

.section_not_txt_header {
    height: 200px;
}

/* 川の流れ① */
.section_header_river1 {
    position: absolute;
    top: -120px;
    left: -10%;

    width: 140%;
    height: 220px;

    background: rgba(120, 190, 255, 0.08);

    border-radius: 0 0 50% 50%;
    transform: rotate(-4deg);
}

/* 川の流れ② */
.section_header_river2 {
    position: absolute;
    top: -80px;
    left: 20%;

    width: 120%;
    height: 180px;

    background: rgba(120, 190, 255, 0.05);

    border-radius: 0 0 60% 40%;
    transform: rotate(3deg);
}

.section_header_content {
    position: relative;
    z-index: 10;

    height: 100%;
    margin : 0 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section_header_title {
    margin: 0;

    font-size: 56px;
    font-weight: 700;
    color: #003a82;
    padding: 20px 0;

    line-height: 1.2;
}

.section_header_subtitle {
    margin-top: 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 2.2;
}

/* サイドメニュー */
.post_side_list_box {
    max-width: 320px;
    width: 100%;
}

.post_sidebar_box {
    margin-bottom: 50px;
}

.post_sidebar_title {
    margin: 0;
    padding: 18px 15px;
    background: #005ba9;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
}

.post_sidebar_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.post_sidebar_list li {
    border-bottom: 1px solid #cfcfcf;
    padding: 0 10px;
}

.post_sidebar_list li:first-child {
    border-top: 1px solid #cfcfcf;
}

.post_sidebar_list a {
    display: block;
    padding: 18px 0;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
    transition: opacity 0.2s;
}

.post_sidebar_list a:hover {
    opacity: 0.7;
}

.post_target_row {
    background: #f5f5f5;
}

/* セクションフッター */
.section_footer_sns_area{
    background:#f5f5f5;
    padding:60px 20px;
    margin-top:50px;
}

/* 上段 */
.section_footer_area{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:80px;
}

.section_footer_btn{
    display:flex;
    align-items:center;
    justify-content:center;

    width:320px;
    height:70px;

    background:#e60012;
    color:#fff;
    text-decoration:none;

    font-size:22px;
    font-weight:bold;

    transition:.2s;
}

.section_footer_btn:hover{
    opacity:.85;
}

.section_footer_info{
    border-left:1px solid #ccc;
    padding-left:40px;
}

.company_name{
    font-weight:bold;
    margin-bottom:10px;
    font-size:20px;
}

.address{
    margin-bottom:10px;
    font-size:20px;
}

.tel{
    font-size:48px;
    color:#1d2738;
    line-height:1;
}

.tel a span{
    font-size:40px;
    font-weight: bold;
}

.tel span{
    font-size:20px;
    margin-left:10px;
}



/* クッキーポリシーボックス */
.cookie-consent-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    z-index:9998;
}

.cookie-consent-modal{
    display:flex;
    background:#fff;
    flex-direction: column;
    height:100%;
    width: 100%;
}

.cookie-consent-modal-dialog {
    display: none;
    transform:translate(-50%, -50%);
    top:50%;
    left:50%;
    box-shadow:0 10px 30px rgba(0,0,0,.3);
    z-index:9999;
    position:fixed;
    width: 575px;
    max-width:95vw;
    height:100%;
    max-height:780px;
}

.cookie-consent-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:5px 20px;
    border-bottom:1px solid #ddd;
    flex-shrink: 0;

}

.cookie-consent-logo{
    width:280px;
    max-width:80%;
}

.cookie-consent-logo img{
    display:block;
    width:100%;
    height:auto;
}

.cookie-consent-close{
    border:none;
    background:none;
    font-size:24px;
    cursor:pointer;
}

.cookie-consent-body{
    padding:10px 30px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-gutter: stable;
}

.cookie-consent-description{
    line-height:1.5;
    font-size: 12px;
}

.cookie-consent-policy{
    display:inline-block;
    margin-bottom:25px;
    color:#000;
    font-weight:bold;
    font-size: .812em;
}


.cookie-consent-actions{
    margin:20px 0;
}

.cookie-consent-title{
    font-size: 1em;
    line-height: 1.5;
    margin-bottom:10px;
    font-weight: bold;
}

.cookie-consent-category{
    border:1px solid #bdbdbd;
}

.cookie-consent-category + .cookie-consent-category{
    border-top:none;
}


.cookie-consent-category-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 20px;
    cursor: pointer;
}

.cookie-consent-category-left{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:bold;
    font-size:14px;
}

.cookie-consent-category-icon{
    font-size:20px;
}

.cookie-consent-category-body{
    padding:10px 20px;
    border-top:1px solid #ddd;
    line-height:1.8;
}

.cookie-consent-always-active{
    color:#3366cc;
    font-weight:bold;
    font-size:14px;
}

.cookie-consent-btn{
    border:none;
    padding:10px 30px;
    cursor:pointer;
    font-weight:700;
    font-size:14px;
}

.cookie-consent-btn-primary{
    background:#000;
    color:#fff;
}

.cookie-consent-btn-secondary{
    background:#000;
    color:#fff;
}

.cookie-consent-footer{
    flex-shrink: 0;
    display:flex;
    justify-content:end;
    gap:15px;
    padding:25px;
    border-top:1px solid #ddd;
}

.cookie-consent-switch{
    position:relative;
    display:inline-block;
    width:48px;
    height:26px;
}

.cookie-consent-switch input{
    display:none;
}

.cookie-consent-slider{
    position:absolute;
    inset:0;
    background:#d7d7d7;
    border-radius:30px;
    cursor:pointer;
}

.cookie-consent-slider::before{
    content:"";
    position:absolute;
    width:20px;
    height:20px;
    left:3px;
    top:3px;
    border-radius:50%;
    background:#888;
    transition:.2s;
}

.cookie-consent-switch input:checked + .cookie-consent-slider{
    background:#000;
}

.cookie-consent-switch input:checked + .cookie-consent-slider::before{
    transform:translateX(22px);
    background:#fff;
}

.cookie-consent-category-body{
    display:none;
}

.cookie-consent-category-open .cookie-consent-category-body{
    display:block;
}

@media (hover: hover) {
    .page_top_btn:hover {
        transform: translateY(-3px);
        background: #005ba9;
    }

    .page_top_btn:hover::before {
        border-color: #fff;
    }
}

@media (max-width: 1400px) {
    .menu_dit_content {
        gap: clamp(10px, 3vw, 200px);
    }
    .menu-type-list {
        column-gap: clamp(10px, 3vw, 200px);
    }
}

@media (max-width:1199.9px){
 /* ヘッダー */
    .header_item_pc {
        display: none;
    }
    .hamburger{
        display: block;
    }


    /* 英語版フッター */
    .en_footer_section {
        flex-flow: column;
        justify-content: center;
        padding:20px;
    }
    .en_footer_section .footer_logo{
        width: 300px;
    }
    .en_footer_section .footer-left, .en_footer_section .footer-right {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }
    .en_footer_section .footer-copyright {
        display: none;
    }
    .en_footer_section .footer-copyright-sp {
        display: block;
        font-size: 14px;
        margin-top: 10px;
        text-align: center;
    }
    .en_footer_section .footer-links {
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .en_footer_section .footer-links li {
        padding: 12px;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        text-align: center;
    }
    .en_footer_section .footer-links a {
        font-size: 14px;
    }

    .en_footer_section .footer-sns {
        gap: 45px;
    }
}

@media (max-width: 1023.9px) {
    .post_side_list_box {
        max-width: 100%;
    }
}

@media (max-width:768.9px){
    .section_header_title {
        margin: 0;

        font-size: 32px;
        font-weight: 700;
        color: #003a82;

        line-height: 1.2;
    }
    .section_header_subtitle {
        margin-top: 10px;
        font-size: 16px;
        font-weight: 700;
    }

    .section_not_txt_header {
        height: 150px;
    }

    .section_footer_area{
        flex-direction:column;
        gap:30px;
    }

    .section_footer_info{
        border-left:none;
        padding-left:0;
        text-align:center;
    }

    .section_footer_btn{
        width:100%;
        max-width:320px;
        padding-left:10px;
        padding-right:10px;
    }

    .tel{
        font-size:32px;
    }

}

@media (max-width:979.9px){
    .tel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width:784.9px){
    .main {
        margin-top:110px;

    }

    /* モバイルヘッダー */
    .menu-panel a,
    .back-btn{
        padding:10px 10px;
        font-size:18px;
        font-weight:600;
    }
  /* フッター */
  .footer_section {
    flex-flow: column;
    justify-content: center;
    padding:20px;
  }
  .footer_logo{
      width: 300px;
  }
  .footer-left, .footer-right {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }
  .footer-copyright {
    display: none;
  }
  .footer-copyright-sp {
    display: block;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
  }
  .footer-links {
      border-top: 1px solid #ddd;
      border-left: 1px solid #ddd;
      grid-template-columns: 1fr 1fr;
      gap: 0;
  }

  .footer-links li {
      padding: 12px;
      border-right: 1px solid #ddd;
      border-bottom: 1px solid #ddd;
      text-align: center;
  }
  .footer-links a {
      font-size: 14px;
  }

  .footer-sns {
    gap: 45px;
  }
  /* ヘッダー */
  .logo{
    width: 240px;
  }
  .main {
    margin-top: 102px;
  }

}

@media (max-width:479.9px){

    .main {
        margin-top: 57px;
    }
    .logo{
        width: 180px;
    }

    .menu-bar {
        padding: 12px 14px;
    }
}