/*
Theme Name: C-LINE SEO
Description: C-LINEの外観を引き継ぐ、ブロック編集・SEO SIMPLE PACK対応テーマ。
Version: 2.1.1
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: c-line-seo
*/
*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#fff;color:#333;font:13px Arial,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;line-height:1.7}a{color:#0000a8;text-decoration:underline}a:hover{color:#416f69}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #126a66;outline-offset:3px}img{max-width:100%;height:auto;vertical-align:middle}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{z-index:99999;top:8px;left:8px;clip-path:none;width:auto;height:auto;padding:10px;background:#fff}.site-shell{width:732px;max-width:100%;margin:0 auto;padding:0 16px;min-height:100vh;background:linear-gradient(to right,#fff 0,#ddd 1px,#fff 16px,#fff calc(100% - 16px),#ddd calc(100% - 1px),#fff 100%)}.site-header{display:flex;height:95px}.brand{flex:0 0 165px}.brand img{display:block;width:165px;height:95px}.header-right{width:535px;min-width:0}.masthead{width:535px;height:71px;display:block}.primary-nav{height:24px;display:flex;align-items:center;justify-content:flex-end;background:linear-gradient(#fff,#e8e8e8);border-top:1px dotted #aaa;white-space:nowrap}.primary-nav a{font-size:12px;line-height:24px;padding:0 5px;color:#333;text-decoration:none}.primary-nav span{color:#64728d}.primary-nav ul{margin:0;padding:0;display:flex;list-style:none}.top-rule{height:11px;background:url('assets/top_line02.jpg') center/100% 11px}.site-header+.top-rule{background-image:url('assets/top_line01.jpg')}.hero img{display:block;width:700px;aspect-ratio:700/299}.home-grid{display:grid;grid-template-columns:203px 288px 209px;border-bottom:1px solid #9999b4;min-height:274px}.home-grid section{padding:10px;min-width:0}.home-grid section+section{border-left:1px solid #9999b4}.home-grid h2,.sidebar h2{position:relative;font-size:14px;font-weight:400;line-height:20px;height:22px;margin:0 0 6px;padding:0 3px 0 24px;border:1px solid #666;color:white;letter-spacing:1px;background:#417477}.home-grid h2:before{position:absolute;left:0;top:0;width:21px;height:20px;background:#333;content:'▸';text-align:center;color:#fff}.home-business h2{background:#16358c}.home-recruitment h2{background:#b74439}.home-grid .policy-link{background:#666;margin-top:14px;letter-spacing:0}.home-grid .contact-link{background:#893d91;margin-top:15px}.home-grid h2 a{color:#fff;text-decoration:none}.home-grid ul,.sidebar ul{list-style:none;padding:0;margin:0}.home-grid li{position:relative;line-height:22px;padding-left:22px}.home-grid li:before{content:'▸';position:absolute;left:6px;color:#417477}.home-business li:before{color:#16358c}.home-recruitment li:before{color:#b74439}.home-articles,.front-content{padding:18px 10px}.section-label{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #aaa}.section-label h2{font-size:15px;margin:0 0 8px}.recent-list{list-style:none;margin:0;padding:0}.recent-list li{display:grid;grid-template-columns:92px 1fr;gap:12px;padding:9px 0;border-bottom:1px dotted #ccc}.recent-list time{color:#666;font-size:12px}.empty-message{color:#666}.site-footer{border-top:1px solid #9999b4;text-align:center;padding:12px 4px 20px}.site-footer nav{font-size:11px;margin-bottom:6px}.site-footer ul{list-style:none;padding:0;margin:0;display:flex;gap:12px;justify-content:center}.site-footer small{font-size:10px}.breadcrumbs{font-size:11px;color:#666;padding:12px 10px}.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0}.breadcrumbs li+li:before{content:'›';margin-right:6px}.page-grid{display:grid;grid-template-columns:200px minmax(0,1fr);min-height:420px}.sidebar{padding:14px 10px;border-right:1px solid #aaa}.sidebar h2{height:auto;font-size:13px;padding:2px 8px;margin-top:15px}.sidebar h2:first-child{margin-top:0}.sidebar li{margin:7px 0;padding-left:12px;position:relative}.sidebar li:before{content:'▸';position:absolute;left:0;color:#477b76}.sidebar [aria-current=page]{font-weight:bold;color:#333}.page-main{padding:28px 15px 32px;min-width:0}.page-title{font-size:17px;line-height:1.6;border-bottom:1px solid #9aa8a8;border-left:5px solid #477b76;padding:2px 8px;margin:0 0 20px;background:#f0f4f3}.entry-content{font-size:14px;line-height:1.95;overflow-wrap:anywhere}.entry-content p{margin:0 0 1.3em}.entry-content h2{font-size:18px;line-height:1.6;border-left:4px solid #477b76;padding-left:10px;margin:1.8em 0 .8em}.entry-content h3{font-size:16px;line-height:1.6}.entry-content figure{margin:20px 0}.entry-content img{max-width:100%;height:auto}.entry-content .wp-block-table{overflow:auto}.entry-content table{width:100%;border-collapse:collapse;font-size:13px}.entry-content th,.entry-content td{border-bottom:1px dotted #bbb;text-align:left;vertical-align:top;padding:10px 6px}.entry-content th{width:28%;font-weight:500;background:#f5f7f6}.entry-content td p:last-child{margin-bottom:0}.entry-content a{overflow-wrap:anywhere}.reading-main{padding:0 20px 35px;min-height:450px}.reading-main .breadcrumbs{padding-left:0}.reading-main h1{font-size:26px;line-height:1.5;margin:20px 0}.article-header{border-bottom:1px solid #a7b6b4;margin-bottom:24px}.post-meta,time{font-size:12px;color:#666}.article-image{display:block;margin-bottom:22px}.author-box{border-top:1px solid #bbc8c6;margin-top:30px;padding-top:16px}.author-box p{margin-bottom:0}.related{border-top:1px solid #bbb;margin-top:24px}.related h2{font-size:18px}.related li{margin-bottom:8px}.post-summary{padding:18px 0;border-bottom:1px dotted #aaa}.post-summary h2{font-size:19px;line-height:1.6;margin:0 0 5px}.post-summary p{font-size:14px}.search-form{display:flex;gap:5px;margin:12px 0}.search-form label{min-width:0;flex:1}.search-form input{width:100%;font:inherit;padding:7px;border:1px solid #9ba8a6;border-radius:0}.search-form button{font:inherit;white-space:nowrap;border:1px solid #456e69;background:#456e69;color:#fff;padding:5px 10px;cursor:pointer}.categories{list-style:none;display:flex;flex-wrap:wrap;gap:10px;font-size:12px;padding:0}.categories li{list-style:none}.nav-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:25px}.archive-description{font-size:14px}.wp-caption-text{font-size:12px;color:#666}
@media(max-width:740px){.site-shell{width:100%;padding:0 10px}.site-header{height:auto;align-items:flex-start}.brand{flex-basis:110px}.brand img{width:110px;height:auto}.header-right{flex:1}.masthead{width:100%;height:auto;min-height:36px;object-fit:contain;object-position:right bottom}.primary-nav{height:auto;white-space:normal;justify-content:flex-start;flex-wrap:wrap;padding:4px 0;gap:1px}.primary-nav a{font-size:12px;line-height:1.5;padding:6px}.primary-nav ul{flex-wrap:wrap}.home-grid{grid-template-columns:1fr;min-height:0}.home-grid section{padding:14px 12px}.home-grid section+section{border-left:0;border-top:1px solid #bbb}.home-grid h2{font-size:15px}.home-grid li{font-size:15px;line-height:1.65;padding-top:6px;padding-bottom:6px}.home-grid li:before{left:3px}.home-grid .policy-link,.home-grid .contact-link{height:auto;padding-top:5px;padding-bottom:5px}.home-grid .policy-link:before,.home-grid .contact-link:before{height:100%}.page-grid{display:flex;flex-direction:column}.page-main{order:0;padding:15px 12px 25px}.sidebar{order:1;border-right:0;border-top:1px solid #bbb;padding:15px 12px}.sidebar ul{display:flex;gap:6px 15px;flex-wrap:wrap}.sidebar li{margin:4px 0}.entry-content{font-size:16px;line-height:1.9}.entry-content table{font-size:14px}.reading-main{padding:0 12px 25px}.reading-main h1{font-size:23px}.recent-list li{grid-template-columns:1fr;gap:2px}.site-footer nav{font-size:12px}.breadcrumbs{font-size:12px}.search-form input{font-size:16px}}

/* New company identity, preserving the existing header footprint. */
.brand{position:relative;display:block;overflow:hidden;height:95px}.brand img{position:absolute;max-width:none;width:300px;height:auto;left:50%;top:50%;transform:translate(-50%,-50%)}.header-right>a{text-decoration:none;color:#222}.company-wordmark{display:flex;align-items:flex-end;justify-content:flex-end;padding:0 16px 8px;font-size:18px;font-weight:700;letter-spacing:.02em;line-height:1.4}
@media(max-width:740px){.brand{height:64px}.brand img{width:202px;height:auto}.company-wordmark{min-height:46px;height:auto;padding:12px 5px 6px;font-size:16px}}

/* Astro corporate layouts; source: c-line/seo-theme/c-line-seo. */
.site-header{height:auto;min-height:95px}.primary-nav{height:auto;min-height:24px;flex-wrap:wrap;white-space:normal}.primary-nav a{white-space:normal;overflow-wrap:anywhere}.primary-nav a[aria-current="page"]{font-weight:bold;color:#285b55;background:#e4efed}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.detail-title h1{font-size:17px!important;line-height:1.6!important;letter-spacing:normal!important;border-bottom:1px solid #9aa8a8;border-left:5px solid #477b76;padding:2px 8px;margin:0 0 20px;background:#f0f4f3;text-wrap:wrap!important}
.detail-title .eyebrow{display:none}.detail-title h1 span{display:inline}.detail-section{margin:0 0 24px}.detail-section h2{font-size:17px}.company-body figure{margin:0}.company-body table{table-layout:fixed}.company-body th{width:29%}.company-body td{overflow-wrap:anywhere}.company-body h2{font-size:16px}
.search-controls{display:flex;gap:4px;margin:12px 0}.search-controls input{width:100%;min-width:0;padding:6px;border:1px solid #9ba8a6;font:inherit}.search-controls button{background:#456e69;color:#fff;border:0;padding:5px 8px;font:inherit}
.articles-main,.site-shell>main.section{padding:18px 15px;min-height:420px}.articles-main .breadcrumbs{padding:0 0 18px}.archive-status{color:#666;font-size:12px}.archive-empty{font-size:14px}.archive-sidebar:empty{display:none}.site-shell .archive-title-with-sidebar{width:auto}.site-shell .archive-with-sidebar{display:block}.site-shell .archive-sidebar{display:none}
@media(max-width:740px){.site-header{min-height:0}.detail-title h1{font-size:18px!important}.home-grid h2{height:auto;min-height:22px}.page-main{width:100%}.company-body table{font-size:14px}.company-body th{width:30%}.search-controls input{font-size:16px}.home-grid li{overflow-wrap:anywhere}.site-footer nav{line-height:2}.articles-main{padding:18px 12px}}

.search-controls button{white-space:nowrap;flex-shrink:0}.search-controls input{flex:1;width:0}

/* Original Wayback logo: retain its native 165 × 95 proportions. */
.brand img{position:static;width:165px;max-width:100%;height:auto;transform:none}
@media(max-width:740px){.brand img{width:110px}}

.company-signature{text-align:right;margin-top:2em!important}.company-principles{padding-left:1.5em}.company-principles li{margin-bottom:1em}.company-history th{width:36%}.organization-chart{max-width:420px;margin:10px auto 30px}.organization-head{border:1px solid #477b76;background:#edf3f2;text-align:center;padding:14px;margin:0!important}.organization-departments{list-style:none;margin:0 0 0 22px;padding:16px 0 0 25px;border-left:1px solid #94aaa5}.organization-departments li{position:relative;border:1px solid #94aaa5;padding:9px 14px;margin-bottom:12px;background:#f7f9f8}.organization-departments li:before{content:'';position:absolute;left:-26px;top:50%;width:25px;border-top:1px solid #94aaa5}

/* Archived body tables retain their text and hierarchy, with fluid widths. */
.archived-content{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.archived-content table{width:100%;max-width:100%;table-layout:auto;border-collapse:collapse}.archived-content td{width:auto;padding:5px 3px;border:0;background:transparent;font-weight:400}.archived-content td:empty{padding:0}.archived-content p{margin:0 0 1em}.archived-content img{max-width:100%;height:auto}.archived-content td:has(>table){padding:0}.archive-masthead{width:100%;height:71px;object-fit:contain;object-position:right bottom}.archive-footer-contact{font-size:11px;line-height:1.7;margin:8px 0}.home-business li{padding-left:14px;margin-bottom:4px;line-height:1.6}.home-business li:before{left:2px}
@media(max-width:740px){.archive-masthead{height:auto;min-height:46px}.archived-content{font-size:15px}.archived-content table{font-size:14px}.archived-content td{overflow-wrap:anywhere}.home-business li{font-size:15px}.archive-footer-contact{font-size:12px}}

.archived-content .recruitment-details th{width:28%;padding:10px 6px;vertical-align:top;font-weight:400;background:#f5f7f6;border-bottom:1px dotted #bbb}.archived-content .recruitment-details td{padding:10px 8px;border-bottom:1px dotted #bbb}.recruitment-details td p:last-child{margin-bottom:0}
