/* CSS Taiwan */

/* ------------------------------------------------------------
 * HENNGE Global design tokens
 * Source: https://hennge.com/global/ (extracted with dembrandt v0.43.0, 2026-11-30)
 * ------------------------------------------------------------ */
:root {
    /* Color */
    --hg-color-primary: #000;          /* Global: --_dark-color-text, CTA fill */
    --hg-color-accent: #cd162c;        /* Global: --accent-color */
    --hg-color-text: #0d0d0d;          /* Global: --text-color */
    --hg-color-text-sub: #333;         /* Global: --_color-text */
    --hg-color-text-light: #666;       /* Global: --_light-color-text */
    --hg-color-text-lighter: #888;     /* Global: --_lighter-color-text */
    --hg-color-surface: #fff;          /* Global: --_global--background-color */
    --hg-color-surface-dark: #1a1a1a;  /* Global: footer */
    --hg-color-gray-100: #f7f7f7;      /* Global: --_lightest-color-gray */
    --hg-color-gray-200: #eee;         /* Global: --_lighter-color-gray */
    --hg-color-gray-300: #ccc;         /* Global: --_light-color-gray */
    --hg-color-gray-500: #999;         /* Global: --_color-gray */
    --hg-color-border: #aaa;           /* Global: button border */
    --hg-color-focus: #85b7d9;         /* Global: --_form-control-border-color-focus */

    /* Typography */
    --hg-font-latin: "Roboto", "Helvetica Neue", "Helvetica", "Arial";
    --hg-font-tc: "PingFang TC", "Noto Sans TC", "HanHei TC", "MHei", "STHeitiTC-Light";
    --hg-font-base: var(--hg-font-latin), var(--hg-font-tc), sans-serif;

    /* Shape & depth */
    --hg-radius-sm: 4px;
    --hg-radius-pill: 9999px;          /* Global buttons are fully rounded */
    --hg-shadow-card: 2.8px 2.8px 20px 0 rgba(0, 0, 0, .08);

    /* Motion */
    --hg-transition: .4s ease;
}

body {
    font-family: var(--hg-font-base);
    color: var(--hg-color-text);
    /* CJK typography: auto space between 中文 and Latin/數字, trim leading full-width punctuation */
    text-autospace: normal;
    text-spacing-trim: trim-start;
}

/* Avoid orphans: balanced headings, pretty body copy */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}
p, li, dt, dd, th, td, blockquote, figcaption {
    text-wrap: pretty;
}
/* Card titles: `balance` splits CJK words in narrow columns, so use `pretty` (orphan-only) */
.article-link,
.news-link,
a[href]:is(.article, .news-box, .case) :is(h2, h3, h4),
.box-text > h3 {
    text-wrap: pretty;
}

/* ------------------------------------------------------------
 * Links (Global style: black text + underline, underline fades on hover)
 * Base color comes from styles.css `a[href]` (now var(--hg-color-text)), so contextual
 * overrides such as `.page_title a { color: #fff }` keep winning.
 * Scope: content only — header / footer / nav / sub-header and buttons keep their own styles.
 * ------------------------------------------------------------ */
:is(p, li, dd, td, th, figcaption, blockquote) a[href]:not(header *, footer *, nav *, [class*="btn"], [class*="button"]),
a[href]:is(.link, [rel="author"]):not(header *, footer *, nav *),
:is(.know-more-link, .page-bottom, .link) > a[href]:not(header *, footer *, nav *) {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .25em;
    text-decoration-color: currentColor;
    transition: text-decoration-color var(--hg-transition), opacity var(--hg-transition);
}
:is(p, li, dd, td, th, figcaption, blockquote) a[href]:not(header *, footer *, nav *, [class*="btn"], [class*="button"]):hover,
a[href]:is(.link, [rel="author"]):not(header *, footer *, nav *):hover,
:is(.know-more-link, .page-bottom, .link) > a[href]:not(header *, footer *, nav *):hover {
    text-decoration-color: transparent;
}
/* "More / back" links ending with an arrow icon: flex drops the whitespace before
   the SVG so the underline stops at the text instead of running under the gap */
a[href].more-link,
:is(.know-more-link, .latest-title) > a[href],
.page-bottom > p > a[href] {
    display: inline-flex;
    align-items: center;
    gap: .3em;
}
:is(a[href].more-link, :is(.know-more-link, .latest-title) > a[href], .page-bottom > p > a[href]) > svg {
    flex: none;
}

/* Title / card links: black, underline on hover */
:is(h1, h2, h3, h4) > a[href]:not(header *):hover,
a[href]:is(.article, .news-box, .case):hover :is(h2, h3, .article-link) {
    text-decoration: underline;
    text-underline-offset: .25em;
}

/* Shared button looks (Global "VIEW MORE" pill) */
.tw-contact-button,
.contact-btn,
#whitepaper-btn,
#whitepaper-dl-btn,
.cta .btn,
.one_pricing .cta .btn,
A.link-btn,
.contents-box_btns li a.btn,
.one_feature .box .btn {
    border-radius: var(--hg-radius-pill);
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: none;
    transition: opacity var(--hg-transition), background-color var(--hg-transition), color var(--hg-transition), border-color var(--hg-transition);
}

/* Marketo form submit button.
   The orange `.mktoButton { ... !important }` comes from the Marketo form's custom CSS
   (injected at runtime), so override it with higher specificity + !important. */
.mktoForm .mktoButtonWrap .mktoButton,
.mktoForm .mktoButtonWrap.mktoPaperMashup .mktoButton {
    background: var(--hg-color-primary) !important;
    border: 0 !important;
    border-radius: var(--hg-radius-pill) !important;
    color: var(--hg-color-surface) !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    box-shadow: none !important;
    transition: opacity var(--hg-transition);
}
.mktoForm .mktoButtonWrap .mktoButton:hover,
.mktoForm .mktoButtonWrap .mktoButton:focus-visible {
    opacity: .7;
}

/* Inverse pill: for CTAs placed on dark/colored backgrounds (sub-header, hero) */
.tw-contact-button {
    display: block;
    background-color: var(--hg-color-surface);
    color: var(--hg-color-primary) !important;
    font-size: 1rem;
    text-align: center;
    padding: 10px 28px;
}
.tw-contact-button:hover {
    background-color: var(--hg-color-gray-200);
    text-decoration: none;
}
.page-contents {
    font-size: 14.4px;
    padding-bottom: 100px;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}
.contact-btn{
    display: block;
    width: 300px;
    height: 50px;
    background-color: var(--hg-color-primary);
    margin: 0 auto;
    text-align: center;
    color: var(--hg-color-surface) !important;
    line-height: 50px;
    font-size: 18px;
}


#whitepaper-btn{
display: inline-block;
background-color: var(--hg-color-primary);
margin: 40px 0 20px 0;
width: 150px;
height: 45px;
line-height: 45px;
font-size: 18px;
}

#whitepaper-dl-btn{
display: inline-block;
background-color: var(--hg-color-primary);
margin: 40px 0 20px 0;
width: 300px;
height: 45px;
line-height: 45px;
font-size: 18px;
}

#blue-box{
background: aliceblue;
border-radius: 20px;
}

#new{
color: #f56300;
text-align: left;
font-size: 0.95rem;
font-weight: 500;
}

#valign-object{
display: inline-block;
height: 100%;
vertical-align: middle;
}

#valign{
vertical-align: middle;
display: inline-block;
}

.whitepaper-left-col{
text-align: center;
margin: 30px 30px 0 0;
border-radius: 20px;
border: #E8E8E8 1px solid;
}

.whitepaper-right-col{
text-align: center;
margin: 30px 0 0 0;
border-radius: 20px;
border: #E8E8E8 1px solid;
}

.general-title {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 300px;
}

.gray-bg {
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 0 !important;
    min-height: 300px;
}
.gray-bg > H1 {
    width: 100%;
}
.gray-bg > P {
    margin-bottom: 50px !important;
}
.hr-line {
    margin-top: 30px;
}

a[href^="http"], a[href^="mailto:"]{
    word-break: normal;
}

/* Index */
@media screen and (min-width: 992px), print {
    .header-space {
        height: 3.5rem;
    }
}
.top-image {
   width: 100%;
}
.top-image > A {
    display: block;
    width: 100%;
    height: 600px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.top-banner {
    display: block;    
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

   border-top: 1px solid #E8E8E8;
   border-bottom: 1px solid #E8E8E8;
}
UL.index-link-list > LI > A {
    display: block;
    max-width: 900px;
    min-height: 40px;
    line-height: 40px;
    text-align: center;
}
.index-news-item {
    min-height: 0 !important;
}
.index-news-item > DIV > A > IMG {
    width: 100%;
    height: auto;
}
.news-image {
    min-height: 160px;
    display: flex;
    align-items: center;
}
.news-date {
    font-size: 1.1rem;
    color: var(--hg-color-text-light);
    font-family: monospace;
    margin-top: .5rem;
}
.index-news-item A {
    font-size: 1.1rem;
    color: #666666;
    text-decoration: none;
}
.index-news-item A:hover {
    text-decoration: underline;
}
.media-news {
    padding-top: 20px;
}
.media-news LI {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.media-news LI > DIV {
    padding: 5px 20px;
}
.media-news LI > DIV:nth-child(1) {
    font-family: monospace;
}
.media-news LI > DIV:nth-child(2) {
    flex-grow: 1;
    min-width: 250px;
    max-width: 820px;
}

.link:hover {
    text-decoration: underline;
}

.case-image:hover {
    opacity : 0.8;
}

.case-image {
    transition : 0.3s;
}

.solu-logo-img:hover {
    opacity : 0.8;
}

.solu-logo-img {
    transition : 0.3s;
}

.news-image:hover {
    opacity : 0.8;
}

.news-image {
    transition : 0.3s;
}


#landing-page-hennge-one-logo {
    margin:  0 0 1rem 2.3rem; 
}

@media (min-width:768px){
  #landing-page-hennge-one-logo {
    width: 200px;
  }
}

/* Hero CTA sits on the blue gradient -> inverse pill */
#landing-page-btn {
    display: inline-block;
    margin: 0 30px 0 0;
    color: var(--hg-color-primary) !important;
    background-color: var(--hg-color-surface);
}

/* Global hover pattern: fade-out */
.contact-btn:hover {
    opacity: 0.7;
    text-decoration: none;
}

#landing-page-btn:hover {
    opacity: 1;
    background-color: var(--hg-color-gray-200) !important;
}

#landing-page-cta-text {
    color: #fff;
    padding: 1.5rem 0 0 6rem;
    display: inline-block;
}

@media (min-width:768px){
  #landing-page-cta-text {
    display: contents;
  }
}

#hennge-caption {
    margin-top: 32px;
}

.all-solu-logo-img {
    margin: 2rem 3rem;
}

@media (min-width:1024px){
  .all-solu-logo-img {
    margin: 2rem 0;
  }
}

.solu-logo-img {
    width: 14.7rem;
    display: inline-block;
}
IMG.solu-logo-img {
    display: block;
    margin: 16px auto;
    width: 50%;
    object-fit: contain;
}

#HAC-caption {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: #036EB7;
}

#HEA-caption {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: #0C3582;
}

#HED-caption {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: #3C2673;
}

#HST-caption {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: #80167E;
}


/* Header */
.one-header {
    height: 75vh;
}
@media (min-width:491px){
    .one-header {
        height: 120vh;
    }
}
@media (min-width:1024px){
    .one-header {
        height: 36rem;
    }
}
.one-header .one-tit {
    display: block;
    max-width: 80vw; 
    margin: 0 auto;
    padding: 1.5rem;
}
@media (min-width:768px){
    .one-header .one-tit {
        max-width: 560px;
        padding: 4rem 0;
    }
}

/* Background */
.one-back {
    width:100%; 
    height: 38rem;
    background: linear-gradient(120deg, #1D2189, #009FC0, #1590D0, #1D2977, #A10B78);
    background-size: 400% 100%;
    animation: bg-color 45s ease infinite;
    -webkit-animation: bg-color 45s ease infinite;
    /*text-align: center;*/
    /*margin: 0 0 110px;*/
}
@media (min-width:491px){
    .one-back {
        height: 50rem;
    }
}

@media (min-width:1024px){
    .one-back {
        height: 100%;
    }
}

@-webkit-keyframes bg-color {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes bg-color {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

.one-header .co-flex {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    padding: 0 2rem;
}
@media (min-width:768px){
    .one-header .co-flex {
        padding: 0;
    }
}

@media (min-width:1024px){
    .one-header .co-flex {
        flex-direction: row;
        justify-content: start;
        align-items: center;
        width: 70rem;
        margin: 0 auto;
        padding: 0;
    }
    .one-header .co-flex.is-wide {
        width: auto;
    }
}

.one-box_txt {
    padding: 0;
}
@media (min-width:768px){
    .one-box_txt {
        max-width: 32rem;
        margin: 0 0 0 2rem;
    }
}
@media (min-width:1024px){
    .one-box_txt {
        width: 32rem;
        padding: 0;
    }
}

.txt-salescopy {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 3rem;
    text-align: center;
}
@media (min-width:768px){
    .txt-salescopy {
        font-size: 3.8rem;
        text-align: left;
    }
}

.txt-lede {
    color: #fff;
    font-size: 1rem;
    text-align: left;
    margin-bottom: 1rem;
}

.cta .btn{
    display:block;
    max-width:16rem;
    margin: 0 auto;
    padding:1.25rem;
    background-color:var(--hg-color-primary);
    color:var(--hg-color-surface);
    font-size:1.125rem;
    text-decoration:none;
    line-height:1;
}
.cta .btn:hover,
.one_pricing .cta .btn:hover{
    opacity:.7;
    text-decoration:none;
}

.one-box_img {
    margin-bottom: 3rem;
}
.one-box_img img {
    max-width: 80vw;
    height: auto;
}
@media (min-width:768px){
    .one-box_img img {
        max-width: 60vw;
    }
}
@media (min-width:1024px){
    .one-box_img {
        width: 38rem;
        margin-bottom: 0;
        padding: 0 1rem;
    }
    .one-box_img img {
        max-width: 90%;
        float: right;
    }
}


/* HENNGE ONE */
.top-title {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 300px;
    display: flex;
    align-items: center;
}
.top-title > DIV {
    width: 100%;
    padding: 50px 20px;
}
.top-title > DIV > H1, .gray-bg > H1 {
    text-align: center;
    color: #FFFFFF !important;
    font-size: 60px !important;
}
.top-title > DIV > P, .gray-bg > P, .gray-bg > DIV > P {
    width: 70%;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    color: #FFFFFF;
    font-size: 1.1rem;
}
.force-left H2, .force-left H3, .force-left P {
    text-align: left !important;
}
.feature-box {
    padding: 50px 0 50px 0;
}
.feature-box H1, .feature-box H2 {
    /* color: #888888 !important; */
    font-size: 2.5rem !important;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 2rem;
}
.feature-box H3 {
    text-align: center;
    font-weight: 500;
    font-size: 1.5rem;
    /*line-height: 120%;*/
    margin-bottom: 10px;
}
.colored {
    background-color: #FAFAFA;
}
.contents-box {
    width: 100%;
    max-width: 1010px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}
.contents-box > div {
    flex-grow: 1;
    flex-basis: 0;
    padding: 30px 25px;
    min-width: 280px;
    min-height: 300px;
}

#why {
    padding: 30px 65px;
}

@media (max-width:768px){
    #why {
    padding: 30px;
  }
}

#box-HEA-img {
    width: 101px;
}

.contents-box_movie {
     min-width: initial!important;
     min-height: initial!important;
}
.contents-box_movie .movie {
     position: relative;
     height: 0;
     margin: 0 auto;
     padding-bottom: 56.25%!important;
     overflow: hidden;
}
.contents-box_movie .movie iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}
.contents-box_img {
     min-width: initial!important;
     min-height: initial!important;
}
.contents-box_img img {
     max-width: 100%;
     height: auto;
}
.contents-box_btns {
     display: flex;
     flex-direction: column;
     align-items: center;
     width: 100%;
     min-width: initial!important;
     min-height: initial!important;
     padding: 0 2rem;
}
.contents-box_btns li {
     width: 100%;
     padding: 0 0 1rem;
}
.contents-box_btns li a.btn {
    display: block;
    padding: .75rem;
    --color: var(--hg-color-primary);
    --hover: var(--hg-color-primary);
    border: 1px solid var(--hg-color-primary);
    color: var(--color);
    font-size: 1rem;
    text-align: center;
    line-height: 1;
    transition: 0.25s;
}
.contents-box_btns li a.btn:hover,
.contents-box_btns li a.btn:focus {
    border-color: var(--hover);
    color: #fff;
    box-shadow: inset 0 0 0 2em var(--hover);
    text-decoration: none;
    opacity: 1;
}
@media (min-width: 481px){
    .contents-box_btns {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: start;
        margin: 0 auto;
    }
    .contents-box_btns li {
        width: auto;
        margin-bottom: 1rem;
        padding: 0 .5rem;
    }
    .contents-box_btns li a.btn {
        width: 12rem;
    }
}
@media (min-width:768px){
    .contents-box_btns {
        flex-direction: row;
        justify-content: center;
        align-items: start;
    }
    .contents-box_btns li {
        padding: 0 .5rem;
    }
    .contents-box_btns li a.btn {
        width: 8rem;
    }
}

.image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.page-bottom {
    border-top: 1px solid #F6F6F6;
}
.page-bottom > P {
    margin: 30px auto;
    text-align: center;
}
.features-box > DIV {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.features-box > DIV > DIV {
    width: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 100px;
}
.feature-box P {
    width: 100%;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 10px;
}
.content-list {
    list-style-type: circle;
    padding-left: 30px;
}
.content-list > LI {
    font-size: 21px;
    color: #555555;
}
.container-heading {
    display: flex;
}
.container-heading > DIV {
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    height: 40px;
    width: 50px;
    margin-bottom: 10px;
}
.container-heading > H3 {
    flex-grow: 1;
    height: 40px;
    line-height: 40px;
    text-align: left;
}
.center-list {
    width: 100%;
    margin: 20px 0;
    padding: 0;
}
.center-list > LI {
    list-style-type: none;
    padding: 5px;
    color: #555555;
    font-size: 21px;
    text-align: center;
}
.button-link {
    width: 100%;
    text-align: center;
}
/* Outline pill (secondary) */
A.link-btn {
    display: inline-block;
    border: 1px solid var(--hg-color-primary);
    padding: 8px 40px;
    font-size: 18px;
    margin: 20px auto 0 auto;
    background-color: var(--hg-color-surface);
    color: var(--hg-color-primary);
}
A.link-btn:hover {
    background-color: var(--hg-color-primary);
    color: var(--hg-color-surface);
    text-decoration: none;
}
TABLE#plan {
    margin-top: 30px;
    width: 100%;
    border-collapse: collapse;
}
TABLE#plan TH, TABLE#plan TD {
    color: #888888;
    line-height: 180%;
    font-size: 16px;
    border: 1px solid #666666;
    padding: 10px;
}
TABLE#plan TH {
    background-color: #F6F6F6;
}
/* About Us */
.general {
    padding: 20px 0 20px 0 !important;
}
.two-col-table {
    border-top: 1px #CCCCCC solid;
    font-size: 1.1rem;
    line-height: 125%;
}
.two-col-table > DIV {
    border-bottom: 1px #CCCCCC solid;
    padding: 10px 0;

    display: flex;
    flex-wrap: wrap;
}
.two-col-table > DIV > DIV {
    line-height: 150%;
}
.two-col-table > DIV > DIV:nth-child(1) {
    flex-basis: 200px;
    width: 200px;
    font-weight: 500;
}
.two-col-table > DIV > DIV:nth-child(2) {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 280px;
}
.two-col-list > DIV {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 5px;
}
.two-col-list > DIV > DIV:nth-child(1) {
    flex-basis: 200px;
    width: 200px;
}
.two-col-list > DIV > DIV:nth-child(2) {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 300px;
}
/** Contact Us **/
.horizontal-gray {
    width: 100%;
    min-height: 100px;
    background-color: #666666;
    display: flex;
    align-items: center;
}
.horizontal-gray > H2 {
    width: 100%;
    text-align: center;
    color: #FFFFFF !important;
}
.arrow-down {
    width: 100%;
    height: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('/tw/service/one/form/arrow-down.png');
}
/** Cases **/
.contents-wrap {
    width: 95%;
    max-width: 1010px;
    margin: 40px auto;
}
.contents-wrap H2 {
    margin-top: 20px;
    color: #555555;
}
.contents-wrap H3 {
    margin-top: 20px;
    color: #777777;
}

/**
case-box
**/
#case-box {
    margin: 16px;
    width: auto;   /* was 100% + 16px margins → overflowed the viewport on SP */
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) );
    gap: 24px;
}
#case-box > A.case {
    display: block;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid transparent;
}
#case-box > A.case:hover {
    border: 1px solid #CCCCCC;
}
#case-box > A.case > IMG {
    width: 100%;
    height: 150px;
    object-fit: contain;    
}
#case-box > A.case > H2 {
    font-size: 1.2rem;
}
#case-box > A.case > P {
    font-size: 16px;
    line-height: 120%;
    color: #626262;
}
#case-box > A.case > P:hover {
    text-decoration: none;
}

#ok-bank-link {
    color: #ffffff;
    font-size: 21px;
}


/** Common Bottom **/
.customer {
    max-width: 1010px;
    margin: 30px auto;
    padding: 0 10px;
}
.customer > H2 {
    color: var(--hg-color-text);
    font-size: 24px;
    line-height: 120%;
    margin: 0 !important;
    font-weight: normal;
}
/*
.customer DIV.case-image {
    width: 100%;
    height: 180px;
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center;
}
.customer DIV.case-image > DIV {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
}
.customer DIV.case-image > DIV > DIV {
    width: 100%;
}
.customer DIV.case-image > DIV > DIV > H3 {
    width: 100%;
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: #FFFFFF;
}
.customer DIV.case-image > DIV > DIV > P.note {
    width: 90%;
    height: 50px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    color: #DDDDDD;
}
.customer DIV.case-image > DIV > DIV > P.link {
    margin-top: 20px;
    text-align: center;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 18px;
    height: 18px;
}
@media screen and (min-width: 900px) {
    .customer A.case {
        width: 23%;
    }
}
*/
/** Common Bottom - Blog **/
/* article link */
.blog-articles {
    width: 100%;
    margin-bottom: 50px;
}
.blog-articles > .blog-link-title {
    width: 95%;
    max-width: 1010px;
    margin: 80px auto 30px auto;
}
.blog-articles > .blog-link-title > H2 {
    color: var(--hg-color-text);
    font-size: 24px;
    line-height: 120%;
    margin: 0 !important;
    font-weight: normal;
}
.blog-articles > .blog-link {
    width: 95%;
    max-width: 1010px;
    margin: 0 auto;
    display: grid;
}
@media (min-width: 981px) {
    .blog-articles > .blog-link {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-gap: 55px;
    }
}
@media (min-width: 501px) and (max-width: 980px) {
    .blog-articles > .blog-link {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 55px;
    }
}
@media (max-width: 500px) {
    .blog-articles > .blog-link {
        grid-template-columns: 1fr;
        row-gap: 55px;
    }
}
.blog-articles > .blog-link > .article {
    display: block;
    width: 100%;
}
.blog-articles > .blog-link > .article:hover {
    opacity: 0.7;
}
.blog-articles > .blog-link > .article > IMG {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.blog-articles > .blog-link > .article > H3.article-link {
    width: 100%;
    line-height: 150%;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}
.blog-articles > .blog-link > .article > P.article-info {
    width: 100%;
    line-height: 150%;
    font-size: 0.9rem;
    color: #666666;
    letter-spacing: 0.012em;
}
.blog-articles > .blog-link > .article > P.article-date {
    width: 100%;
    line-height: 200%;
    font-size: 0.8rem;
    text-align: right;
    color: #757575;
    margin-bottom: 0.5rem;
}


/** Info **/
.info-contents H1 {
    text-align: left !important;
    font-size: 32px !important;
}
.info-contents H3 {
    margin-top: 40px;
    font-size: 20px;
    color: #555555;
}
.info-top-image {
    width: 100%;
    height: auto;
}
.info-top-image > DIV {
    width: 100%;
    max-width: 1010px;
    height: auto;
    margin: 0 auto;
}
.info-top-image > DIV > IMG {
    width: 100%;
    height: auto;
}
.event-end {
    width: 100%;
    font-size: 24px;
    text-align: center;
    padding: 30px 0;
    color: #B40720;
    font-weight: 500;
}

/* misc */
.general-title {
    background-image: url('/tw/info/hennge-top-bg.jpeg');
}
.access-control-title {
    background-image: url('/tw/service/one/hde-one-access-bg.jpeg');
}
.email-archive-title {
    background-image: url('/tw/service/one/hennge-one-archive-bg.jpeg');
}
.case-index {
    background-image: url('/tw/cases/zh-case-top-bg.jpeg');
}
.cloud-title {
    background-image: url('/tw/images/title-back-grad.png');
}
.wp-title {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 300px;
    display: flex;
    align-items: center;
}
.wp-title > div {
    width: 100%;
    padding: 50px 20px;
}
.wp-title > div > h1 {
    text-align: center;
    font-size: 60px !important;
}
.wp-title > div > p {
    width: 70%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 21px;
}
#shadow-box {
    border-radius: 10px;
    -webkit-box-shadow: 0 3px 16px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
	-moz-box-shadow: 0 3px 16px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 16px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}
.email-archive H3 {
    color: #008E9E;
}
.secure-transfer H3 {
    color: #BE1B37;
}
.general H3 {
    color: #555555;
}
.services H3 {
    font-size: 28px;
    color: #555555;
}


@-webkit-keyframes bg-color {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes bg-color {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
#container .co-block {
    padding: 6rem 0;
}
#container .co-heading,.co-subheading{
    max-width:none;
    padding:0 1.5rem
}
@media (min-width:980px){
    #container .co-heading,.co-subheading{
        max-width:64vw
    }
}
#container .co-heading{
    margin:0 auto 4rem;
    padding:0 4rem
}
#container .co-subheading{
    margin:0 auto 2rem;
    padding:0 2rem
}
#container .co-subheading .co-sublede {
    font-size: 1.25rem;
}
#container .co-tit{
    font-size:1.25rem;
    text-align:center;
    margin-top:0;
    margin-bottom:2rem
}
@media (min-width:736px){
    #container .co-tit{
        font-size:2.5rem
    }
}
#container .co-lede {
    line-height: 1,7;
    margin-bottom: 0;
}
#container .co-body{
    max-width:none;
    margin:0 auto;
    padding:0 1.5rem
}
@media (min-width:980px){
    #container .co-body{
        max-width:70vw;
        padding:0 4rem
    }
}

#container .co-body.is-narrow{
    max-width:none;
    padding:0 1.5rem;
    margin:0 auto
}
@media (min-width:980px){
    #container .co-body.is-narrow{
        max-width:60vw;
        padding:0 4rem
    }
}

#container .co-body.is-wide{
    max-width:none;
    margin:0 auto;
    padding:0 1.5rem
}
@media (min-width:1280px){
    #container .co-body.is-wide{
        max-width:80rem;
        padding:0;
    }
}


/* Feature */

.one_feature{
    background-color:#f3f4f6
}
.one_feature .co-tit{
    letter-spacing:.2rem;
    margin-bottom:2rem
}
.one_feature .co-flex{
    display:flex;
    justify-content:space-evenly;
    flex-direction:column;
}
@media (min-width:736px){
    .one_feature .co-flex{
        flex-direction:row;
        flex-wrap:wrap
    }
}
@media (min-width:980px){
    .one_feature .co-flex{
        justify-content:center;
        flex-direction:row;
        flex-wrap:nowrap
    }
}
.one_feature .co-flexlast-of-type{
    margin-bottom:0
}
.one_feature .box{
    margin-bottom:2rem;
    background-color:#fff;
    border-radius:.25rem
}
.one_feature .box.box-single{
    flex-wrap:wrap;
    width:auto;
    margin-bottom: 1rem;
}
@media (min-width:736px){
    .one_feature .box.box-single{
        width:45%;
        margin:0 auto 2rem
    }
}
@media (min-width:980px){
    .one_feature .box.box-single{
        flex:1;
        width:auto;
        margin:0 1rem
    }
}
.one_feature .box_inner{
    padding:2rem 1.5rem
}
.one_feature .box_title{
    font-size:1.25rem;
    line-height:1;
    letter-spacing:.1rem;
    text-align:center;
    margin:0 auto 1.5rem;
    padding-bottom:1.5rem;
    border-bottom-width:2px;
    border-bottom-style:solid
}
.one_feature .box.box-single .box_title{
    font-size:1.25rem;
    line-height: 1.3;
    border-color:#4ca3e3
}
.one_feature .box_icon{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:3rem 0;
    background:linear-gradient(120deg,#4ca3e3,#2813d0);
    border-top-left-radius:.25rem;
    border-top-right-radius:.25rem
}
.one_feature .box .feature-single{
    padding-left:1rem;
    list-style:none
}
.one_feature .box .feature-single .feature_item{
    position:relative;
    margin-bottom:.75rem;
    list-style:none;
    font-size: 1rem;
    line-height: 1.3;
}
.one_feature .box .feature-single .feature_item:after{
    display:block;
    content:"";
    position:absolute;
    top:.5em;
    left:-1em;
    width:8px;
    height:3px;
    border-left:2px solid #2813d0;
    border-bottom:2px solid #2813d0;
    -webkit-transform:rotate(-45deg);
    transform:rotate(-45deg)
}
.one_feature .box .feature-single .feature_item .em {
    font-weight: 500;
}
.one_feature .box .btn{
    display:block;
    max-width:100%;
    line-height:1;
    text-decoration:none;
    text-align:center;
}
.one_feature .box .btn.is-large{
    padding:1.5rem;
    font-size:1.25rem
}
.one_feature .box .btn.is-small{
    padding:1rem;
    font-size:1rem
}
.one_feature .box .btn.is-lv1{
    border:1px solid var(--hg-color-primary);
    background-color:var(--hg-color-surface);
    color:var(--hg-color-primary)
}



.one_feature .box .tac{
    text-align:center
}
.one_feature .box .mt10{
    margin-top:1rem
}
.one_feature .box .mt20{
    margin-top:2rem
}
.one_feature .box .mt30{
    margin-top:3rem
}
.one_feature .box .mt40{
    margin-top:4rem
}
.one_feature .box .mt50{
    margin-top:5rem
}
.one_feature .box .mb10{
    margin-bottom:1rem
}
.one_feature .box .mb20{
    margin-bottom:2rem
}
.one_feature .box .mb30{
    margin-bottom:3rem
}
.one_feature .box .mb40{
    margin-bottom:4rem
}
.one_feature .box .mb50{
    margin-bottom:5rem
}



/* Pricing */
.one_pricing{
    position:relative;
    padding:0;
    background:linear-gradient(120deg,#1d2189,#009fc0,#1590d0,#1d2977,#a10b78);
    background-size:400% 100%;
    animation:bg-color 45s ease infinite;
    -webkit-animation:bg-color 45s ease infinite
}
.one_pricing:before{
    padding-bottom:100%
}
.one_pricing:after{
    position:absolute;
    bottom:0;
    left:0;
    z-index:0;
    display:block;
    content:"";
    width:100%;
    background-color:#d9e1e5
}
@media (min-width:768px){
    .one_pricing:after {
        height:48vh;
    }
}
.one_pricing .pricing-inner{
    position:relative;
    z-index:1;
    width:100%;
}
#pageContents .one_pricing .co-tit{
    letter-spacing:.2rem;
    margin-bottom:2rem;
    color:#fff
}
.one_pricing .co-lede,.one_pricing .co-sublede,.one_pricing .co-subtit,.one_pricing .co-tit{
    color:#fff;
    text-align:center
}
.one_pricing .co-lede{
    letter-spacing:.1rem;
    margin-bottom:4rem
}
.one_pricing .co-flex{
    display:flex;
    flex-direction:column;
    justify-content:center;
    margin-bottom:6rem
}
.one_pricing .co-flex:last-of-type{
    margin-bottom:0
}
@media (min-width:980px){
    .one_pricing .co-flex{
        flex-direction:row
    }
}
.one_pricing .box{
    margin-bottom:2rem;
    background-color:#fff;
    border-radius:.25rem;
    border:1px solid rgba(0,0,0,.12)
}
.one_pricing .box.box-suit{
    padding:2rem 1.5rem;
}
@media (min-width:980px){
    .one_pricing .box.box-suit{
        flex:1;
        padding:2rem;
        margin:0 1rem
    }
}
.one_pricing .box_title{
    font-size:1.25rem;
    line-height:1.3;
    letter-spacing:.1rem;
    text-align:center;
    margin:0 auto 1.5rem;
    padding-bottom:1.5rem;
    border-bottom-width:2px;
    border-bottom-style:solid
}
.one_pricing .box.box-sa .box_title{
    border-color:#7bbce5
}
.one_pricing .box.box-st .box_title{
    border-color:#3492c4
}
.one_pricing .box.box-biz .box_title{
    border-color:#00629f
}
.one_pricing .box_txt{
    line-height:1.7
}
.one_pricing .box_subtitle,.one_pricing .box_txt{
    margin-bottom:1rem;
    text-align:center
}
.one_pricing .per-usr{
    text-align:center
}
.one_pricing .pricing{
    margin:2.5rem 0
}
.one_pricing .per-usr{
    font-weight:700;
    letter-spacing:.1rem;
    margin-bottom:1rem
}
.one_pricing .supp {
    margin-top:.5rem;
    text-align:center;
    font-weight:700
}
.one_pricing .flex{
    display:flex;
    justify-content:center;
    align-items:flex-end
}
.one_pricing .base{
    margin-right:.75rem;
    align-self:center;
    line-height:1
}
.one_pricing .amount{
    font-size:4.5rem;
    font-weight:300;
    line-height:1
}
.one_pricing .unit{
    margin-left:.5rem;
    font-size:1.5rem
}
.one_pricing .feature{
    flex-direction:column;
    font-size:1rem;
    margin-bottom:1rem;
    padding-left:0
}
@media (min-width:736px){
    .one_pricing .feature{
        display:flex;
        flex-wrap:wrap;
        flex-direction:row
    }
}
@media (min-width:980px){
    .one_pricing .feature{
        display:flex;
        flex-wrap:wrap
    }
}
.one_pricing .feature.feature-suit .feature_item{
    background-color:#deeae7;
    border-radius:.25rem;
    width:auto;
    margin-bottom:.5rem;
    padding:.5rem 0;
    list-style:none;
    font-family:SF Pro Text,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
    text-align:center
}
@media (min-width:736px){
    .one_pricing .feature.feature-suit .feature_item{
        width:31%;
        margin:0 1% 1rem
    }
}
@media (min-width:980px){
    .one_pricing .feature.feature-suit .feature_item{
        width:100%;
        margin:0 0 .5rem
    }
}
.one_pricing .note {
  text-indent: -1rem;
  margin-bottom: 0;
  padding-left: 1.5rem;
  font-size: 0.88rem;
}
.one_pricing .note:before {
  content: "â€»";
  margin-right: 0.5rem;
}

.one_pricing .cta{
    text-align:center
}
.one_pricing .cta_txt{
    margin-bottom:1rem;
    color:rgba(0,0,0,.87)
}
.one_pricing .cta .btn{
    display:block;
    width:16rem;
    margin: 0 auto;
    padding:1.5rem;
    background-color:var(--hg-color-primary);
    color:var(--hg-color-surface);
    font-size:1.125rem;
    text-decoration:none;
    line-height:1;
}

/***********************/
/** HENNGE Workstyle **/
/***********************/
.workstyle-backgroud {
    background: linear-gradient(120deg, #a1db08, #80b44b, #008b94);
    background-size: 150% 100%;
    animation: bg-color 10s ease infinite;
    -webkit-animation: bg-color 10s ease infinite;
}
.workstyle-backgroud H2,
.workstyle-backgroud P {
    color: #FFFFFF;
}
.workstyle-index > DIV.contents-box > DIV {
    display: flex;
    align-items: center;
    justify-content: center;
}
.workstyle-index H2 {
    font-family: "helvetica";
    font-size: 68px !important;
    line-height: 1;
    letter-spacing: 0.001rem;
    margin-bottom: 0 !important;
}
.work-style-description {
    background: url(/jp/service/workstyle/images/common/bg_image01.gif) no-repeat center -30px;
    background-size: cover;
}
.workstyle-items {
    display: flex;
    flex-wrap: wrap;
}
.workstyle-items > DIV {
    min-width: 250px;
    flex: 1;
    padding: 2rem;
    margin: 1rem;
    background-color: #FFFFFF;
    border-radius: .25rem;
    border: 1px solid rgba(0,0,0,.12);

    display: flex;
    flex-direction: column;
}
.no-min-height > DIV {
    min-height: 0 !important;
}
.workstyle-products {
    display: flex;
    align-items: center;
    justify-content: center;
   margin-bottom: 20px;
}
.easy-check-in,
.workstyle-items .easy-check-in .link-btn {
    color: #008b94;
}
.workstyle-items .easy-check-in .link-btn:hover {
    color: #FFFFFF;
    background-color: #008b94;
}
.easy-check-in .icon {
    background-image: url(/jp/workstyle/images/common/icon_easy_checkin.svg);
}
.easy-check-in .image {
    background-image: url(/tw/service/workstyle/images/img-easy-checkin.svg);
}
.agile-meeting {
    color: #8fc10a;
}
.agile-meeting .icon {
    background-image: url(/jp/workstyle/images/common/icon_agilemeeting.svg);
}
.agile-meeting .image {
    background-image: url(/tw/service/workstyle/images/img-agile-meeting.svg);
}
.workstyle-products .icon {
    width: 46px;
    height: 46px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 10px;
}
.workstyle-products .name {
    font-family: "helvetica";
    font-size: 46px;
    line-height: 1;
    letter-spacing: 0.001rem;
    font-weight: 500;
}
.workstyle-products .image {
    width: 100%;
    height: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.workstyle-items .description {
    flex-grow: 1;
}
.workstyle-items .description P {
    color: #555555;
    font-size: 1.25rem;
    line-height: 180%;
    text-align: left;
}
.workstyle-items .detail-button {
    height: 70px;
}

/*** Easy Check-in ***/
.easy-checkin-page > DIV.contents-box > DIV {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.easy-checkin-page > DIV.contents-box > DIV > DIV:nth-child(1) {
    flex-grow: 2;
    flex-basis: 0;
    min-width: 300px;
}
.easy-checkin-page > DIV.contents-box > DIV > DIV:nth-child(2) {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 200px;
    height: 100%;
}
.top-ipad {
    background-image: url(/tw/service/workstyle/images/ipad-easy-checkin.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.easy-checkin-q {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}
.easy-checkin-q > DIV:nth-child(1) {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-right: 10px;
}
.easy-checkin-q > DIV:nth-child(2) {
    flex-grow: 1;
}
.easy-checkin-q > DIV:nth-child(2) > H3 {
    color: #008b94;
    text-align: left;
    font-size: 2rem;
}
.easy-checkin-q > DIV:nth-child(2) > P {
    text-align: left;
    color: #555555;
}
.easy-checkin-color-title {
    color: #008b94;
}
.easy-checkin-benefits {
    padding: 30px;
    background-color: #F2F2F2;
    border-radius: 10px;
}
.easy-checkin-benefits H4 {
    color: #008b94;
    font-size: 2rem;
    font-weight: 500;
}
.easy-checkin-benefits UL {
    list-style-type: square;
    padding-left: 30px;
}
.easy-checkin-benefits LI {
    font-size: 1.25rem;
    color: #555555;
}
.easy-checkin-note {
    font-size: 0.8rem;
    text-align: right;
    line-height: 180%;
}

/** blog **/
.medium-widget-article__image:hover {
    opacity: 0.8;
}

.medium-widget-article__title:hover {
    text-decoration: underline;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #000000; }
}

.stacked-linear {
  background:
linear-gradient(to bottom, white, 60%, rgba(255,255,255,0)),      
linear-gradient(130deg, #ffa745,20%, rgba(255,255,255,0)), 
linear-gradient(100deg, #fe869f, rgba(255,255,255,0)), 
linear-gradient(80deg, #ef7ac8, rgba(255,255,255,0)),
linear-gradient(60deg, #a083ed, rgba(255,255,255,0)),
linear-gradient(0deg, #43aeff, rgba(255,255,255,0))
}

#what-do-you-want-to-hennge {
margin:0 auto; font-size: 2.5rem; font-weight: 900; text-align: center; color: black;
}

@media  (min-width:1024px){
#what-do-you-want-to-hennge {
display: inline-block; 
margin: 0 auto; 
font-size: 3.5rem; 
font-weight: 900; 
color: black; 
text-align: left; 
overflow: hidden; 
border-right: .15em solid black; 
white-space: nowrap; 
animation: typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
 }
}

#resolution {
 margin:20px auto; font-size: 2.5rem; font-weight: 900; text-align: center; color: black;
}

@media  (min-width:1024px){
#resolution {
margin: -25px auto 0 auto; font-size: 3.5rem; font-weight: 900; text-align: center; color: black;
}
}

@media  (min-width:800px){
#right-text {
padding: 30px 0px 30px 500px;
 }
}

#cybersec-btn:hover {
  color: #ffffff !important;
  background-color: #666666 !important;
}

.info-date {
  color: #6E6E73;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}


/*** 
security news article link 
***/
.sec-news-link-area {
    width: 100%;
    margin-bottom: 50px;
}
.sec-news-link-area.footer-sec-news {
    max-width: 1010px;
    margin: 80px auto 50px auto;
}
.sec-news-link-area.footer-sec-news > .sec-news-link {
    width: 100%;
}
.sec-news-link-area.footer-sec-news > H2 {
    color: var(--hg-color-text);
    font-size: 24px;
    line-height: 120%;
    font-weight: normal;
    margin-bottom: 30px;
}
.sec-news-link-area.footer-sec-news H3 {
    width: 100%;
    font-size: 1.6rem !important;
    margin-top: 1rem;
    margin-bottom: 0.2rem;
    color: #888888;
    font-weight: 500;
}
.sec-news-link-area > .sec-news-link {
    width: 95%;
    max-width: 1010px;
    margin: 0 auto;
    display: grid;
}
@media (min-width: 981px) {
    .sec-news-link-area > .sec-news-link {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-gap: 55px;
    }
}
@media (min-width: 501px) and (max-width: 980px) {
    .sec-news-link-area > .sec-news-link {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 55px;
    }
}
@media (max-width: 500px) {
    .sec-news-link-area > .sec-news-link {
        grid-template-columns: 1fr;
        row-gap: 55px;
    }
}
.sec-news-link-area > .sec-news-link > .news-box {
    display: block;
    width: 100%;
    padding: 16px;
    border: 1px #E8E8E8 solid;
}
.sec-news-link-area > .sec-news-link > .news-box:hover {
    opacity: 0.7;
}
.sec-news-link-area > .sec-news-link > .news-box > IMG {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: contain;
}
.sec-news-link-area > .sec-news-link > .news-box > H3.news-link {
    width: 100%;
    line-height: 150%;
    font-size: 1.1rem;
    margin: 0.5rem 0;
    text-align: center;
}
.sec-news-link-area > .sec-news-link > .news-box > P.news-info {
    width: 100%;
    line-height: 150%;
    font-size: 0.9rem;
    color: #666666;
    letter-spacing: 0.012em;
}

/* ============================================================
 * Header / Footer — HENNGE Global style
 * Reference: https://hennge.com/global/ (.c-header / .c-footer)
 * Overrides the legacy black header & gray footer in styles.css.
 * ============================================================ */
/* Header height model (Global .c-header):
 *   open  = not scrolled  (PC 112px on home / 92px elsewhere, SP 99px)
 *   fixed = scrolled > 1px (PC 74px, SP 60px) — toggled by site.js setHeaderFixed()
 * Content is offset by the *open* height (Global keeps #app margin-top: 111px), so the
 * header shrinking on scroll never shifts the page. Declared on body so :has() overrides
 * resolve before the derived variables. */
body {
    --hg-ease: cubic-bezier(.16, 1, .3, 1);
    --hg-header-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
    --hg-footer-bg: #1a1a1a;
    --hg-footer-line: #4b4b4c;
    --hg-hdr-open: 99px;
    --hg-hdr-fixed: 60px;
    --hg-header-h: var(--hg-hdr-open);        /* content offset */
    --hg-header-now: var(--hg-hdr-open);      /* current visual height */
}
body:has(#header.is-fixed) {
    --hg-header-now: var(--hg-hdr-fixed);
}
@media screen and (min-width: 992px) {
    body {
        --hg-hdr-open: 92px;                  /* 40 + 32 + 20 */
        --hg-hdr-fixed: 74px;                 /* 20 + 32 + 22 */
    }
    body:has(#hg-hero) {
        --hg-hdr-open: 112px;                 /* home: 40 + 32 + 40 */
    }
}

/* SP overflow fixes: these legacy blocks were wider than the viewport, which widens the
   mobile layout viewport and pushes the fixed header / hamburger off-screen. */
.customer,
.sec-news-link-area > .sec-news-link > .news-box {
    box-sizing: border-box;          /* width:100% + padding overflowed */
}
.feature-box .contents-box > div:has(> embed.shrink) {
    overflow-x: clip;                /* HENNGE One logo animates from scale(3) */
}

/* ---------- Header: SP (< 992px) — Global (< 782px) ---------- */
@media screen and (max-width: 991px) {
    #header {
        height: var(--hg-hdr-open);           /* in-flow spacer, like Global #app margin-top */
    }
    #header .logo,
    .page_index #header .logo,
    .page_index.scroll #header .logo,
    .page_index #header.open .logo {
        height: var(--hg-header-now);
        background-color: var(--hg-color-surface);
        box-shadow: none;
        transition: height .5s var(--hg-ease);
    }
    #header.is-fixed .logo,
    .page_index #header.is-fixed .logo,
    .page_index.scroll #header.is-fixed .logo {
        box-shadow: var(--hg-header-shadow);
    }
    #header .logo a {
        position: absolute;
        top: 25px;
        left: 5.3333333333vw;
        width: 120px;
        height: auto;
        margin: 0;
        padding: 0;
        transition: top .5s var(--hg-ease);
    }
    #header.is-fixed .logo a {
        top: 18px;
    }
    #header .logo img {
        width: 100%;
        height: auto;
        margin: 0;
    }

    /* Hamburger: Global .c-nav__button (78×74 → 60, two 38px bars) */
    #header .nav_btn {
        left: auto;
        right: 0;
        width: 78px;
        height: 74px;
        transition: height .5s var(--hg-ease);
    }
    #header.is-fixed .nav_btn {
        height: 60px;
    }
    #header .nav_btn a {
        height: 100%;
    }
    #header .nav_btn:before {
        display: none;
    }
    #header .nav_btn a:before,
    #header .nav_btn a:after {
        width: 38px;
        margin: 0 0 0 -19px;
        border-top: 2px solid var(--hg-color-text);
        transition: transform .8s var(--hg-ease), width .8s var(--hg-ease), margin .8s var(--hg-ease);
    }
    #header.is-fixed .nav_btn a:before,
    #header.is-fixed .nav_btn a:after {
        margin-top: 1px;
    }
    #header .nav_btn a:before { transform: translateY(-5px); }
    #header .nav_btn a:after  { transform: translateY(3px); }
    #header.open .nav_btn a:before,
    #header.open .nav_btn a:after {
        width: 30px;
        margin-left: -15px;
        border-color: var(--hg-color-text);
    }
    #header.open .nav_btn a:before { transform: translateY(0) rotate(25deg); }
    #header.open .nav_btn a:after  { transform: translateY(0) rotate(-25deg); }

    /* Drawer */
    #header nav {
        top: var(--hg-header-now);
        background-color: var(--hg-color-surface);
        padding: 8px 20px 40px;
        transition: top .5s var(--hg-ease);
    }
    #header.showed nav {
        transition: transform .3s, top .5s var(--hg-ease);
    }
    #header nav > ul > li + li {
        border-top: 1px solid var(--hg-color-gray-200);
    }
    #header nav > ul > li > a {
        padding: 18px 0;
        color: var(--hg-color-text);
        font-size: 15px;
        font-weight: 700;
        letter-spacing: .04em;
    }
    #header nav .dd {
        background: none;
        text-indent: 0;
        padding: 0 0 12px;
    }
    #header nav .dd ul li,
    #header nav .dd ul li + li {
        border-top: none;
    }
    #header nav .dd a {
        padding: 8px 0 8px 1em;
        color: var(--hg-color-text-sub);
        font-size: 14px;
        letter-spacing: .04em;
    }
    #header nav .dd a:hover {
        background: none;
        opacity: .6;
    }
    /* language row: inline "EN / JA / TW" */
    #header nav .nav-lang > a { display: none; }
    #header nav .nav-lang .dd { padding-top: 20px; }
    #header nav .nav-lang .dd ul { display: flex; }
    #header nav .nav-lang .dd li + li::before { content: "/"; margin: 0 .5em; color: var(--hg-color-text); }
    #header nav .nav-lang .dd a { display: inline; padding: 0; font-weight: 700; color: var(--hg-color-gray-500); }
    #header nav .nav-lang .dd a[aria-current] { color: var(--hg-color-text); }
}

/* ---------- Header: PC (>= 992px) — Global (>= 782px) ---------- */
@media screen and (min-width: 992px) {
    #header {
        height: auto;
        padding: 40px 0 20px;
        transition: padding-block .5s var(--hg-ease);
    }
    body:has(#hg-hero) #header {
        padding-bottom: 40px;
    }
    #header.is-fixed,
    body:has(#hg-hero) #header.is-fixed {
        padding-block: 20px 22px;
    }
    #header::before {
        background-color: var(--hg-color-surface);
        box-shadow: none;
    }
    /* Shadow only once scrolled. With a sub-nav row, the shadow moves under that row. */
    #header.is-fixed::before {
        box-shadow: var(--hg-header-shadow);
    }
    body:has(.page_title.has_nav) #header.is-fixed::before {
        box-shadow: none;
    }

    #header .w {
        position: relative;
        width: 100%;
        max-width: 1366px;
        height: 32px;
        margin: 0 auto;
        padding: 0 2.9282576867vw;
    }
    #header .logo,
    .page_index #header .logo,
    .page_index.scroll #header .logo,       /* legacy: turns the logo box black after 200px */
    .page_index #header.open .logo {
        position: absolute;
        top: 0;
        left: 2.9282576867%;
        width: 150px;
        background: none;
        box-shadow: none;
    }
    #header .logo a {
        display: block;
        width: 100%;
        height: auto;
        padding: 0;
    }
    #header .logo img {
        display: block;
        width: 100%;
        height: auto;
    }

    #header nav {
        top: 4px;
        right: 2.9282576867vw;
        background: none;          /* legacy `background-color: none` is invalid, so #000 leaked */
    }
    #header nav > ul > li {
        margin-left: 23.3px;
    }
    #header nav > ul > li:first-child {
        margin-left: 0;
    }
    #header nav > ul > li.nav-lang {
        margin-left: 38px;
    }
    /* hover bridge between the item and its dropdown (Global: 4px ::after) */
    #header nav > ul > li::before {
        content: "";
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        height: 4px;
    }
    #header nav > ul > li > a {
        display: block;
        height: auto;
        padding: 0;
        color: var(--hg-color-text);
        font-size: 15px;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1.85;
    }
    #header nav > ul > li > a > * {
        display: inline;
        transition: opacity .8s var(--hg-ease);
    }
    #header nav > ul > li > a::after {
        content: none;
    }
    #header nav > ul > li:hover > a {
        background: none;
    }
    #header nav > ul > li:hover > a > * {
        opacity: .6;
    }

    /* Dropdown: white card that fades in (Global .c-header__menu) */
    #header nav .dd {
        top: 100%;
        left: -28px;
        min-width: 0;
        height: auto !important;          /* site.js animates height; Global fades instead */
        margin-top: 4px;
        overflow: visible;
        padding: 34px 29px;
        background-color: var(--hg-color-surface);
        border-radius: var(--hg-radius-sm);
        box-shadow: var(--hg-shadow-card);
        opacity: 0;
        visibility: hidden;
        transition: opacity .4s, visibility .4s;
    }
    #header nav li:hover > .dd,
    #header nav li:focus-within > .dd {
        opacity: 1;
        visibility: visible;
    }
    #header nav .dd ul {
        transform: none;
    }
    #header nav .dd ul li + li {
        border-top: none;
    }
    #header nav .dd a,
    #header nav li:last-child .dd a {
        padding: 0;
        color: var(--hg-color-text);
        font-size: 15px;
        font-weight: 700;
        letter-spacing: .06em;
        line-height: 1.85;
        transition: opacity .8s var(--hg-ease);
    }
    #header nav .dd a:hover {
        background: none;
        opacity: .6;
    }

    /* Language switcher: "TW ▾" like Global "EN ▾" */
    #header nav .nav-lang > a > span::after {
        content: "";
        display: inline-block;
        margin-left: 8px;
        vertical-align: 2px;
        border: 4px solid transparent;
        border-top: 5px solid currentColor;
        border-bottom: 0;
    }
    #header nav .nav-lang .dd {
        left: auto;
        right: -29px;
    }
    #header nav .nav-lang .dd a[aria-current] {
        opacity: .4;
    }

    /* Content offset: the open header height (does not change on scroll) */
    #container.one,
    #container.tw-blog,
    #container > section.tw-blog {
        padding-top: var(--hg-header-h) !important;
    }
    .header-space {
        height: var(--hg-header-h);
    }
}
@media screen and (min-width: 1024px) {
    #header .logo,
    .page_index #header .logo,
    .page_index.scroll #header .logo,
    .page_index #header.open .logo {
        width: 173px;
    }
}
@media screen and (min-width: 1366px) {
    #header .w { padding: 0 40px; }
    #header nav { right: 40px; }
}

/* ---------- Footer (Global .c-footer) ---------- */
#footer.tw-footer {
    margin-top: auto;
    padding: 56px 20px 48px;
    background-color: var(--hg-footer-bg);
    color: var(--hg-color-surface);
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: .04em;
    -webkit-font-smoothing: antialiased;   /* light text on dark bg */
    -moz-osx-font-smoothing: grayscale;
}
.tw-footer__inner {
    max-width: 1206px;
    margin: 0 auto;
}
#footer.tw-footer a[href] {
    color: var(--hg-color-surface);
    text-decoration: none;
    /* Global "line link": underline grows from the left on hover */
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .4s cubic-bezier(.16, 1, .3, 1);
}
#footer.tw-footer a[href]:hover,
#footer.tw-footer a[href]:focus-visible {
    background-size: 100% 1px;
}
.tw-footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
}
.tw-footer__head {
    font-size: 15px;
    font-weight: 700;
}
.tw-footer__sub {
    margin-top: 6px;
    font-size: 13px;
}
.tw-footer__sub li + li {
    margin-top: 2px;
}
.tw-footer__sns {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}
#footer .tw-footer__sns a[href],
#footer .tw-footer__sns a[href]:hover {
    display: block;
    background: none;
    transition: opacity .4s;
}
#footer .tw-footer__sns a[href]:hover {
    opacity: .7;
}
#footer .tw-footer__sns img {
    display: block;
    width: 40px;
    height: 40px;
}
.tw-footer__bottom {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--hg-footer-line);
}
.tw-footer__policy {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}
.tw-footer__lang {
    display: flex;
    margin-top: 24px;
    font-family: var(--hg-font-latin), sans-serif;
    font-size: 14px;
    letter-spacing: .02em;
}
.tw-footer__lang li + li::before {
    content: "/";
    margin: 0 .4em;
}
#footer .tw-footer__lang a[href] {
    color: var(--hg-color-gray-500);
}
#footer .tw-footer__lang a[aria-current] {
    color: var(--hg-color-surface);
}
.tw-footer__copyright {
    margin-top: 24px;
    font-family: var(--hg-font-latin), sans-serif;
    letter-spacing: .02em;
}
#footer .tw-footer__copyright small {
    display: inline;
    margin: 0;
    padding: 0;
    color: var(--hg-color-surface);
    font-size: 13px;
    font-weight: 400;
}

@media screen and (min-width: 768px) {
    #footer.tw-footer {
        padding: 74px 80px 69px;
    }
    .tw-footer__cols {
        display: flex;
        flex-wrap: wrap;
        gap: 32px 52px;
    }
    .tw-footer__sub {
        font-size: 14px;
    }
    .tw-footer__sns {
        justify-content: flex-end;
        margin-top: 80px;
    }
    .tw-footer__bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        margin-top: 30px;
        padding-top: 44px;
    }
    .tw-footer__policy {
        flex: 1 0 100%;
        font-size: 13px;
    }
    .tw-footer__copyright {
        margin: 0 0 0 auto;
    }
}

/* ---------- Sub navigation (.page_title.has_nav) — Global second header row ----------
 * Global (.c-header__right on section pages): right-aligned 14px bold links under the
 * main nav, active page underlined, orange pill CTA at the end, sticks with the header. */
:root {
    --hg-color-cta: #ee721a;           /* Global: .u-bg-yellow sub-nav CTA */
    --hg-subnav-h: 3rem;
}
.page_title.has_nav {
    background-color: var(--hg-color-surface);
    color: var(--hg-color-text);
    border-bottom: 1px solid var(--hg-color-gray-200);
}
.page_title.has_nav a {
    color: var(--hg-color-text);
}
.page_title.has_nav h1,
.tw-blog .page_title.has_nav .blog-nav > div:first-child a {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

/* SP: keep the "請選擇" selector, restyled to the white header */
@media screen and (max-width: 991px) {
    .page_title.has_nav > .w,
    .tw-blog .page_title.has_nav .blog-nav {
        gap: 16px;
        padding: 0 20px;
    }
    .page_title.has_nav > .w > div:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }
    #sub-nav-selector-container {
        flex: none;
        min-width: 8.5rem;              /* was 14rem: squeezed the section title onto 2 lines */
    }
    /* Blog: tw-blog.css fixes every .blog-nav DIV to 100px on narrow screens */
    .tw-blog .page_title.has_nav .blog-nav {
        flex-wrap: nowrap;
        align-items: center;
    }
    .tw-blog .page_title.has_nav .blog-nav > div {
        width: auto;
        margin: 0;
    }
    .tw-blog .page_title.has_nav .blog-nav > div:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }
    #sub-nav-selector-container dt {
        color: var(--hg-color-text);
        font-weight: 700;
        border-bottom: 1px solid var(--hg-color-gray-300);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%230d0d0d'/%3E%3C/svg%3E");
        background-size: 9px 6px;
    }
    #sub-nav-selector-container dt:hover {
        color: var(--hg-color-text);
        border-bottom-color: var(--hg-color-text);
    }
    #sub-nav-selector-container ul {
        z-index: 10;
        background-color: var(--hg-color-surface);
        border-radius: var(--hg-radius-sm);
    }
    #sub-nav-selector-container dt.open + dd ul {
        box-shadow: var(--hg-shadow-card);
    }
    #sub-nav-selector-container ul li + li {
        border-top: 1px solid var(--hg-color-gray-200);
    }
    #sub-nav-selector-container ul a {
        padding: 14px 16px;
        background-color: var(--hg-color-surface);
        color: var(--hg-color-text);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .04em;
    }
    #sub-nav-selector-container ul a:hover {
        background-color: var(--hg-color-gray-100);
    }
}

@media screen and (min-width: 992px) {
    /* Sticks right under the fixed header so both rows read as one header */
    .page_title.has_nav {
        position: sticky;
        top: var(--hg-header-now);              /* follows the header as it shrinks */
        z-index: 900;
        height: var(--hg-subnav-h) !important;   /* blog layouts set an inline height */
        border-bottom: 0;
        box-shadow: none;
        transition: top .5s var(--hg-ease);
    }
    body:has(#header.is-fixed) .page_title.has_nav {
        box-shadow: var(--hg-header-shadow);    /* shadow only once scrolled, like Global */
    }
    /* Blog list layouts wrap the sub-nav in a short <section class="tw-blog">, which would
       end the sticky range early. Let <main> be the sticky container instead. */
    #container > section.tw-blog:has(> .page_title.has_nav) {
        display: contents;
    }
    #container:has(> section.tw-blog > .page_title.has_nav) {
        padding-top: var(--hg-header-h);
    }
    .page_title.has_nav > .w,
    .tw-blog .page_title.has_nav .blog-nav {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        max-width: 1366px;
        height: 100%;
        margin: 0 auto;
        padding: 0 40px;
    }
    /* Global's second row has no section title — the page heading lives in the content.
       Keep it for screen readers / SEO, hide it visually. */
    .page_title.has_nav > .w > div:first-child,
    .tw-blog .page_title.has_nav .blog-nav > div:first-child {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .page_title.has_nav ul.pc,
    .tw-blog .page_title.has_nav nav.pc {
        display: flex !important;
        align-items: center;
        margin: 0;
    }
    .page_title.has_nav ul.pc li {
        padding: 0;
        margin-left: 18.5px;
    }
    .page_title.has_nav .pc a[href]:not(.tw-contact-button) {
        display: block;
        margin: 0;
        color: var(--hg-color-text);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1.85;
        text-decoration: none;
        transition: opacity .8s cubic-bezier(.16, 1, .3, 1);
    }
    .tw-blog .page_title.has_nav nav.pc a[href] {
        margin: 0 0 0 18.5px !important;          /* overrides inline margin-right on 所有文章 */
    }
    .page_title.has_nav .pc a[href]:not(.tw-contact-button):hover {
        opacity: .6;
        text-decoration: none;
    }
    .page_title.has_nav .pc a[href][aria-current="page"]:not(.tw-contact-button) {
        text-decoration: underline;
        text-decoration-color: #d9d9d9;          /* Global .c-header__active */
        text-underline-offset: .8em;
    }
    /* CTA: Global orange pill */
    .page_title.has_nav ul.pc li:has(> .tw-contact-button) {
        margin-left: 30px;
    }
    .page_title.has_nav .tw-contact-button {
        display: inline-block;
        height: 32px;
        padding: 0 23px;
        border: 1px solid var(--hg-color-cta);
        background-color: var(--hg-color-cta);
        color: var(--hg-color-surface) !important;
        font-size: 13px;
        line-height: 30px;
        letter-spacing: .04em;
        transition: background-color .4s, color .4s;
    }
    .page_title.has_nav .tw-contact-button:hover {
        background-color: var(--hg-color-surface);
        color: var(--hg-color-cta) !important;
    }
}

/* ---------- Home hero — same as hennge.com/global (#app) ----------
 * Canvas is drawn by /tw/hero.js (Paper.js). The message artwork switches by aspect ratio:
 * < .9 → type3 (stacked), < 1.5 → type1, ≥ 1.5 → type2 (wide). */
.hg-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1366px;
    min-height: 500px;
    height: calc(100svh - var(--hg-header-h));
    margin: 0 auto;
    background-color: var(--hg-color-surface);
    transition: opacity .4s ease-out;
}
.hg-hero.is_hide {
    opacity: 0;
    transition: opacity .1s ease-out;
}
.hg-hero canvas[resize] {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.hg-hero__message img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: none;
    margin: auto;
}
.hg-hero.type1 img.type1,
.hg-hero.type2 img.type2,
.hg-hero.type3 img.type3 {
    display: block;
}
.hg-hero.type1 img.type1 {
    width: 85%;
    height: auto;
    left: 15%;
}
.hg-hero.type2 img.type2 {
    width: 85%;
    height: auto;
    left: 10%;
}
.hg-hero.type3 img.type3 {
    width: auto;
    height: 70%;
}
