@charset "utf-8";

/* ==========================================================================
   module.css — Shared Layout Components, Tokens & Common Subpage Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   Global Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
    /* Typography */
    --font-notoseriif:"Noto Serif JP", serif;
    --font-BIZ_UDPGothic: "BIZ UDPGothic", sans-serif;
    --font-gothic: ryo-gothic-plusn, "futura-pt", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;

    /* Theme Colors */
    --main-color: #1F8FD5;
    --sub2-color: #7AD300;
    --sub3-color: #ffffff;
    --sub4-color: #1B2B3F;
    --sub5-color: #000000;
    --sub12-color: #1B2B3F;
    --sub13-color: #dddddd;
    --sub14-color: #3A3A3A;

    --home-about-grad: linear-gradient(180deg, #E8FFEF 17%, #A5DDE9 100%);
    --home-navy: #0B2C66;
    --home-navy-deep: #062F67;
    --home-blue: #1F6FC0;
    --home-green: #11D0BA;
    --home-green-lt: #3CCC45;
    --home-en-green: #4E9E3E;
    --home-news-blue: #9DBDE8;
    --home-teal1: #55A0C0;
    --home-teal2: #52B5CC;
    --home-pagetop: #35C4CE;
    --home-mint1: #B8F4D6;
    --home-mint2: #A2EAEF;    
    --tbl-bg: #efefef;
}

.font_mincho { font-family: var(--font-notoseriif); }
.font_BIZ_UDPGothic { font-family: var(--font-BIZ_UDPGothic); }
.font_gothic { font-family: var(--font-gothic); }

a:hover{
    opacity: .85;
}

/* Disable tel: links on desktop browsers */
@media (min-width: 751px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

/* Container & Main Layout */
.main {
    overflow: hidden;
}

.inner {
    width: 94.93%;
    max-width: 1405px;
    margin: 0 auto;
}

/* ==========================================================================
   GLOBAL / SHARED TOKENS & UTILITIES
   ========================================================================== */
.page_top_body {
    overflow-x: hidden;
}

.btn_contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sub3-color, #ffffff);
    border: 2px solid var(--home-navy);
    color: var(--home-navy);
    border-radius: 8px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.btn_recruit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--home-navy);
    color: var(--sub3-color, #ffffff);
    border-radius: 8px;
    padding: 15px 26px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    border: 2px solid #ffffff;
}

.btn_recruit_icon {
    position: relative;
    width: 20px;
    height: 20px;
    background: var(--sub3-color, #ffffff);
    border-radius: 50%;
    flex: none;
}

.btn_recruit_icon::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 7px;
    width: 5px;
    height: 5px;
    border: solid var(--home-navy);
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
}

.ico_window {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}


/* General Text & Utility Helpers */
.mod_mb { margin-bottom: 30px; }
.bold { font-weight: 700; }
.underline { text-decoration: underline; text-underline-offset: 3px; }
.red { color: #ff0000; }
.font_mincho { font-family: var(--font-notoseriif); }
.font_gothic { font-family: var(--font-gothic); }

/* PDF Tag Helper */
.txt_pdf,
.text_base .txt_pdf {
    display: inline-block;
    color: var(--sub3-color);
    font-weight: bold;
    background-color: #ff0000;
    margin-left: 5px;
    padding: 2px 5px;
    text-decoration: none;
    line-height: 1;
}

/* Base Typography Classes */
.text_base, .text_base span { font-size: 16px; color: var(--sub12-color); line-height: 1.5; }
.text_lg { font-size: 18px; color: var(--sub12-color); line-height: 1.5; }
.text_sm { font-size: 14px; color: var(--sub12-color); line-height: 1.5; }


/* ==========================================================================
   COMMON SUBPAGE COMPONENTS (Moved from about.css & voice.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Breadcrumbs (.breadcrumb)
   -------------------------------------------------------------------------- */
/* ==========================================================================
   Breadcrumb Bar (.breadcrumb)
   ========================================================================== */

.breadcrumb {
    position: relative;
    width: 100%;
    background: #F8F9FA;
    padding: 10px 20px 10px 24px;
    font-size: 13px;
    color: #666666;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

/* Green indicator block on far left */
.breadcrumb::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 13px;
    background-color: #7AD300;
}

.breadcrumb a {
    color: #0F860F; /* Green links matching mockup */
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #999999;
}


/* --------------------------------------------------------------------------
   2. Subpage Main Visual (.page_mv)
   -------------------------------------------------------------------------- */
.page_mv {
    position: relative;
    margin-top: 0;
    width: 100%;
}
.page_mv_img img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.page_mv_overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page_mv_box {
    background: rgba(65, 172, 15, 0.85);
    padding: 26px 80px;
    text-align: center;
    border-radius: 4px;
    box-sizing: border-box;
}
.page_mv_ttl {
    font-family: var(--font-notoseriif);
    font-size: 34px;
    font-weight: 500;
    color: var(--sub3-color);
    line-height: 1.3;
}
.page_mv_ttl img{
    width: 30px;
    height: auto;
    margin-right: 5px;
    vertical-align: bottom;
}
.page_mv_sub {
    font-size: 13px;
    color: var(--sub3-color);
    margin-top: 6px;
    line-height: 1.4;
}
.page_mv_en {
    font-family: "futura-pt", sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--sub3-color);
    margin-top: 4px;
    text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   3. Subpage Anchor Navigation (.sub_anchor_nav)
   -------------------------------------------------------------------------- */
.sub_anchor_nav {
    width: 94.93%;
    max-width: 1000px;
    margin: 36px auto 0;
}
.sub_anchor_nav ul {
    display: flex;
    gap: 2px;
}
.sub_anchor_nav li {
    flex: 1;
    display: flex;
}
.sub_anchor_nav li a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 10px 10px 24px;
    background: #6768AC;
    color: var(--sub3-color);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
}
.sub_anchor_nav li:first-child a { border-radius: 12px 0 0 12px; }
.sub_anchor_nav li:last-child a { border-radius: 0 12px 12px 0; }
.sub_anchor_nav li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 9px;
    width: 8px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: translateX(-50%) rotate(45deg);
}


/* --------------------------------------------------------------------------
   4. Section Title with Gradient Accent Bar (.sec_ttl)
   -------------------------------------------------------------------------- */
.sec_ttl {
    position: relative;
    padding-left: 20px;
    font-family: var(--font-notoseriif);
    font-size: 51px;
    font-weight: 500;
    color: #353679;
    line-height: 1.3;
}
.sec_ttl::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #7AD300 0 50%, #B3B3B3 50% 100%);
}
.sec_ttl .en {
    display: block;
    font-family: "futura-pt", sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--sub12-color);
    margin-top: 6px;
}


/* ==========================================================================
   Responsive Overrides (Tablet & SP)
   ========================================================================== */
@media only screen and (min-width: 768px) and (max-width: 1350px) {
    /* Container & Main Layout */
    .inner {
        max-width: 12.8rem;
    }

    .btn_contact { border: .02rem solid var(--home-navy); border-radius: .08rem; padding: .14rem .30rem; font-size: .16rem; }
    .btn_recruit { gap: .12rem; border-radius: .08rem; padding: .15rem .26rem; font-size: .16rem; }
    .btn_recruit_icon { width: .20rem; height: .20rem; }
    .btn_recruit_icon::after { left: .06rem; top: .07rem; width: .05rem; height: .05rem; border-width: 0 .02rem .02rem 0; }

    /* General Text & Utility Helpers */
    .mod_mb { margin-bottom: 3.00rem; }

    /* PDF Tag Helper */
    .txt_pdf,
    .text_base .txt_pdf {
        margin-left: .05rem;
        padding: .02rem .05rem;
    }

    /* Base Typography Classes */
    .text_base, .text_base span { font-size: .16rem; }
    .text_lg { font-size: .18rem; }
    .text_sm { font-size: .14rem; }


    /* ==========================================================================
       COMMON SUBPAGE COMPONENTS
       ========================================================================== */

    /* --------------------------------------------------------------------------
       1. Breadcrumbs (.breadcrumb)
       -------------------------------------------------------------------------- */
    .breadcrumb {
        padding: .10rem .20rem .10rem .24rem;
        font-size: .13rem;
    }

    .breadcrumb::before {
        width: .06rem;
    }

    .breadcrumb span {
        margin: 0 .08rem;
    }


    /* --------------------------------------------------------------------------
       2. Subpage Main Visual (.page_mv)
       -------------------------------------------------------------------------- */
    .page_mv_img img {
        height: 3.00rem;
    }
    .page_mv_box {
        padding: .26rem .80rem;
        border-radius: .04rem;
    }
    .page_mv_ttl {
        font-size: .34rem;
    }
    .page_mv_ttl img{
        width: .33rem;
        margin-right: .05rem;
    }
    .page_mv_sub {
        font-size: .13rem;
        margin-top: .06rem;
    }
    .page_mv_en {
        font-size: .12rem;
        letter-spacing: .02rem;
        margin-top: .04rem;
    }


    /* --------------------------------------------------------------------------
       3. Subpage Anchor Navigation (.sub_anchor_nav)
       -------------------------------------------------------------------------- */
    .sub_anchor_nav {
        max-width: 10.00rem;
        margin: .36rem auto 0;
    }
    .sub_anchor_nav ul {
        gap: .02rem;
    }
    .sub_anchor_nav li a {
        min-height: .52rem;
        padding: .10rem .10rem .24rem;
        font-size: .14rem;
    }
    .sub_anchor_nav li:first-child a { border-radius: .12rem 0 0 .12rem; }
    .sub_anchor_nav li:last-child a { border-radius: 0 .12rem .12rem 0; }
    .sub_anchor_nav li a::after {
        bottom: .09rem;
        width: .08rem;
        height: .08rem;
        border-width: 0 .02rem .02rem 0;
    }


    /* --------------------------------------------------------------------------
       4. Section Title with Gradient Accent Bar (.sec_ttl)
       -------------------------------------------------------------------------- */
    .sec_ttl {
        padding-left: .20rem;
        font-size: .51rem;
    }
    .sec_ttl::before {
        width: .06rem;
    }
    .sec_ttl .en {
        font-size: .12rem;
        letter-spacing: .01rem;
        margin-top: .06rem;
    }
}

@media only screen and (max-width: 767px) {
    .inner { width: 7.08rem; max-width: 100%; }
    .mod_mb { margin-bottom: .5rem; }
    
    .text_base, .text_base span { font-size: 0.26rem; }
    .txt_pdf, .text_base .txt_pdf {
        font-size: 0.26rem;
        margin-left: .05rem;
        padding: .05rem;
        line-height: 1;
        color: var(--sub3-color);
    }
    .text_lg { font-size: 0.28rem; }
    .text_sm { font-size: 0.24rem; }

    /* Common Subpage SP Overrides */
    .page_mv { position: relative; margin-top: 0 !important; width: 100%; }
    .page_mv_img img { height: 8.98rem; max-height: 80vh; width: 100%; object-fit: cover; display: block; }
    .page_mv_overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
    .page_mv_box { background: rgba(65, 172, 15, 0.85); width: 100%; max-width: 6.6rem; padding: .36rem .2rem; border-radius: 0; text-align: center; box-sizing: border-box; }
    .page_mv_ttl { font-size: .45rem; color: var(--sub3-color); line-height: 1.3; }
    .page_mv_ttl img{ width: .30rem; margin-right: .1rem; vertical-align: baseline;}
    .page_mv_sub { font-size: .26rem; color: var(--sub3-color); margin-top: .08rem; }
    .page_mv_en { font-size: .20rem; color: var(--sub3-color); margin-top: .06rem; letter-spacing: 1.5px; text-transform: uppercase; }

    .breadcrumb { width: 90%; font-size: .22rem; margin: .24rem auto .1rem; }

    .sub_anchor_nav { margin-top: .5rem; }
    .sub_anchor_nav li a { min-height: 1.3rem; padding: .28rem .2rem .5rem; font-size: .28rem; }
    .sub_anchor_nav li a::after{bottom: .25rem;}
    
    .sec_ttl { font-size: .45rem; padding-left: .24rem; }
    .sec_ttl::before { width: .1rem; }

    body:not(.page_top_body) {
        display: flex;
        flex-direction: column;
    }

    body:not(.page_top_body) .header {
        order: 1;
    }

    body:not(.page_top_body) .page_mv {
        order: 2;
    }

    body:not(.page_top_body) .breadcrumb {
        order: 3;
        width: 100%;
        margin: 0;
        padding: .16rem .24rem;
        font-size: .22rem;
        background: #F8F9FA;
        box-shadow: 0 .03rem .08rem rgba(0, 0, 0, .06);
    }

    body:not(.page_top_body) .breadcrumb::before {
        width: .08rem;
    }

    body:not(.page_top_body) .sub_anchor_nav {
        order: 4;
    }

    body:not(.page_top_body) .main {
        order: 5;
    }

    body:not(.page_top_body) .sec_contact_home {
        order: 6;
    }

    body:not(.page_top_body) .footer {
        order: 7;
    }
}