/*
Theme Name: 友成機工 Corporate Theme 1.24.29 ISO認証表記修正版
Theme URI: https://www.yusei.co.jp/
Author: 株式会社友成機工
Description: 株式会社友成機工の公式サイト用WordPressテーマ。YUSEI GROUPの国内外ネットワークを友成機工の強みとして紹介します。
Version: 1.24.29
Text Domain: yusei-theme
*/


:root{--navy:#06172b;--deep:#020c19;--blue:#0879f9;--red:#ef3340;--ink:#0b1b31;--muted:#627087;--line:#dbe2eb;--pale:#f3f6f9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:"Noto Sans JP","Noto Sans JP",Arial,sans-serif}a{color:inherit;text-decoration:none}.shell{width:min(1240px,calc(100% - 96px));margin-inline:auto}.site-header{position:fixed;z-index:50;top:0;left:0;right:0;height:84px;background:rgba(255,255,255,.98);border-bottom:1px solid rgba(10,30,55,.08)}.header-inner{height:100%;max-width:1480px;padding:0 32px;margin:auto;display:flex;align-items:center;gap:32px}.logo{display:flex;align-items:baseline;gap:8px;letter-spacing:-.04em;white-space:nowrap}.logo b{font:800 27px/1 Arial,sans-serif;color:#071b36}.logo span{font:700 11px/1 Arial,sans-serif;letter-spacing:.16em;color:#5a6b80}.site-header nav{display:flex;align-items:center;justify-content:center;gap:clamp(18px,2.1vw,38px);margin-left:auto}.site-header nav a{position:relative;padding:32px 0;font-size:13px;font-weight:700;white-space:nowrap}.site-header nav a:after{content:"";position:absolute;left:0;right:100%;bottom:22px;height:2px;background:var(--blue);transition:.25s}.site-header nav a:hover:after{right:0}.header-tools{display:flex;align-items:center;gap:20px;font:600 12px/1 Arial}.header-tools span b{color:var(--blue)}.contact-link{display:grid;place-items:center;height:84px;padding:0 28px;color:#fff;background:var(--blue);font-size:13px;letter-spacing:.08em}.mobile-menu{display:none}.hero{position:relative;height:clamp(760px,100vh,960px);min-height:760px;margin-top:84px;color:#fff;background:var(--deep) url('assets/images/yusei-hero.png') center/cover no-repeat;overflow:hidden}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,12,25,.9) 0%,rgba(3,17,34,.68) 38%,rgba(3,15,29,.05) 70%),linear-gradient(0deg,rgba(0,9,20,.88),transparent 50%)}.hero-content{position:relative;z-index:2;padding-top:105px}.eyebrow{font:700 12px/1.2 Arial;letter-spacing:.2em;color:var(--blue)}.eyebrow.light{color:#9ecaff}.hero h1{margin:25px 0 24px;font-size:clamp(58px,5.5vw,86px);line-height:1.25;letter-spacing:.04em;font-weight:700;text-shadow:0 3px 30px rgba(0,0,0,.25)}.hero h1:after{content:"";display:block;width:70px;height:3px;margin-top:30px;background:var(--red)}.hero-lead{font-size:19px;line-height:2;font-weight:600;letter-spacing:.08em}.hero-actions{display:flex;gap:20px;margin-top:32px}.button{min-width:220px;height:62px;padding:0 28px;display:inline-flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700;letter-spacing:.05em;transition:.22s ease}.button span{font-size:20px;transition:transform .22s}.button:hover span{transform:translateX(6px)}.button.primary{background:var(--blue);color:#fff}.button.primary:hover{background:#0568d7}.button.ghost{color:#fff;border:1px solid rgba(255,255,255,.7);background:rgba(7,23,44,.15);backdrop-filter:blur(4px)}.button.ghost:hover{background:#fff;color:var(--ink)}.button.outline{color:#fff;border:1px solid rgba(255,255,255,.48)}.button.white{background:#fff;color:var(--navy)}.metrics{position:absolute;z-index:2;left:50%;transform:translateX(-50%);bottom:30px;display:grid;grid-template-columns:1fr 1fr 1.35fr}.metrics>div{min-height:108px;display:flex;align-items:center;gap:18px;padding:0 34px;border-left:1px solid rgba(255,255,255,.3)}.metrics>div:first-child{border-left:0;padding-left:0}.metrics b{font:700 clamp(36px,4vw,56px)/1 Arial;letter-spacing:-.03em}.metrics span{font:700 15px/1.2 Arial;letter-spacing:.12em}.metrics small{display:block;margin-top:14px;font-size:11px;color:#aab7c8;white-space:nowrap}.scroll{position:absolute;z-index:3;right:28px;bottom:30px;writing-mode:vertical-rl;font:600 9px/1 Arial;letter-spacing:.28em;color:#aab7c8}.scroll i{width:1px;height:50px;display:block;margin:14px auto 0;background:linear-gradient(var(--blue),transparent)}.section{padding-block:130px}.section-label{display:flex;align-items:center;gap:12px;margin-bottom:35px;font:700 11px/1 Arial;letter-spacing:.19em;color:#718095}.section-label span{color:var(--blue)}.section-label.light{color:#93a3b7}.message-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:12%;align-items:start}.message-grid h2,.section-head h2,.network h2{margin:0;font-size:clamp(38px,4vw,58px);line-height:1.45;letter-spacing:.04em;font-weight:700}.message-grid>div p{margin:0 0 22px;color:#4e5b6e;font-size:16px;line-height:2.1}.text-link{display:inline-flex;align-items:center;gap:30px;padding-bottom:9px;margin-top:18px;border-bottom:1px solid var(--ink);font-size:13px;font-weight:700}.text-link span{color:var(--blue)}.capabilities{background:var(--pale)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:60px;margin-bottom:62px}.section-head>p{width:420px;margin:0;color:#59677a;font-size:14px;line-height:2}.capability-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.capability-card{background:#fff;box-shadow:0 4px 20px rgba(8,25,48,.05);transition:.3s}.capability-card:hover{transform:translateY(-8px);box-shadow:0 18px 50px rgba(8,25,48,.12)}.cap-visual{position:relative;height:240px;overflow:hidden;background:linear-gradient(135deg,#071b35,#145f9e)}.cap-visual:before,.cap-visual:after{content:"";position:absolute;border:1px solid rgba(128,201,255,.42);transform:rotate(-15deg)}.cap-visual:before{width:260px;height:120px;right:-30px;top:58px;box-shadow:0 0 40px rgba(0,146,255,.2)}.cap-visual:after{width:130px;height:190px;right:62px;top:25px}.cap-02{background:linear-gradient(140deg,#071326,#1376b7)}.cap-03{background:linear-gradient(140deg,#111d2f,#47566a)}.cap-visual span{position:absolute;left:25px;bottom:20px;font:800 42px/1 Arial;letter-spacing:.04em;color:rgba(255,255,255,.13)}.cap-copy{position:relative;padding:30px 30px 36px}.cap-copy small{font:700 10px/1 Arial;letter-spacing:.17em;color:var(--blue)}.cap-copy h3{margin:14px 0 15px;font-size:23px}.cap-copy p{min-height:75px;margin:0;color:#657185;font-size:13px;line-height:1.9}.cap-copy b{position:absolute;right:27px;bottom:22px;color:var(--blue);font-size:20px}.network{color:#fff;background:#06172b;overflow:hidden}.network-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:8%;align-items:center}.network h2{margin-bottom:30px}.network p{max-width:460px;color:#b0bdcc;line-height:2;font-size:14px}.network .button{margin-top:30px}.map-card{position:relative;height:470px;border:1px solid rgba(122,183,236,.2);background:radial-gradient(circle at 60% 45%,rgba(0,118,220,.22),transparent 45%),linear-gradient(rgba(100,180,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(100,180,255,.05) 1px,transparent 1px);background-size:auto,38px 38px,38px 38px;overflow:hidden}.map-card:before{content:"";position:absolute;inset:16% 8%;opacity:.32;background:radial-gradient(ellipse at 18% 43%,#5ca9e6 0 10%,transparent 11%),radial-gradient(ellipse at 47% 36%,#5ca9e6 0 14%,transparent 15%),radial-gradient(ellipse at 79% 48%,#5ca9e6 0 12%,transparent 13%);filter:blur(5px)}.map-lines{position:absolute;left:20%;top:43%;width:60%;height:2px;background:linear-gradient(90deg,transparent,#2d9fff,#ef3340,#2d9fff,transparent);transform:rotate(-3deg);box-shadow:0 0 12px #2d9fff}.base{position:absolute;z-index:2;display:flex;align-items:center;gap:8px;font:700 10px/1 Arial;letter-spacing:.14em}.base i{width:9px;height:9px;background:#55b9ff;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 6px rgba(60,168,255,.2)}.base-1{right:11%;top:42%}.base-2{right:24%;top:34%}.base-3{left:13%;top:45%}.base-4{left:51%;top:35%}.map-watermark{position:absolute;right:5%;bottom:5%;font:800 60px/.92 Arial;color:rgba(255,255,255,.035);text-align:right}.section-head.compact{margin-bottom:45px}.section-head.compact h2{font-size:42px}.news-list{border-top:1px solid var(--line)}.news-list a{min-height:86px;display:grid;grid-template-columns:130px 110px 1fr 30px;align-items:center;border-bottom:1px solid var(--line);transition:.2s}.news-list a:hover{padding-left:12px;color:var(--blue)}.news-list time{font:600 12px Arial;color:#68768a}.news-list em{justify-self:start;padding:6px 10px;border:1px solid #aab6c5;font:700 9px/1 Arial;font-style:normal;letter-spacing:.1em}.news-list span{font-size:14px}.news-list b{color:var(--blue)}.cta-band{padding:90px 0;color:#fff;background:linear-gradient(110deg,#0879f9,#0649a4)}.cta-band .shell{display:grid;grid-template-columns:1fr 1.5fr 1fr;align-items:center;gap:40px}.cta-band p{font:700 11px Arial;letter-spacing:.2em}.cta-band h2{margin:0;font-size:34px}.cta-band>div>div{display:flex;gap:10px}.cta-band .button{min-width:165px}footer{color:#bec8d6;background:#020b17;padding:90px 0 30px}.footer-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:80px;padding-bottom:70px}.footer-logo b{color:#fff;font-size:32px}.footer-logo span{color:#758399}.footer-grid>div>p{font-size:13px;letter-spacing:.16em}.footer-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:24px 40px}.footer-nav a{font-size:12px}.footer-nav a:hover{color:#fff}.copyright{display:flex;justify-content:space-between;padding-top:25px;border-top:1px solid #223044;font:600 9px Arial;letter-spacing:.14em}.page-hero{margin-top:84px;padding:110px 0 105px;color:#fff;background:linear-gradient(110deg,#06172b 10%,#0b3c6d 100%);position:relative;overflow:hidden}.page-hero:after{content:"";position:absolute;width:520px;height:520px;right:4%;top:-180px;border:1px solid rgba(100,190,255,.2);border-radius:50%;box-shadow:0 0 0 90px rgba(100,190,255,.04),0 0 0 180px rgba(100,190,255,.025)}.page-hero p{margin:0 0 20px;font:700 11px Arial;letter-spacing:.22em;color:#8fc9ff}.page-hero h1{margin:0 0 22px;font-size:clamp(42px,5vw,66px);letter-spacing:.05em}.page-hero span{color:#b8c7d8;font-size:15px}.breadcrumb{display:flex;gap:12px;padding-block:18px;color:#77869b;font-size:10px;border-bottom:1px solid var(--line)}.breadcrumb a{color:var(--blue)}.page-intro{padding:120px 0 95px}.page-intro h2{max-width:800px;margin:18px 0 0;font-size:clamp(36px,4vw,56px);line-height:1.55}.content-sections{padding-bottom:130px}.content-sections article{display:grid;grid-template-columns:100px 1fr;gap:55px;padding:60px 0;border-top:1px solid var(--line)}.content-number{font:600 12px Arial;color:var(--blue);letter-spacing:.18em}.content-sections h3{margin:0 0 24px;font-size:30px}.content-sections p{max-width:850px;margin:0;color:#586579;font-size:15px;line-height:2.1}.content-sections ul{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:35px 0 0;padding:0;list-style:none}.content-sections li{padding:20px;background:var(--pale);border-left:3px solid var(--blue);font-size:13px;font-weight:600}.page-contact{padding:90px 0;color:#fff;background:var(--navy)}.page-contact .shell{display:grid;grid-template-columns:.7fr 1.5fr .7fr;align-items:center;gap:40px}.page-contact p{font:700 10px Arial;letter-spacing:.19em;color:#8cbce6}.page-contact h2{font-size:28px;margin:0}
@media(max-width:1150px){.site-header nav{display:none}.header-tools span{display:none}.mobile-menu{display:block;margin-left:auto;position:relative}.mobile-menu summary{cursor:pointer;font:700 11px Arial;letter-spacing:.15em}.mobile-menu div{position:absolute;right:0;top:40px;width:260px;padding:22px;display:grid;gap:16px;background:#fff;box-shadow:0 15px 40px rgba(0,0,0,.15)}.mobile-menu a{font-size:13px}.header-tools{margin-left:auto}.header-tools+.mobile-menu{margin-left:0}}
@media(max-width:800px){.shell{width:min(calc(100% - 40px),1240px)}.site-header{height:68px}.header-inner{padding:0 18px}.contact-link{display:none}.logo b{font-size:23px}.hero,.page-hero{margin-top:68px}.hero{min-height:740px;height:calc(100svh - 68px);background-position:62% center}.hero-shade{background:linear-gradient(90deg,rgba(2,12,25,.94),rgba(3,17,34,.35)),linear-gradient(0deg,rgba(0,9,20,.93),transparent 55%)}.hero-content{padding-top:70px}.hero h1{font-size:48px}.hero-lead{font-size:15px}.hero-actions{flex-direction:column;align-items:flex-start}.button{height:56px;min-width:210px}.metrics{grid-template-columns:1fr 1fr;bottom:18px}.metrics>div{min-height:72px;padding:0 15px}.metrics>div:nth-child(3){display:none}.metrics b{font-size:34px}.metrics span{font-size:11px}.metrics small{font-size:8px}.scroll{display:none}.section{padding-block:85px}.message-grid,.network-grid,.footer-grid{grid-template-columns:1fr;gap:50px}.message-grid h2,.section-head h2,.network h2{font-size:36px}.section-head{display:block}.section-head>p{width:auto;margin-top:28px}.capability-grid{grid-template-columns:1fr}.map-card{height:350px}.news-list a{grid-template-columns:95px 1fr 24px;gap:10px;padding:20px 0}.news-list em{display:none}.cta-band .shell,.page-contact .shell{grid-template-columns:1fr}.cta-band>div>div{flex-wrap:wrap}.footer-nav{grid-template-columns:1fr 1fr}.copyright{gap:20px;flex-direction:column}.page-hero{padding:75px 0}.page-intro{padding:80px 0 65px}.content-sections article{grid-template-columns:45px 1fr;gap:15px;padding:45px 0}.content-sections h3{font-size:23px}.content-sections ul{grid-template-columns:1fr}.page-contact{padding:70px 0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.company-message{
    margin:15px 0 30px;
    line-height:1.9;
    color:#555;
}

.company-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    margin-bottom:40px;
}

.company-table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

.company-table th,
.company-table td{
    text-align:left;
}

.company-table th{
    width:180px;
    background:#003b73;
    color:#fff;
    padding:18px;
    text-align:left;
    vertical-align:top;
    font-weight:600;
}

.company-table td{
    padding:18px;
    background:#fff;
    border-bottom:1px solid #ececec;
}

.company-table tr:last-child td{
    border-bottom:none;
}

.company-table a{
    color:#0066cc;
    text-decoration:none;
}

.company-table a:hover{
    text-decoration:underline;
}

@media(max-width:768px){

.company-table th,
.company-table td{
    display:block;
    width:100%;
}

.company-table th{
    padding:12px 16px;
}

.company-table td{
    padding:14px 16px;
}

}

/* v1.22.0: News page — remove repeated lead copy and prioritize the article list. */
.news-page{padding:90px 0 130px}
.news-page-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);gap:9%;align-items:end;margin-bottom:52px}
.news-page-heading h2{margin:16px 0 0;font-size:clamp(38px,4vw,52px);line-height:1.35;letter-spacing:.04em}
.news-page-heading>p{max-width:480px;margin:0 0 6px;color:#5d6a7e;font-size:14px;line-height:2}
.news-page-list{border-top:1px solid var(--line)}
.news-page-item{border-bottom:1px solid var(--line)}
.news-page-item>a{min-height:150px;display:grid;grid-template-columns:170px 1fr 36px;gap:36px;align-items:center;padding:34px 12px;transition:.22s ease}
.news-page-item>a:hover{padding-left:24px;background:var(--pale)}
.news-page-meta{display:grid;gap:13px;align-content:center}
.news-page-meta time{font:600 13px Arial;color:#68768a}
.news-page-meta span{justify-self:start;padding:7px 11px;border:1px solid #aab6c5;font:700 9px/1 Arial;letter-spacing:.12em}
.news-page-copy h3{margin:0 0 10px;font-size:20px;line-height:1.6}
.news-page-copy p{margin:0;color:#657185;font-size:13px;line-height:1.9}
.news-page-item b{font-size:22px;color:var(--blue)}
.news-pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding-top:45px}
.news-pagination .page-numbers{min-width:42px;height:42px;padding:0 12px;display:grid;place-items:center;border:1px solid var(--line);font-size:12px;font-weight:700}
.news-pagination .current,.news-pagination a:hover{color:#fff;background:var(--blue);border-color:var(--blue)}
.news-empty{padding:55px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.news-empty p{margin:0 0 10px;font-size:18px;font-weight:700}
.news-empty small{color:var(--muted);line-height:1.8}
@media(max-width:800px){
.news-page{padding:58px 0 85px}
.news-page-heading{grid-template-columns:1fr;gap:20px;margin-bottom:34px}
.news-page-heading h2{font-size:30px}
.news-page-heading>p{font-size:13px;line-height:1.9}
.news-page-item>a{grid-template-columns:1fr 24px;gap:15px;padding:26px 0}
.news-page-meta{grid-column:1/-1;display:flex;align-items:center;gap:12px}
.news-page-copy h3{font-size:17px}
.news-page-copy p{font-size:12px}
}

/* Contact form */
.contact-form-section{padding:110px 0 130px;background:var(--pale)}
.contact-form-shell{max-width:980px}
.contact-form-shell>h2{margin:0 0 18px;font-size:clamp(34px,4vw,50px);line-height:1.4}
.contact-form-lead{margin:0 0 38px;color:#586579;line-height:1.9}
.required-mark{display:inline-block;margin-left:7px;padding:4px 7px;background:#ef3340;color:#fff;font:700 9px/1 Arial;letter-spacing:.08em;vertical-align:middle}
.yusei-contact-form{background:#fff;border:1px solid var(--line);box-shadow:0 8px 30px rgba(8,25,48,.05)}
.form-row{display:grid;grid-template-columns:260px 1fr;border-bottom:1px solid var(--line)}
.form-row>label{padding:27px 30px;background:#f8fafc;font-size:14px;font-weight:700;line-height:1.7}
.form-row>div{padding:20px 28px}
.yusei-contact-form input[type=text],.yusei-contact-form input[type=email],.yusei-contact-form input[type=tel],.yusei-contact-form select,.yusei-contact-form textarea{width:100%;border:1px solid #cdd6e1;background:#fff;padding:13px 15px;border-radius:2px;color:var(--ink);font:inherit;outline:none;transition:border-color .2s,box-shadow .2s}
.yusei-contact-form input:focus,.yusei-contact-form select:focus,.yusei-contact-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(8,121,249,.1)}
.yusei-contact-form textarea{resize:vertical;min-height:190px}
.form-consent{padding:28px;text-align:center;border-bottom:1px solid var(--line)}
.form-consent label{display:inline-flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.8}
.form-consent input{margin-top:5px}
.form-consent a{color:var(--blue);text-decoration:underline}
.form-submit{display:flex;justify-content:center;padding:32px}
.form-submit .button{border:0;cursor:pointer;font-family:inherit}
.contact-notice{margin:0 0 28px;padding:18px 20px;border-left:4px solid var(--blue);background:#fff;line-height:1.8}
.contact-notice.success{border-left-color:#138a55}
.contact-notice.error{border-left-color:#ef3340}
.contact-honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:800px){.contact-form-section{padding:75px 0 90px}.form-row{grid-template-columns:1fr}.form-row>label{padding:18px 20px}.form-row>div{padding:16px 20px}.form-consent{padding:22px 20px}.form-submit{padding:26px 20px}}

/* v1.23.0: Contact page clarity, richer consultation routes, and mobile form usability. */
.contact-page-intro{padding-bottom:78px}
.contact-intro-heading span{display:block}
.contact-info-sections{padding-bottom:100px}
.contact-info-sections article:first-child{padding-top:48px}
.contact-info-sections .company-card{margin:0 0 30px}
.content-sections .contact-topic-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:30px}
.content-sections .contact-topic-list li{min-width:0;min-height:108px;display:flex;align-items:flex-start;gap:14px;padding:22px 20px;border-left:0;border-top:3px solid var(--blue);background:var(--pale)}
.contact-topic-list>li>span{flex:0 0 auto;color:var(--blue);font:700 10px/1 Arial;letter-spacing:.14em}
.contact-topic-list strong{display:block;margin:-3px 0 9px;font-size:14px;line-height:1.6}
.contact-topic-list small{display:block;color:#647186;font-size:11px;font-weight:400;line-height:1.7}
.contact-form-section{scroll-margin-top:84px}
.contact-form-shell{max-width:1040px}
.yusei-contact-form input::placeholder,.yusei-contact-form textarea::placeholder{color:#98a4b4}
.yusei-contact-form select{cursor:pointer}
@media(max-width:800px){
  .contact-page-intro{padding-bottom:52px}
  .contact-intro-heading span{display:inline}
  .contact-info-sections{padding-bottom:72px}
  .contact-info-sections article:first-child{padding-top:36px}
  .contact-info-sections .company-card{margin-bottom:24px}
  .contact-info-sections .company-table th{padding:9px 14px;font-size:11px;letter-spacing:.04em}
  .contact-info-sections .company-table td{padding:12px 14px;font-size:13px;overflow-wrap:anywhere}
  .content-sections .contact-topic-list{grid-template-columns:1fr;gap:10px;margin-top:24px}
  .content-sections .contact-topic-list li{min-height:0;padding:18px 16px}
  .contact-form-shell>h2{font-size:30px;line-height:1.45}
  .contact-form-lead{font-size:13px;margin-bottom:28px}
  .yusei-contact-form input[type=text],.yusei-contact-form input[type=email],.yusei-contact-form input[type=tel],.yusei-contact-form select,.yusei-contact-form textarea{font-size:16px}
  .form-consent{text-align:left}
  .form-submit .button{width:100%;min-width:0}
}


/* v1.10.0: careers page and clearer global network links */
.network-company-list{display:grid;gap:12px;margin-top:30px}.network-company-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;background:#f3f6f9;border:1px solid #dbe2eb;border-left:4px solid #0879f9;transition:.2s ease}.network-company-card span{font-size:14px;font-weight:700;color:#0b1b31}.network-company-card b{font-size:12px;color:#0879f9;white-space:nowrap}.network-company-card:hover{background:#fff;transform:translateX(5px);box-shadow:0 8px 24px rgba(8,25,48,.08)}.network-company-card.is-static{border-left-color:#9aa8b8}.network-company-card.is-static b{color:#718095}.network-company-card.is-static:hover{transform:none;box-shadow:none;background:#f3f6f9}.careers-contact-button{margin-top:26px;min-width:280px}.careers-contact-button:hover{color:#fff}
@media(max-width:800px){.network-company-card{align-items:flex-start;flex-direction:column;gap:10px}.network-company-card b{white-space:normal}.careers-contact-button{min-width:0;width:100%;max-width:330px}}


/* Privacy policy */
.privacy-intro{padding-bottom:70px}.privacy-lead{max-width:900px;margin:28px 0 0;color:#586579;font-size:15px;line-height:2}.privacy-policy{padding-bottom:130px}.privacy-policy article{display:grid;grid-template-columns:100px 1fr;gap:55px;padding:55px 0;border-top:1px solid var(--line)}.privacy-policy h3{margin:0 0 22px;font-size:28px}.privacy-policy p{max-width:900px;margin:0;color:#586579;font-size:15px;line-height:2.1}.privacy-contact-card{max-width:900px;margin:25px 0 20px}.privacy-note{font-size:13px!important}.privacy-policy .company-table th{width:180px}
@media(max-width:800px){.privacy-intro{padding-bottom:55px}.privacy-policy{padding-bottom:85px}.privacy-policy article{grid-template-columns:45px 1fr;gap:15px;padding:42px 0}.privacy-policy h3{font-size:22px}.privacy-policy .company-table th,.privacy-policy .company-table td{display:block;width:100%}}

/* v1.12.0: smartphone layout refinements */
@media(max-width:800px){
  html,body{max-width:100%;overflow-x:hidden}
  .shell{width:calc(100% - 32px);max-width:1240px;margin-left:auto;margin-right:auto}
  .header-inner{padding-left:16px;padding-right:16px}
  .mobile-menu div{max-width:calc(100vw - 32px);right:0;padding:22px 20px;gap:17px}
  .mobile-menu a{display:block;padding:2px 0;font-size:14px;line-height:1.5}

  /* Top page: keep the second line from leaving a single orphan character. */
  .hero-content{padding-top:64px}
  .hero h1{font-size:clamp(38px,11vw,42px);line-height:1.28;letter-spacing:.015em}
  .hero-lead{font-size:14px;line-height:1.9;letter-spacing:.035em}

  /* Sub pages: slightly smaller headings and safe wrapping on narrow screens. */
  .page-hero{padding:68px 0 66px}
  .page-hero .shell{position:relative;z-index:2}
  .page-hero p{margin-bottom:17px;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
  .page-hero h1{margin-bottom:18px;font-size:clamp(32px,9.5vw,40px);line-height:1.3;letter-spacing:.025em;overflow-wrap:anywhere;word-break:normal}
  .page-hero span{display:block;max-width:100%;font-size:14px;line-height:1.8;overflow-wrap:break-word;word-break:normal}
  .breadcrumb{width:calc(100% - 32px);gap:10px;padding-block:16px;overflow:hidden}
  .page-intro{width:calc(100% - 32px);padding:70px 0 58px}
  .page-intro .eyebrow{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
  .page-intro h2{max-width:100%;font-size:clamp(28px,8.3vw,34px);line-height:1.58;letter-spacing:.015em;overflow-wrap:break-word;word-break:normal}
  .content-sections,.privacy-policy,.news-page{width:calc(100% - 32px);max-width:1240px;margin-left:auto;margin-right:auto}
  .content-sections article,.privacy-policy article{grid-template-columns:38px minmax(0,1fr);gap:12px}
  .content-sections article>div:last-child,.privacy-policy article>div:last-child{min-width:0}
  .content-sections h3{font-size:22px;line-height:1.5;overflow-wrap:break-word}
  .content-sections p,.privacy-policy p{font-size:14px;line-height:2}
  .content-sections li{min-width:0}

  /* News: prevent metadata/copy from creating horizontal overflow. */
  .news-page-item>a{min-width:0;max-width:100%}
  .news-page-copy,.news-page-meta{min-width:0}
  .news-page-copy h3,.news-page-copy p{overflow-wrap:break-word;word-break:normal}

  /* Network cards stay clearly tappable without overflowing. */
  .network-company-list{width:100%}
  .network-company-card{width:100%;min-width:0;padding:18px 20px}
  .network-company-card span,.network-company-card b{overflow-wrap:break-word;word-break:normal}

  /* Contact form: keep fields comfortably inside the viewport. */
  .contact-form-shell{width:calc(100% - 32px);max-width:1240px;margin-left:auto;margin-right:auto}
  .yusei-contact-form,.form-row,.form-row>div,.form-row input,.form-row select,.form-row textarea{min-width:0;max-width:100%}
  .form-consent label{align-items:flex-start}
}

@media(max-width:380px){
  .hero h1{font-size:38px}
  .page-hero h1{font-size:32px}
  .page-intro h2{font-size:28px}
  .logo b{font-size:22px}
  .logo span{font-size:10px}
}
/* v1.14: final smartphone typography adjustment */
@media(max-width:800px){
  /* Top page lead: avoid a one-character final line without changing desktop. */
  .hero-lead{font-size:13.5px;letter-spacing:.02em}

  /* About page title: keep the company name together more naturally. */
  .about-page-hero h1{font-size:clamp(28px,8.1vw,35px);letter-spacing:0}
}

/* v1.13.0: Global Network visual upgrade */
.map-card.map-card-image{
  min-height:470px;
  border:1px solid rgba(122,183,236,.25);
  background:#04172b url('assets/images/global-network-map.png') center center/cover no-repeat;
  box-shadow:0 22px 60px rgba(0,0,0,.18), inset 0 0 60px rgba(0,87,166,.12);
}
.map-card.map-card-image:before{display:none}
@media(max-width:800px){
  .map-card.map-card-image{
    min-height:0;
    height:auto;
    aspect-ratio:1448 / 1086;
    background-position:center center;
    background-size:contain;
    background-repeat:no-repeat;
  }
}
.capability-card > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
/* ===== ABOUT / PHILOSOPHY & CHAIRMAN MESSAGE ===== */
.about-head-office{padding-top:22px}
.about-head-office-image{overflow:hidden;border-radius:8px;box-shadow:0 18px 48px rgba(5,25,50,.12)}
.about-head-office-image img{display:block;width:100%;max-height:560px;object-fit:cover;object-position:center 8%}
.about-section-en{margin:0 0 10px!important;color:#0879f9!important;font:700 11px/1.3 Arial,sans-serif!important;letter-spacing:.2em}
.philosophy-panel{position:relative;padding:42px 48px;background:linear-gradient(135deg,#06172b,#0a3e72);color:#fff;overflow:hidden}
.philosophy-panel:after{content:"";position:absolute;width:260px;height:260px;right:-95px;top:-105px;border:1px solid rgba(121,197,255,.18);border-radius:50%;box-shadow:0 0 0 55px rgba(121,197,255,.04)}
.content-sections .philosophy-panel .philosophy-title{position:relative;z-index:1;max-width:none;margin:0 0 18px;color:#fff;font-size:clamp(28px,3.2vw,43px);font-weight:700;line-height:1.5;letter-spacing:.05em}
.content-sections .philosophy-panel>p:last-child{position:relative;z-index:1;max-width:780px;color:#d7e4f2;font-size:15px;line-height:2}
.credo-panel{display:grid;grid-template-columns:260px 1fr;gap:38px;align-items:center;margin-top:16px;padding:30px 38px;background:#f3f6f9;border-left:4px solid #0879f9}
.credo-panel>div{display:grid;gap:8px}
.credo-panel span{color:#0879f9;font-size:11px;font-weight:700;letter-spacing:.16em}
.credo-panel strong{font-size:31px;letter-spacing:.08em}
.content-sections .credo-panel p{max-width:none;color:#34465c;font-size:14px;line-height:1.9}
.chairman-message{display:grid;grid-template-columns:270px minmax(0,1fr);gap:52px;align-items:start}
.chairman-photo{position:relative;margin:0;padding:14px 14px 0;background:#fff;box-shadow:0 16px 42px rgba(5,25,50,.12)}
.chairman-photo:after{content:"";display:block;height:7px;margin:14px -14px 0;background:linear-gradient(90deg,#0879f9,#0b3c6d)}
.chairman-photo img{display:block;width:100%;height:auto;aspect-ratio:259/354;object-fit:cover;object-position:center top}
.chairman-caption{display:grid;gap:4px;padding:14px 4px 2px;text-align:center;color:#0b1b31}
.chairman-caption span{font-size:11px;font-weight:700;letter-spacing:.08em}
.chairman-caption strong{font-size:17px;letter-spacing:.08em}
.representative-signatures{display:grid;gap:8px;justify-content:end;margin-top:26px}
.content-sections .representative-signatures p{display:grid;grid-template-columns:auto auto;justify-content:end;align-items:baseline;gap:18px;max-width:none;margin:0;color:#0b1b31;font-size:13px;line-height:1.5;text-align:right}
.representative-signatures strong{font-size:20px;letter-spacing:.08em}

.content-sections .chairman-copy p{max-width:none;margin:0 0 18px;color:#3f5065;font-size:14px;line-height:2.05}
.chairman-signature{display:flex;justify-content:flex-end;align-items:baseline;gap:18px;padding-top:7px;color:#0b1b31!important;text-align:right}
.chairman-signature span{font-size:13px}
.chairman-signature strong{font-size:20px;letter-spacing:.08em}
/* ===== ABOUT / HISTORY ===== */
.history-section {
  margin-top: 0;
}

.history-section .content-number {
  color: #0879ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  padding-top: 8px;
}

.history-section .content-body h3 {
  font-size: 32px;
  color: #06172b;
  margin: 0 0 28px;
}

.history-list {
  border-top: 1px solid #d9e1e8;
}

.history-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #d9e1e8;
  align-items: start;
}

.history-year {
  color: #0879ff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .04em;
}

.history-text {
  color: #26384d;
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 800px) {
  .about-head-office{padding-top:16px}
  .about-head-office-image img{height:235px;object-fit:cover}
  .desktop-only{display:none}
  .philosophy-panel{padding:30px 24px}
  .content-sections .philosophy-panel .philosophy-title{font-size:27px;line-height:1.55}
  .content-sections .philosophy-panel>p:last-child{font-size:14px;line-height:1.9}
  .credo-panel{grid-template-columns:1fr;gap:18px;padding:25px 22px}
  .credo-panel strong{font-size:28px}
  .chairman-message{grid-template-columns:1fr;gap:32px}
  .chairman-photo{width:min(240px,85%);margin:0 auto}
  .content-sections .chairman-copy p{font-size:14px;line-height:2}
  .chairman-signature{display:grid;justify-content:end;gap:5px;margin-top:24px!important}
  .history-section {
    margin-top: 0;
  }

  .history-item {
    grid-template-columns: 90px 1fr;
    gap: 16px;
    padding: 18px 0;
  }

  .history-year {
    font-size: 20px;
  }

  .history-text {
    font-size: 14px;
  }
}
/* ===== ABOUT / ACCESS ===== */
.map-area {
  margin-top: 0;
}

.access-heading {
  margin-bottom: 30px;
}

.access-number {
  color: #0879ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  padding-top: 6px;
}

.access-en {
  margin: 0 0 6px;
  color: #0879ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.access-heading h4 {
  margin: 0;
  font-size: 32px;
  color: #06172b;
}

.access-info {
  margin-left: 114px;
  margin-bottom: 24px;
  padding: 22px 26px;
  background: #f5f8fb;
  border-left: 4px solid #0879ff;
}

.access-info p {
  margin: 5px 0;
  color: #26384d;
  font-size: 15px;
  line-height: 1.8;
}

.access-info p:first-child {
  color: #06172b;
  font-size: 17px;
}

.access-map {
  margin-left: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 20, 50, .08);
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

@media (max-width: 800px) {
  .access-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .access-info,
  .access-map {
    margin-left: 0;
  }

  .access-map iframe {
    height: 300px;
  }

  .access-heading h4 {
    font-size: 28px;
  }
}
/* ===== BUSINESS FEATURES ===== */
.business-feature {
    display: grid !important;
    grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.35fr) !important;
    gap: 60px !important;
    align-items: center !important;
    margin: 70px 0 !important;
}

.business-feature-copy {
    width: auto !important;
    min-width: 0 !important;
    padding: 10px 0;
}

.business-feature .content-number {
    margin-bottom: 8px;
    color: #0879ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
}

.business-feature-en {
    margin: 0 0 12px;
    color: #0879ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.business-feature h3 {
    font-size: 34px !important;
    line-height: 1.35 !important;
    margin: 8px 0 24px !important;
    word-break: normal !important;
}

.business-feature-lead {
    margin: 0 0 18px;
    color: #26384d;
    font-weight: 600;
}

.business-feature-text {
    margin: 0 0 28px;
    color: #5b6b7d;
}

.business-feature-lead,
.business-feature-text {
    width: auto !important;
    max-width: none !important;
    font-size: 15px !important;
    line-height: 2 !important;
    word-break: normal !important;
}

.business-feature-points {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-top: 26px !important;
}

.business-feature-points div {
    padding: 14px 16px;
    background: #f3f6f9;
    border-left: 3px solid #0879ff;
    color: #06172b;
    font-size: 14px;
    font-weight: 700;
}

.business-feature-image {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
}

.business-feature-image img {
    display: block !important;
    width: 100% !important;
    height: 430px !important;
    min-height: 0 !important;
    object-fit: cover !important;
}

/* スマートフォン */
@media (max-width: 800px) {
    .content-sections > article.business-feature {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        margin: 0 !important;
        padding: 40px 0 !important;
    }

    .business-feature-copy {
        order: 1;
        width: 100% !important;
    }

    .business-feature-image {
        order: 2;
    }

    .business-feature h3 {
        font-size: 28px !important;
    }

    .business-feature-points {
        grid-template-columns: 1fr !important;
    }

    .business-feature-image img {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 4 / 3 !important;
    }
}
/* ===== 04 INTEGRATED PRODUCTION ===== */

.content-sections > article.business-flow {
  display: block;
  width: 100%;
  max-width: none;
  margin: 110px 0 0;
  padding: 64px 56px;
  background: #06172b;
  color: #fff;
}

.business-flow .content-number {
  color: #2f8cff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 10px;
}

.business-flow .business-feature-en {
  margin: 0 0 14px;
  color: #7ab6ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.business-flow h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 36px;
  line-height: 1.35;
}

.business-flow .business-feature-lead {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
}

.business-flow .business-feature-text {
  max-width: 820px;
  margin: 0 0 42px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 2;
}

.business-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 100%;
}

.business-flow-steps > div {
  position: relative;
  min-height: 150px;
  padding: 28px 24px;
  background: rgba(255,255,255,.07);
  border-top: 3px solid #1683ff;
}

.business-flow-steps > div:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 2;
  transform: translateY(-50%);
  color: #5ba6ff;
  font-size: 24px;
  font-weight: 700;
}

.business-flow-steps span {
  display: block;
  margin-bottom: 18px;
  color: #64adff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.business-flow-steps strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.6;
}

/* スマートフォン */
@media (max-width: 800px) {
  .content-sections > article.business-flow {
    margin: 70px 0 0;
    padding: 42px 24px;
  }

  .business-flow h3 {
    font-size: 28px;
  }

  .business-flow .business-feature-lead {
    font-size: 18px;
  }

  .business-flow-steps {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .business-flow-steps > div {
    min-height: auto;
    padding: 20px;
  }

  .business-flow-steps > div:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 22px;
    bottom: -19px;
    transform: none;
  }
}
/* Keep the integrated-production copy full width. */
.business-flow .content-number,
.business-flow .business-feature-en,
.business-flow h3,
.business-flow .business-feature-lead,
.business-flow .business-feature-text,
.business-flow .business-flow-steps {
  width: 100% !important;
  max-width: none;
}

.content-sections > .business-feature {
  margin-top: 60px !important;
  margin-bottom: 70px !important;
}

.page-contact {
  margin-top: 0 !important;
}

/* 事業紹介：04とお問い合わせの間の余白を縮める */
.content-sections:has(.business-flow) {
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
}

.content-sections:has(.business-flow) .business-flow {
    margin-bottom: 0 !important;
}

.content-sections:has(.business-flow) + .page-contact {
    margin-top: 0 !important;
}
/* ===== Global Network Movie ===== */

.global-movie {
    margin-top: 60px;
    margin-bottom: 80px;
}

.global-movie-heading {
    margin-bottom: 24px;
}

.global-movie-heading h2 {
    font-size: 28px;
    line-height: 1.5;
    margin: 8px 0 0;
}

.global-movie-video {
    width: 100%;
    max-width: 1000px;
}

.global-movie-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 30, 60, 0.12);
}

/* スマートフォン */
@media (max-width: 800px) {
    .global-movie {
        margin-top: 40px;
        margin-bottom: 55px;
    }

    .global-movie-heading h2 {
        font-size: 22px;
    }

    .global-movie-video {
        max-width: 100%;
    }

    .global-movie-video video {
        border-radius: 5px;
    }
}
/* ===== 技術・品質ページ：写真付きレイアウト ===== */

.combined-section-intro {
    padding-top: 110px;
    padding-bottom: 55px;
    border-top: 1px solid var(--line);
}

.combined-section-lead {
    max-width: 850px;
    margin: 28px 0 0;
    color: #586579;
    font-size: 15px;
    line-height: 2;
}

.content-sections > article.technology-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) minmax(360px, 520px);
    gap: 44px;
    align-items: center;
    padding: 70px 0;
    border-bottom: 1px solid #dfe6ee;
}

.technology-item .content-number {
    align-self: start;
    padding-top: 8px;
}

.technology-text h3 {
    margin: 0 0 22px;
}

.technology-text p {
    line-height: 2;
    margin: 0;
}

.technology-item .technology-image {
    width: 520px;
    max-width: 100%;
    height: 340px;
}

.technology-item .technology-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 02だけ写真を左側に */
.technology-reverse .technology-image {
    grid-column: 2;
    grid-row: 1;
}

.technology-reverse .technology-text {
    grid-column: 3;
    grid-row: 1;
}

.technology-reverse .content-number {
    grid-column: 1;
    grid-row: 1;
}

/* 成形技術の項目 */
.technology-text ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.technology-text li {
    padding: 14px 16px;
    background: #f3f6f9;
    border-left: 3px solid #1683ff;
    font-weight: 700;
    font-size: 14px;
}

/* スマートフォン */
@media (max-width: 800px) {

    .combined-section-intro {
        padding-top: 75px;
        padding-bottom: 35px;
    }

    .combined-section-lead {
        margin-top: 22px;
        font-size: 14px;
        line-height: 1.9;
    }

    .content-sections > article.technology-item {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
        padding: 48px 0 !important;
    }

    .technology-item .content-number,
    .technology-reverse .content-number,
    .technology-reverse .technology-text,
    .technology-reverse .technology-image {
        grid-column: 1;
        grid-row: auto;
    }

    .technology-text ul {
        grid-template-columns: 1fr;
    }

    .technology-item .technology-image {
        width: 100%;
        height: auto;
        margin-top: 5px;
    }

    .technology-item .technology-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }
}
/* ===== QUALITY section final design ===== */

/* QUALITY見出し周りの余白を調整 */
.quality-intro {
    padding-top: 110px !important;
    padding-bottom: 20px !important;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
    border-top: 1px solid var(--line);
}

.quality-intro h2 {
    margin-bottom: 0 !important;
}

/* QUALITY各項目 */
.quality-intro + .content-sections article {
    background: #f7f9fc;
    border-left: 4px solid #1683ff;
    padding: 34px 38px !important;
    margin-bottom: 26px !important;
    border-radius: 4px;
}

/* 番号 */
.quality-intro + .content-sections .content-number {
    color: #1683ff;
    font-weight: 700;
}

/* 見出し */
.quality-intro + .content-sections h3 {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 18px;
}

/* 説明文 */
.quality-intro + .content-sections p {
    line-height: 1.9;
    margin-bottom: 0;
}

/* 工程保証の3項目 */
.quality-intro + .content-sections ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}

.quality-intro + .content-sections li {
    background: #ffffff;
    border-left: 3px solid #1683ff;
    padding: 15px 18px;
    font-weight: 700;
    font-size: 14px;
}

/* QUALITY下の余白を少し縮める */
.quality-intro + .content-sections {
    padding-top: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 50px !important;
}

/* スマートフォン */
@media (max-width: 800px) {

    .quality-intro {
        padding-top: 75px !important;
        margin-top: 30px !important;
        margin-bottom: 0 !important;
    }

    .quality-intro + .content-sections article {
        padding: 26px 22px !important;
    }

    .quality-intro + .content-sections h3 {
        font-size: 22px;
    }

    .quality-intro + .content-sections ul {
        grid-template-columns: 1fr;
    }
}
/* 株式会社友成機工をサイトの主語として明示するブランド表記 */
.company-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
}

.company-logo img {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
}

.footer-logo {
    width: fit-content;
    padding: 8px;
    background: #fff;
}

.footer-logo img {
    width: 280px;
}

@media (max-width: 800px) {
    .header-inner {
        gap: 16px;
    }

    .site-header .company-logo img {
        width: 190px;
    }
}

@media (max-width: 380px) {
    .site-header .company-logo img {
        width: 172px;
    }
}

/* v1.21.1: Sustainability — Tomonari Kiko's manufacturing responsibility. */
.sustainability-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    column-gap: 10%;
    align-items: end;
    padding-top: 90px;
    padding-bottom: 72px;
}

.sustainability-intro .eyebrow {
    grid-column: 1 / -1;
}

.sustainability-intro h2 {
    margin-bottom: 0;
}

.sustainability-lead {
    margin: 0 0 10px;
    color: #526177;
    font-size: 15px;
    line-height: 2.15;
}

.sustainability-page {
    padding-bottom: 128px;
}

.sustainability-index {
    color: var(--blue);
    font: 700 12px/1 Arial, sans-serif;
    letter-spacing: .2em;
}

.sustainability-policy {
    display: grid;
    grid-template-columns: 64px minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 36px;
    align-items: stretch;
    padding: 0 0 120px;
}

.sustainability-policy-copy {
    padding: 54px 42px 52px;
    background: var(--pale);
    border-top: 3px solid var(--blue);
}

.sustainability-policy-copy h2,
.sustainability-heading h2,
.sustainability-network h2 {
    margin: 18px 0 25px;
    font-size: clamp(34px, 3.6vw, 52px);
    line-height: 1.45;
    letter-spacing: .04em;
}

.sustainability-policy-copy > p:last-child,
.sustainability-heading > div > p:last-child,
.sustainability-network > div:last-child > p {
    margin: 0;
    color: #526177;
    font-size: 14px;
    line-height: 2.1;
}

.sustainability-policy-statement {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 48px;
    color: #fff;
    background: linear-gradient(135deg, #06172b, #0b3d71);
    overflow: hidden;
}

.sustainability-policy-statement::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -105px;
    top: -115px;
    border: 1px solid rgba(105, 185, 255, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 50px rgba(105, 185, 255, .04);
}

.sustainability-policy-statement span {
    position: relative;
    z-index: 1;
    color: #78bdff;
    font: 700 10px/1 Arial, sans-serif;
    letter-spacing: .22em;
}

.sustainability-policy-statement strong {
    position: relative;
    z-index: 1;
    display: block;
    margin: 22px 0 25px;
    font-size: clamp(26px, 2.5vw, 38px);
    line-height: 1.55;
    letter-spacing: .06em;
}

.sustainability-policy-statement small {
    position: relative;
    z-index: 1;
    color: #c4d2e1;
    font-size: 13px;
    line-height: 2;
}

.sustainability-focus {
    padding: 118px 0 124px;
    background: var(--pale);
}

.sustainability-heading {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 36px;
    margin-bottom: 55px;
}

.sustainability-heading h2 {
    margin-bottom: 16px;
}

.sustainability-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-left: 100px;
}

.sustainability-cards article {
    min-width: 0;
    padding: 38px 32px 34px;
    background: #fff;
    border-top: 3px solid var(--blue);
    box-shadow: 0 14px 36px rgba(9, 28, 52, .06);
}

.sustainability-cards article > span {
    color: var(--blue);
    font: 700 9px/1.3 Arial, sans-serif;
    letter-spacing: .16em;
}

.sustainability-cards h3 {
    margin: 19px 0 18px;
    font-size: 24px;
    line-height: 1.45;
}

.sustainability-cards p {
    min-height: 118px;
    margin: 0;
    color: #59687c;
    font-size: 13px;
    line-height: 2;
}

.sustainability-cards ul {
    margin: 28px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.sustainability-cards li {
    position: relative;
    margin-top: 11px;
    padding-left: 16px;
    color: #263a52;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
}

.sustainability-cards li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 6px;
    height: 2px;
    background: var(--blue);
}

.sustainability-network {
    display: grid;
    grid-template-columns: 64px minmax(300px, .8fr) minmax(0, 1.2fr);
    gap: 36px;
    align-items: start;
    padding-top: 120px;
}

.sustainability-network h2 {
    margin-top: 18px;
}

.sustainability-network > div:last-child {
    padding: 65px 0 0 10%;
    border-left: 1px solid var(--line);
}

.sustainability-network .text-link {
    margin-top: 32px;
}

@media (max-width: 900px) {
    .sustainability-intro {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .sustainability-policy {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 20px;
    }

    .sustainability-policy-statement {
        grid-column: 2;
    }

    .sustainability-cards {
        grid-template-columns: 1fr;
        padding-left: 80px;
    }

    .sustainability-cards p {
        min-height: 0;
    }

    .sustainability-network {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 20px;
    }

    .sustainability-network > div:last-child {
        grid-column: 2;
        padding: 0;
        border-left: 0;
    }
}

@media (max-width: 600px) {
    .sustainability-hero span {
        font-size: 13px;
        line-height: 1.8;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .sustainability-intro {
        width: calc(100% - 40px);
        padding-top: 50px;
        padding-bottom: 56px;
    }

    .sustainability-intro h2 {
        font-size: 27px;
        line-height: 1.5;
        letter-spacing: 0;
        word-break: keep-all;
    }

    .sustainability-lead {
        font-size: 14px;
        line-height: 2;
    }

    .sustainability-page {
        padding-bottom: 82px;
    }

    .sustainability-policy,
    .sustainability-network {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sustainability-policy {
        padding-bottom: 80px;
    }

    .sustainability-policy-copy,
    .sustainability-policy-statement {
        grid-column: 1;
        padding: 38px 24px;
    }

    .sustainability-policy-copy h2 {
        font-size: 25px;
        line-height: 1.5;
        letter-spacing: .02em;
        word-break: keep-all;
    }

    .sustainability-heading h2,
    .sustainability-network h2 {
        font-size: 30px;
        line-height: 1.5;
    }

    .sustainability-policy-statement strong {
        font-size: 27px;
    }

    .sustainability-focus {
        padding: 78px 0 82px;
    }

    .sustainability-heading {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 38px;
    }

    .sustainability-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding-left: 0;
    }

    .sustainability-cards article {
        padding: 32px 24px 30px;
    }

    .sustainability-cards h3 {
        font-size: 22px;
    }

    .sustainability-network {
        padding-top: 80px;
    }

    .sustainability-network > div:last-child {
        grid-column: 1;
        padding-top: 4px;
    }
}

@media (max-width: 340px) {
    .sustainability-hero span {
        font-size: 12px;
    }
}

/* v1.20.0: Header pattern A — Tomonari Kiko is the primary brand. */
.company-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    color: var(--ink);
    white-space: nowrap;
}

.company-brand-mark {
    display: block;
    width: 54px;
    height: 52px;
    flex: 0 0 auto;
    object-fit: contain;
}

.company-brand-copy {
    display: block;
    margin-left: 14px;
    padding-left: 15px;
    border-left: 1px solid #cfd8e3;
    line-height: 1;
}

.company-brand-copy strong {
    display: block;
    color: #071b36;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: .035em;
}

.company-brand-copy small {
    display: block;
    margin-top: 7px;
    color: #66758a;
    font: 700 8px/1 Arial, sans-serif;
    letter-spacing: .2em;
}

.company-brand:hover .company-brand-copy strong {
    color: var(--blue);
}

@media (max-width: 1280px) and (min-width: 1151px) {
    .header-inner {
        gap: 22px;
        padding-inline: 24px;
    }

    .company-brand-mark {
        width: 48px;
        height: 46px;
    }

    .company-brand-copy {
        margin-left: 11px;
        padding-left: 12px;
    }

    .company-brand-copy strong {
        font-size: 17px;
    }

    .site-header nav {
        gap: 17px;
    }

    .contact-link {
        margin-left: 0;
        padding-inline: 20px;
    }
}

@media (max-width: 800px) {
    .site-header {
        height: 72px;
    }

    .hero,
    .page-hero {
        margin-top: 72px;
    }

    .company-brand-mark {
        width: 42px;
        height: 41px;
    }

    .company-brand-copy {
        margin-left: 9px;
        padding-left: 10px;
    }

    .company-brand-copy strong {
        font-size: 14px;
        letter-spacing: .02em;
    }

    .company-brand-copy small {
        margin-top: 4px;
        font-size: 7px;
        letter-spacing: .15em;
    }
}

@media (max-width: 380px) {
    .header-inner {
        gap: 10px;
        padding-inline: 13px;
    }

    .company-brand-mark {
        width: 38px;
        height: 37px;
    }

    .company-brand-copy {
        margin-left: 7px;
        padding-left: 8px;
    }

    .company-brand-copy strong {
        font-size: 12.5px;
    }

    .company-brand-copy small {
        font-size: 6.5px;
        letter-spacing: .1em;
    }
}

/* v1.14.2: final smartphone override for the top-page business cards. */
@media (max-width: 800px) {
    .capabilities .capability-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px;
    }

    .capabilities .capability-card {
        display: block;
        width: 100%;
        min-width: 0;
        writing-mode: horizontal-tb;
    }

    .capabilities .capability-card > img {
        width: 100%;
        height: 190px;
        object-fit: cover;
    }

    .capabilities .cap-copy h3,
    .capabilities .cap-copy p {
        writing-mode: horizontal-tb;
        word-break: normal;
        overflow-wrap: break-word;
    }
}

/* ===== BUSINESS & TECHNOLOGY: five-section structure ===== */
.bt-section {
    padding-top: 110px;
    padding-bottom: 110px;
}

.bt-section + .bt-section {
    border-top: 1px solid var(--line);
}

.bt-section-heading {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    margin-bottom: 48px;
}

.bt-section-heading > span {
    padding-top: 8px;
    color: var(--blue);
    font: 700 13px/1 Arial, sans-serif;
    letter-spacing: .15em;
}

.bt-section-heading p {
    margin: 0 0 12px;
    color: var(--blue);
    font: 700 11px/1.3 Arial, sans-serif;
    letter-spacing: .2em;
}

.bt-section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.45;
}

.bt-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
    gap: 70px;
    align-items: center;
}

.bt-copy > p:not(.bt-role),
.bt-section-lead {
    color: #586579;
    font-size: 15px;
    line-height: 2;
}

.bt-copy .bt-lead {
    margin: 0 0 18px;
    color: #20354c;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.8;
}

.bt-copy > p:not(.bt-role):not(.bt-lead) {
    margin: 0;
}

.bt-role {
    display: inline-flex;
    width: auto;
    margin: 0 0 20px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .08em;
}

.bt-role.is-yusei {
    color: #fff;
    background: var(--navy);
}

.bt-role.is-group {
    color: #075ec5;
    background: #e8f3ff;
}

.bt-figure {
    margin: 0;
    overflow: hidden;
    background: #eaf0f6;
}

.bt-figure img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.bt-technology-grid {
    display: grid;
    gap: 10px;
    margin-top: 30px;
}

.bt-technology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bt-technology-grid > div {
    padding: 22px;
    background: #f6f8fb;
    border-top: 3px solid var(--blue);
}

.bt-technology-grid strong {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 15px;
}

.bt-technology-grid p {
    margin: 0;
    color: #637187;
    font-size: 13px;
    line-height: 1.8;
}

.bt-group {
    background: var(--pale);
}

.bt-group .bt-section-lead,
.bt-quality .bt-section-lead {
    max-width: 900px;
    margin: -18px 0 42px 100px;
}

.bt-group-grid,
.bt-quality-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bt-group-grid article {
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 26px rgba(8,25,48,.07);
}

.bt-group-grid article > img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.bt-group-grid article > div {
    padding: 28px;
}

.bt-group-grid h3,
.bt-quality-grid h3 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 23px;
}

.bt-group-grid article > div > p:last-child,
.bt-quality-grid p {
    margin: 0;
    color: #637187;
    font-size: 13px;
    line-height: 1.9;
}

.bt-flow {
    margin-top: 110px;
    margin-bottom: 110px;
    padding: 70px 56px;
    color: #fff;
    background: var(--navy);
    border-top: 0 !important;
}

.bt-flow .bt-section-heading h2,
.bt-flow .bt-flow-lead {
    color: #fff;
}

.bt-flow .bt-section-heading p {
    color: #7ab6ff;
}

.bt-flow-lead {
    max-width: 850px;
    margin: -18px 0 42px 100px;
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 2;
}

.bt-flow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
}

.bt-flow-steps > div {
    position: relative;
    min-height: 170px;
    padding: 28px 24px;
    background: rgba(255,255,255,.07);
    border-top: 3px solid var(--blue);
}

.bt-flow-steps > div:not(:last-child)::after {
    content: "→";
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    color: #64adff;
    font-size: 24px;
    font-weight: 700;
}

.bt-flow-steps span,
.bt-flow-steps small,
.bt-flow-steps strong {
    display: block;
}

.bt-flow-steps span {
    margin-bottom: 22px;
    color: #64adff;
    font-size: 12px;
    font-weight: 700;
}

.bt-flow-steps small {
    margin-bottom: 10px;
    color: #a8bad0;
    font-size: 10px;
    line-height: 1.5;
}

.bt-flow-steps strong {
    color: #fff;
    font-size: 17px;
    line-height: 1.6;
}

.bt-quality {
    padding-top: 110px;
}

.bt-quality-grid article {
    padding: 34px;
    background: #f7f9fc;
    border-top: 3px solid var(--blue);
}

.bt-quality-grid article > span {
    display: block;
    margin-bottom: 22px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
}

@media (max-width: 800px) {
    .bt-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .bt-section-heading {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }

    .bt-section-heading h2 {
        font-size: 30px;
        line-height: 1.5;
    }

    .bt-flow .bt-section-heading h2 {
        font-size: 27px;
        line-height: 1.35;
        white-space: nowrap;
    }

    .bt-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .bt-copy {
        order: 1;
        min-width: 0;
    }

    .bt-figure {
        order: 2;
    }

    .bt-figure img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .bt-copy .bt-lead {
        font-size: 17px;
    }

    .bt-technology-grid,
    .bt-group-grid,
    .bt-quality-grid,
    .bt-flow-steps {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .bt-group .bt-section-lead,
    .bt-quality .bt-section-lead,
    .bt-flow-lead {
        margin: 0 0 32px;
        font-size: 14px;
        line-height: 1.9;
    }

    .bt-group-grid article > img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .bt-flow {
        margin-top: 72px;
        margin-bottom: 72px;
        padding: 48px 22px;
    }

    .bt-flow-steps > div {
        min-height: auto;
        padding: 22px;
    }

    .bt-flow-steps > div:not(:last-child)::after {
        content: "↓";
        top: auto;
        right: 20px;
        bottom: -18px;
        transform: none;
    }

    .bt-quality-grid article {
        padding: 28px 24px;
    }
}

/* v1.20.1: Footer branding aligned with header pattern A. */
.footer-brand-block {
    align-self: start;
}

.footer-company-brand {
    display: inline-flex;
    align-items: center;
    color: #fff;
}

.footer-brand-mark {
    display: grid;
    place-items: center;
    width: 68px;
    height: 66px;
    flex: 0 0 auto;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,.24);
    overflow: hidden;
}

.footer-brand-mark img {
    display: block;
    width: 58px;
    height: 56px;
    object-fit: contain;
    /* Supplied mark has extra white space on the left; center the visible blue symbol. */
    transform: translateX(-7.5%);
}

.footer-brand-copy {
    display: block;
    margin-left: 18px;
    padding-left: 19px;
    border-left: 1px solid #31465f;
    line-height: 1;
}

.footer-brand-copy strong {
    display: block;
    color: #fff;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: .045em;
}

.footer-brand-copy small {
    display: block;
    margin-top: 9px;
    color: #69b2ff;
    font: 700 9px/1 Arial, sans-serif;
    letter-spacing: .21em;
}

.footer-tagline {
    position: relative;
    margin: 31px 0 0 !important;
    padding-top: 20px;
    color: #d1dbe7;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: .2em !important;
}

.footer-tagline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 2px;
    background: var(--blue);
}

.footer-company-brand:hover .footer-brand-copy strong {
    color: #8fc9ff;
}

@media (max-width: 800px) {
    footer {
        padding-top: 70px;
    }

    .footer-grid {
        gap: 58px;
        padding-bottom: 58px;
    }

    .footer-company-brand {
        max-width: 100%;
    }

    .footer-brand-mark {
        width: 58px;
        height: 56px;
    }

    .footer-brand-mark img {
        width: 49px;
        height: 47px;
    }

    .footer-brand-copy {
        margin-left: 13px;
        padding-left: 14px;
    }

    .footer-brand-copy strong {
        font-size: 18px;
        letter-spacing: .025em;
    }

    .footer-brand-copy small {
        margin-top: 7px;
        font-size: 7.5px;
        letter-spacing: .16em;
    }

    .footer-tagline {
        margin-top: 26px !important;
        padding-top: 18px;
        font-size: 12px !important;
        line-height: 1.8;
    }
}

@media (max-width: 380px) {
    .footer-brand-mark {
        width: 52px;
        height: 50px;
    }

    .footer-brand-mark img {
        width: 44px;
        height: 43px;
    }

    .footer-brand-copy {
        margin-left: 10px;
        padding-left: 11px;
    }

    .footer-brand-copy strong {
        font-size: 16px;
    }

    .footer-brand-copy small {
        font-size: 7px;
        letter-spacing: .1em;
    }
}

/* ===== v1.23.3 Representative Message ===== */
@media(max-width:800px){
  .chairman-caption{padding-top:12px}
  .representative-signatures{justify-content:stretch;margin-top:24px}
  .content-sections .representative-signatures p{grid-template-columns:1fr;gap:3px;justify-content:end;text-align:right}
  .representative-signatures strong{font-size:18px}
}

/* ===== v1.23.5 Global Network Cards ===== */
.network-intro{padding-bottom:72px}
.network-intro-copy{max-width:900px;margin:28px 0 0;color:#586579;font-size:15px;line-height:2.1}
.network-sections{padding-bottom:70px}
.network-sections article:first-child{border-top:1px solid var(--line)}
.network-sections .eyebrow{margin:0 0 10px}
.network-company-list{gap:14px;margin-top:34px}
.network-company-card{
  min-height:82px;
  padding:18px 24px;
  gap:24px;
  background:#f5f8fb;
}
.network-company-card span{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  min-width:0;
}
.network-company-card span strong{
  display:block;
  color:#0b1b31;
  font-size:16px;
  line-height:1.45;
  letter-spacing:.01em;
}
.network-company-card span small{
  display:inline-block;
  padding:6px 11px;
  border-radius:3px;
  background:#e6f1ff;
  color:#0f4f8f;
  font-size:12px;
  font-weight:700;
  line-height:1.5;
  letter-spacing:.03em;
}
.network-company-card b{
  align-self:center;
  font-size:12px;
  line-height:1.5;
}
.network-company-card.is-static span small{background:#edf1f5;color:#637287}
.global-movie{margin-top:20px;margin-bottom:90px}
@media(max-width:800px){
  .network-intro{padding-bottom:48px}
  .network-intro-copy{font-size:14px;line-height:1.9}
  .network-sections{padding-bottom:45px}
  .network-company-list{gap:12px;margin-top:26px}
  .network-company-card{min-height:0;padding:18px 16px;gap:12px}
  .network-company-card span{gap:7px}
  .network-company-card span strong{font-size:15px;line-height:1.5}
  .network-company-card span small{font-size:11.5px;padding:5px 9px}
  .network-company-card b{align-self:flex-start;font-size:11px}
  .global-movie{margin-top:10px;margin-bottom:70px}
}



/* ===== v1.24.2 Smartphone typography / wrapping final adjustments ===== */
.mobile-heading-line{display:inline}
@media(max-width:800px){
  /* Top page: reduce heading size only on smartphones to avoid orphan characters. */
  .message-grid h2,
  .section-head h2{
    font-size:28px !important;
    line-height:1.48 !important;
    letter-spacing:.01em !important;
  }
  .section-head h2 .mobile-heading-line{display:block}

  /* History: year above copy gives the description the full smartphone width. */
  .history-section .history-item{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:7px !important;
    padding:18px 0 !important;
  }
  .history-section .history-year{
    font-size:19px !important;
    line-height:1.35 !important;
  }
  .history-section .history-text{
    min-width:0 !important;
    font-size:14px !important;
    line-height:1.9 !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
  }

  /* Contact form title: keep 「お問い合わせフォーム」 together more naturally. */
  .contact-form-shell>h2{
    font-size:24px !important;
    line-height:1.45 !important;
    letter-spacing:.01em !important;
  }
}
@media(max-width:380px){
  .message-grid h2,
  .section-head h2{font-size:27px !important}
  .contact-form-shell>h2{font-size:23px !important}
}


/* ===== v1.24.3 Smartphone heading orphan fixes ===== */
.philosophy-line,.career-heading-line{display:inline}
@media(max-width:800px){
  /* Philosophy: intentional two-line break instead of leaving 「る」 alone. */
  .philosophy-panel{padding:28px 20px !important}
  .content-sections .philosophy-panel .philosophy-title{
    font-size:21px !important;
    line-height:1.55 !important;
    letter-spacing:.02em !important;
  }
  .philosophy-line{display:block}

  /* Careers: keep the two semantic phrases together and avoid 「に。」 alone. */
  .careers-intro h2{
    font-size:21px !important;
    line-height:1.55 !important;
    letter-spacing:.01em !important;
  }
  .career-heading-line{display:block}
}
@media(max-width:380px){
  .content-sections .philosophy-panel .philosophy-title{font-size:20px !important}
  .careers-intro h2{font-size:20px !important}
}


/* ===== v1.24.10 Head Office Desktop Position Re-tune 2 ===== */
@media (min-width:801px){
  .about-head-office-image img{
    object-position:center 24%;
  }
}


/* ===== v1.24.11 Head Office Tablet Position Fix ===== */
@media (min-width:481px) and (max-width:800px){
  .about-head-office-image img{
    width:100%;
    height:auto;
    aspect-ratio:16 / 9;
    object-fit:cover;
    object-position:center 24%;
  }
}


/* ===== v1.24.12 Head Office PC Position Fix ===== */
@media (min-width:801px){
  .about-head-office-image img{
    object-position:center 8%;
  }
}


/* ===== v1.24.14 Head Office PC Dedicated Cropped Image Final ===== */
.about-head-office-image picture{display:block}
.about-head-office-image picture img{display:block;width:100%}


/* ===== v1.24.19 Global Network Page / Main Map Tuned ===== */
.global-network-visual{
  color:#fff;
  background:#06172b;
  padding:76px 0 88px;
  overflow:hidden;
}
.global-network-visual-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:48px;
  margin-bottom:24px;
}
.global-network-visual .eyebrow{
  margin:0 0 12px;
  color:#6db8ff;
}
.global-network-visual h2{
  margin:0;
  font-size:clamp(30px,3vw,44px);
  line-height:1.45;
  letter-spacing:.04em;
}
.global-network-visual-head > p{
  max-width:430px;
  margin:0;
  color:#aebfd2;
  font-size:14px;
  line-height:2;
}
.global-network-map-frame{
  position:relative;
  padding:12px;
  border:1px solid rgba(80,167,255,.28);
  background:linear-gradient(180deg,rgba(17,64,110,.18),rgba(1,13,28,.2));
  box-shadow:0 24px 65px rgba(0,0,0,.24),0 0 45px rgba(0,124,255,.07);
}
.global-network-map-frame::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(50,158,255,.16),transparent);
  opacity:.55;
}
.global-network-map-frame img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:auto;
}
@media(min-width:801px){
  .global-network-map-frame{
    width:90%;
    margin-inline:auto;
  }
}
@media(max-width:800px){
  .global-network-visual{padding:54px 0 60px}
  .global-network-visual-head{display:block;margin-bottom:24px}
  .global-network-visual h2{font-size:26px;line-height:1.5}
  .global-network-visual-head > p{margin-top:18px;font-size:13px;line-height:1.9}
  .global-network-map-frame{padding:5px;margin-inline:-8px}
}


/* v1.24.22: top-page business cards jump directly to matching detail sections */
#mold-design,
#injection-molding,
#decoration-assembly {
  scroll-margin-top: 120px;
}
@media (max-width: 800px) {
  #mold-design,
  #injection-molding,
  #decoration-assembly {
    scroll-margin-top: 86px;
  }
}


/* v1.24.23: direct navigation from top business cards */
#mold-design,
#injection-molding,
#decoration-assembly {
  scroll-margin-top: 120px;
}


/* v1.24.25: Contact success screen — hide the form after a successful submission. */
.contact-complete{max-width:820px;margin:10px auto 0;padding:58px 54px 60px;text-align:center;background:#fff;border:1px solid var(--line);box-shadow:0 14px 40px rgba(8,25,48,.07)}
.contact-complete-mark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 20px;border-radius:50%;background:#eaf7f0;color:#138a55;font-size:30px;font-weight:800}
.contact-complete-en{margin:0 0 12px;color:var(--blue);font:700 11px/1 Arial,sans-serif;letter-spacing:.18em}
.contact-complete h2{margin:0 0 18px;font-size:clamp(30px,3.6vw,44px);line-height:1.45}
.contact-complete>p:not(.contact-complete-en){margin:0;color:#586579;font-size:15px;line-height:2}
.contact-complete-home{margin-top:34px;min-width:240px}
@media(max-width:800px){.contact-complete{padding:42px 22px 46px}.contact-complete-mark{width:56px;height:56px;font-size:26px}.contact-complete h2{font-size:27px}.contact-complete>p:not(.contact-complete-en){font-size:14px}.contact-complete-home{width:100%;min-width:0;max-width:320px}}


/* ===== v1.24.26 Global Network movie centering ===== */
.global-movie-video{
  margin-left:auto !important;
  margin-right:auto !important;
}

