/* First-paint critical: vars/reset + header/CTA (all pages).
 * Top sec1/sec2 FV: front-page-critical.css (front page only, sync).
 * ヘッダー/CTA を stylesheet.css だけ直すと初回描画とずれる。critical.css も更新。
 */
/*#region var*/
:root {
    --pxunit: 10px;
    --fontB: 'Noto Sans JP', sans-serif; /* Base font */
    --fontT: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif; /* Title font */
    --fontN: 'Noto Sans JP', sans-serif; /* EN&Number font */
    --headerH: 80px;
}
@media (max-width: 1250px) {
    :root {
        --pxunit: 8px;
    }   
}
@media (max-width: 991px) {
    :root {
        --headerH: 70px;
    }
}
@media (max-width: 767px) {
    :root {
        --pxunit: 6px;
    }   
}
.hx1 {content: "";height: var(--pxunit);}
.hx2 {content: "";height: calc(var(--pxunit)*2);}
.hx3 {content: "";height: calc(var(--pxunit)*3);}
.hx4 {content: "";height: calc(var(--pxunit)*4);}
.hx5 {content: "";height: calc(var(--pxunit)*5);}
.hx6 {content: "";height: calc(var(--pxunit)*6);}
.hx7 {content: "";height: calc(var(--pxunit)*7);}
.hx8 {content: "";height: calc(var(--pxunit)*8);}
.hx9 {content: "";height: calc(var(--pxunit)*9);}
.hx10 {content: "";height: calc(var(--pxunit)*10);}
.hx11 {content: "";height: calc(var(--pxunit)*11);}
.hx12 {content: "";height: calc(var(--pxunit)*12);}
.hx13 {content: "";height: calc(var(--pxunit)*13);}
.hx14 {content: "";height: calc(var(--pxunit)*14);}
.hx15 {content: "";height: calc(var(--pxunit)*15);}
.hx16 {content: "";height: calc(var(--pxunit)*16);}
.hx17 {content: "";height: calc(var(--pxunit)*17);}
.hx18 {content: "";height: calc(var(--pxunit)*18);}
.hx19 {content: "";height: calc(var(--pxunit)*19);}
.hx20 {content: "";height: calc(var(--pxunit)*20);}
/*#endregion var*/

/*#region RESET*/
/* Bootstrap CSS停止時の代替（旧 bootstrap reboot / utilities の最小移植） */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html, body {overflow-x: hidden;}
html{scroll-behavior: smooth;}
body{overflow-y: auto; margin:0px; padding:0px; font-family: 'Noto Sans JP', sans-serif; font-weight:400; color: #333333; line-height: 1.8;}
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
}
h1,h2,h3,h4,h5,h6{margin:0px; padding:0px; font-weight:normal;}
p{margin:0px; padding:0px;}
a{text-decoration:none; -webkit-transition: all 0.3s linear; -moz-transition: all 0.3s linear; -o-transition: all 0.3s linear; -ms-transition: all 0.3s linear; transition: all 0.3s linear;} 
a:hover, a:focus, a:active{ outline:none; text-decoration:none; }
input{-webkit-transition: all 0.3s linear; -moz-transition: all 0.3s linear; -o-transition: all 0.3s linear; -ms-transition: all 0.3s linear; transition: all 0.3s linear;} 
input:hover, input:focus, input:active{outline:none;}
input::-webkit-input-placeholder{color:#333333;}
input::-moz-placeholder{color:#333333;}
input:-ms-input-placeholder{color:#333333;}
input:-moz-placeholder{color:#333333;}
textarea::-webkit-input-placeholder{color:#333333;}
textarea::-moz-placeholder{color:#333333;}
textarea:-ms-input-placeholder{color:#333333;}
textarea:-moz-placeholder{color:#333333;}
button:focus {outline:0;}
ul{margin:0px; padding:0px;}
ul li{list-style-type:none;}
img{border:0px;}
.clearfix{clear:both; overflow:hidden;}
.container{max-width:1430px; margin:auto;}
.wrapper{margin:0px auto;}
.text-center{text-align:center;}
@media(max-width:1250px){
    .container{ max-width:992px; }
}
@media (max-width:991px) {
    .container{max-width:768px;}
}
@media (max-width:767px){
    .container{ max-width:100%; }
}

#header{padding:0 60px 0 20px; margin:0px; width:100%; position:fixed; top:0; width:100%; height: var(--headerH);z-index:111; transition: all 0.3s linear; -webkit-transition: all 0.3s linear; -moz-transition: all 0.3s linear; -o-transition: all 0.3s linear; -ms-transition: all 0.3s linear;}
.header_set {display: flex;justify-content: space-between;align-items: center;}
.header_set2 {display: flex;justify-content: center;margin-bottom: 40px;align-items: center;}
.header_left {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header_logo img {height: clamp(22px, calc(100vw * 32 / 1920), 32px);width: auto;}
.headlogo_white {display: block;}
.headlogo_green {display: none;}
.pst_blackheader .headlogo_white {display: none;}
.pst_blackheader .headlogo_green {display: block;}
.header_menu {flex: 1;display: flex;justify-content: flex-start;align-items: center; margin-left: 1%;}
.headmenu_ul {display: flex;justify-content: flex-end;}
.headmenu_a {font-size: 14px; color: #fff;padding: 0 12px;height: var(--headerH);display: flex;justify-content: center;align-items: center;flex-direction: column;transition: all .1s;}
.headmenu_a:hover {color: #fff;}
.headmenu_shape {display: flex;justify-content: center;align-items: center;position: relative;}
.headmenu_uline {position: absolute;bottom: -4px;left: 0;content: "";height: 1px;background-color: #fff;width: 0;transition: all .3s;}
.headmenu_a:hover .headmenu_uline {width: 100%;}
.headmenu_a.headmenu_contact {margin-left: 20px;padding: 0;}
.headmenu_a.headmenu_contact .headmenu_shape{padding: 0 30px;height: 50px;border: solid 1px #fff;border-radius: 50px;transition: all .3s;}
.headmenu_a.headmenu_contact:hover .headmenu_shape {border-color: #4597A0;background-color: #4597A0;}
#header.pst_blackheader {background-color: #fff;border-bottom: 1px solid #DEDEDE;}
.pst_blackheader .headmenu_a {color: #333333;}
.headmenu_cap.lp1-color {
  color: #4597A0;
}
.pst_blackheader .headmenu_uline {background-color: #333333;}
.pst_blackheader .headmenu_uline.lp1-color {
  background-color: #4597A0;
}
.pst_blackheader .headmenu_a.headmenu_contact .headmenu_shape{border-color: #333333;}
.pst_blackheader .headmenu_a.headmenu_contact:hover .headmenu_shape {border-color: #4597A0;background-color: #4597A0;}
.pst_blackheader .headmenu_a.headmenu_contact:hover {color: #fff;}
.spheadmenu_logo {display: none;}
@media (max-width: 1440px) {
    #header{padding: 0 15px;}
    .header_menu {margin-left: 20px;}
    .headmenu_a {padding: 0 8px;}
    .headmenu_a.headmenu_contact {margin-left: 8px;}
}
@media (max-width: 767px) {
    .header_set {height: 100%;}
    .header_left {flex: 1;height: 100%;}
    .header_logo img {
        height: 30px;
        max-width: 60vw;
    }
    .header_menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 120;
        transform: scale(0.95);
        pointer-events: none;
        background-color: rgba(23, 23, 23, 0.95);
        -webkit-transition: 0.6s;
        -moz-transition: 0.6s;
        -ms-transition: 0.6s;
        transition: 0.6s;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: opacity, transform;
        opacity: 0;
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
        padding-top: 10vh;
        margin-left: 0;
    }
    .header_menu.pst_open {opacity: 1;-webkit-transform: scale(1);transform: scale(1);pointer-events: auto;}
    .headmenu_a {height: 50px;color: #fff !important;}
    .headmenu_a.headmenu_contact {margin-left: 0;margin-top: 20px;}
    .headmenu_uline {background-color: #fff !important;}
    .headmenu_a.headmenu_contact .headmenu_shape { border-color: #fff !important;}
    .headmenu_a.headmenu_contact:hover .headmenu_shape { border-color: #4597A0 !important;}
    .spheadmenu_logo {display: block;padding: 10px;margin-bottom: 10vh;width: 100%;}
    .spheadmenu_logo img{height: 50px;}
}
.hamburger_set{ display: none; min-height:36px; line-height:34px; text-align:center; font-size:10px;position: relative;z-index: 130;}
.hamburger_set a{ color:#000;}
.hamburger_btn{ margin:0; vertical-align:middle; display:inline-block; padding:0px; width: 32px; height: 15px; cursor:pointer; -webkit-transition: all 0.3s linear; -moz-transition: all 0.3s linear; -o-transition: all 0.3s linear; -ms-transition: all 0.3s linear; transition: all 0.3s linear;}
.hamburger_btn span{ background:#fff; display:block; width:30px; height:2px; border-radius:0px; margin:0px 1px 4px 1px; -webkit-transition: all 0.3s linear; -moz-transition: all 0.3s linear; -o-transition: all 0.3s linear; -ms-transition: all 0.3s linear; transition: all 0.3s linear;}
.pst_blackheader .hamburger_btn span{ background:#333333; }
.hamburger_btn span:last-child{ margin-bottom:0px;}
.hamburger_btn span:nth-child(2){ width:23px; }
.hamburger_btn span:nth-child(3){ width:15px; }
.hamburger_btn.pst_open span:nth-child(1), .hamburger_btn.pst_open span:nth-child(3){ transform: translate(0px, 7px) rotate(-45deg) scalex(1); margin-bottom:0px;}
.hamburger_btn.pst_open span:nth-child(2){ height:0; margin-bottom:0px; width:0px;}
.hamburger_btn.pst_open span:nth-child(3){ transform: translate(0px, 5px) rotate(45deg) scalex(1); width:30px;}
.menu-toggle-btn-text-hp{ font-size:10px; line-height:6px; color:#00B5C4; font-weight:600; letter-spacing:-0.39px; text-transform:uppercase; text-align:center; margin:0px; padding:9px 0px 0px; position:relative;}
.hide-scroll{ overflow:hidden !important;}
@media (max-width: 767px) {
    .hamburger_set {display: block;}
    .hamburger_btn.pst_open span{ background:#fff !important;}
}
.fixed_cta {
    position: fixed;
    top: 0;
    right: 60px;
    z-index: 200;
    display: flex;
    align-items: center;
    height: 80px;
}

/*20260706:追加*/
.fixed_mazuha {
    position: relative;
    /*display: flex;*/
    text-align: center; 
    width: auto !important;
    min-height: 32px;
    padding:3px 15px;
    margin-right: 8px;
    background: #c30d0d;
    color: #fff;
    border-radius: 4px;
    font-size: clamp(8px, calc(100vw * 10 / 1375), 18px);
    font-weight: 400;
    white-space: nowrap;
    overflow:visible;
}

.fixed_mazuha::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid #c30d0d;   
}
.fixed_mazuha2 {
    position: relative;
    /*display: flex;*/
    text-align: center; 
    width: auto !important;
    min-height: 32px;
    padding:3px 15px;
    margin-left: 18px;
    background: #c30d0d;
    color: #fff;
    border-radius: 4px;
    font-size: clamp(8px, calc(100vw * 10 / 1375), 18px);
    font-weight: 400;
    white-space: nowrap;
    overflow:visible;
    margin-top:5px;
}

.fixed_mazuha2::after {
    content: "";
    position: absolute;
    left: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 14px solid #c30d0d;
}

.fixed_subtext{
    display: block;
    font-size: clamp(6px, calc(100vw * 7 / 1375), 12px);
    line-height: 1.2;
}
.header_logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo_wrap{
    display:flex;
    align-items:flex-end;
    line-height:1;
    white-space:nowrap;
}

.logo_imedx{
    width: 100px; /* 好きな大きさに調整 */
    height: auto;
    display: block;
}

.logo_sub{
    font-size:clamp(9px, calc(100vw * 11 / 1375), 19px);
    font-weight:500;
    color:#134263;
    margin-left:2px;
}

.logo_title{
    /*font-size:28px;*/
    font-size:clamp(16px, calc(100vw *18 / 1375), 28px);
    font-weight:500;
    color:#134263;
    margin-left:4px;
}

.logo_free{
    margin-left:10px;
    background:#134263;
    color:#fff;
    font-size:clamp(16px, calc(100vw * 18 / 1375), 26px);
    font-weight:500;
    padding:4px 18px;
    line-height:1;
    display:flex;
    align-items:flex-end;
    margin-top: 8px;
}
/*
.fixed_ctabtn {
    color: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 13vw;
    min-width: 200px;
    background-color: #4597A0;
    border-radius: 80px;
    font-size: 18px;
    height: 48px;
    margin-left: 1vw;
    transition: all .3s;
}*/

.fixed_ctabtn {
    color: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(3px, 0.4vw, 6px);
    width:250px;
    height: clamp(40px, 3vw, 48px);
    background-color: #4597A0;
    border-radius: 80px;
    font-size: clamp(14px, 1vw, 18px);
    margin-left: 1vw;
    transition: all .3s;
}

.fixed_ctabtn2 {
    color: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(3px, 0.4vw, 6px);
    width:250px;
    height: clamp(40px, 3vw, 48px);
    background-color: #4597A0;
    border-radius: 80px;
    font-size: clamp(12px, 0.8vw, 14px);
    margin-left: 1vw;
    transition: all .3s;
}

@media (max-width: 1600px) {
    .fixed_ctabtn {
        width: 160px;
    }
}

@media (max-width: 1400px) {
    .fixed_ctabtn {
        width: 150px;
    }
}

@media (max-width: 1300px) {
    .fixed_ctabtn {
        width: 140px;
    }
}

@media (max-width: 1200px) {
    .fixed_ctabtn {
        width: 110px;
    }
}

.fixed_ctabtn:hover {
    color: #fff !important;
    scale: 1.05;
}

@media (max-width: 1600px) {
    .fixed_ctabtn2 {
        width: 210px;
    }
}

@media (max-width: 1400px) {
    .fixed_ctabtn2 {
        width: 150px;
    }
}

@media (max-width: 1300px) {
    .fixed_ctabtn2 {
        width: 140px;
    }
}

@media (max-width: 1200px) {
    .fixed_ctabtn2 {
        width: 110px;
    }
}

.fixed_ctabtn2:hover {
    color: #fff !important;
    scale: 1.05;
}

.fixed_mazuha {
    width: 18vw;
}
.fixed_mazuha img {
    width: 100%;
}
.fixed_mazuha .X_red {
    display: none;
}
@media (max-width: 1440px) {
    .fixed_cta {
        right: 15px;
    }
}
@media (max-width: 1260px) {
    .fixed_cta {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        justify-content: center;
        background-color: #fff;
        border-top: 1px solid #DEDEDE;
    }
    .fixed_mazuha {
        width: 200px;
    }
}
@media (max-width: 440px) {
    .fixed_cta {
        justify-content: space-evenly;
        align-items: flex-end;
        padding-bottom: 4px;
        height: 70px;
    }
    .fixed_ctabtn {
        width: 45%;
        min-width: 45%;
       
    }
    .fixed_ctabtn2 {
        width: 45%;
        min-width: 45%;
       
    }
    /*20260706:追加変更*/
    .fixed_mazuha {
        padding-left: 15px;
        padding-right: 15px;
        font-size: clamp(13px, calc(100vw * 15 / 1375), 23px);
        position: absolute;
        top: -15px;
        min-height: 30px;
        width: auto;
    }
    .fixed_mazuha::after {
        content: none;
    }
    .fixed_mazuha2 {
    position: fixed;
    left: 50%;
    bottom: 70px;
    z-index: 10000;
    white-space: nowrap;
    margin-left: 0px;
    transform: translateX(-50%);
    font-size: clamp(13px, calc(100vw * 15 / 1375), 23px);
    }
    .fixed_mazuha2::after {
        content: none;
    }
    .fixed_subtext{
        display: none;
    }

    .fixed_mazuha img {
        height: 100%;
    }
    .fixed_mazuha .X_white {
        display: none;
    }
    .fixed_mazuha .X_red {
        display: block;
    }
}
/*#endregion HEADER*/

/*ロゴスマホ用*/
@media screen and (max-width: 767px) {

  .header_logo{
    display: flex;
    align-items: center;
  }

  .logo_wrap{
    display: flex;
    align-items: flex-end;
    white-space: nowrap;
    line-height: 1;
  }

  .logo_imedx{
    font-size: 20px;
  }

  .logo_sub{
    font-size: 10px;
    margin-left: 2px;
  }

  .logo_title{
    font-size: 16px;
    margin-left: 3px;
  }

  .logo_free{
    font-size: clamp(13px, calc(100vw * 14 / 1375), 15px);;
    margin-left: 1px;
    padding: 3px;
    line-height: 1;
    display: none;
  }

}

@media screen and (max-width: 1000px) {

  .logo_sub{
    font-size: 10px;
    margin-left: 2px;
  }

  .logo_title{
    font-size: 16px;
    margin-left: 3px;
  }


}
/* 拡大モーダル（js/zoom-overlay.js）— 後読み stylesheet より先に最低限 */
body .zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    z-index: 9999;
}
body.admin-bar .zoom-overlay {
    top: 32px;
    height: calc(100dvh - 32px);
}
body .zoom-overlay--pc,
body .zoom-overlay--pcframe,
body .zoom-overlay--doc {
    overflow-y: auto;
    align-items: flex-start;
    padding-top: 48px;
}
body .zoom-overlay--pc,
body .zoom-overlay--pcframe {
    padding-left: 12px;
    padding-right: 12px;
}
body .zoom-overlay--pc .zoom-overlay__frame {
    overflow: hidden;
}
body .zoom-overlay__frame {
    display: block;
    margin: 0 auto;
}
body .zoom-overlay__frame > img,
body .zoom-overlay__img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}
body .zoom-overlay .close {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10001;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}
body.admin-bar .zoom-overlay .close {
    top: 44px;
}


/* Fallback until page CSS loads */
.pcview,.pcflex,.pcinline{display:block;}
.spview,.spflex,.spinline{display:none;}
@media (max-width:767px){
.pcview,.pcflex,.pcinline{display:none;}
.spview,.spflex,.spinline{display:block;}
.spflex{display:flex;}
}

/* Fallback until page CSS loads: Modal elements must be hidden to prevent CLS */
.pop1,
.dial_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 300;
}

