/*
Theme Name: Asmoch Security
Version: 1.0.0
Text Domain: asmoch-security
Requires PHP: 7.4
*/

:root{--navy:#071e54;--blue:#0062db;--orange:#ff711c;--muted:#52627b}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;color:var(--navy);font-family:'Noto Sans JP','Yu Gothic',Meiryo,sans-serif;line-height:1.85}a{color:inherit;text-decoration:none}button{font:inherit}.wrap{width:min(1160px,90%);margin:auto}header{height:82px;background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 1px 8px #061d5310}header .wrap{height:100%;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:8px}.brand img:first-child{width:51px;height:51px;object-fit:contain}.brand img:last-child{width:150px;max-height:49px;object-fit:contain}nav{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:bold}.btn{display:inline-flex;align-items:center;justify-content:center;gap:24px;border:0;border-radius:40px;padding:14px 28px;background:var(--orange);color:white;font-weight:bold;transition:.2s}.btn:hover{background:#ee5905;transform:translateY(-2px)}.menu{display:none;background:none;border:1px solid #ccd5e3;border-radius:6px;padding:6px 10px}.hero{position:relative;isolation:isolate;overflow:hidden;background:#001f3a;color:white}.hero:before{content:'';position:absolute;inset:0;z-index:-2;background:url('assets/layout.webp') right -60px/1250px auto no-repeat}.hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#00243f 0%,#00213df7 37%,#00213dc9 52%,transparent 74%)}.hero .wrap{min-height:455px;display:flex;align-items:center}.hero-copy{max-width:690px;padding:45px 0}.eyebrow{font-size:13px;font-weight:700;letter-spacing:.13em;color:var(--blue);margin-bottom:12px}.hero .eyebrow{color:#92caff}h1{font-size:clamp(31px,4.1vw,52px);line-height:1.48;letter-spacing:.035em;margin:0 0 18px}h2{font-size:clamp(25px,3vw,35px);line-height:1.55;margin:0 0 20px}h3{line-height:1.6}.hero p{font-size:15px;margin:0 0 25px}.hero .lead{font-size:21px;font-weight:bold;margin:0 0 14px}.news{background:#f4f9ff;padding:22px 0}.news-box{display:flex;align-items:center;gap:30px;background:white;padding:17px 25px;box-shadow:0 3px 14px #142e5210;border-radius:6px}.news-box strong{color:var(--blue);white-space:nowrap;border-right:1px solid #d4e0f0;padding-right:28px}.news-box span{font-size:14px;color:var(--muted)}section{padding:85px 0}.pale{background:#f4f9ff}.two{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.intro{font-size:16px;color:var(--muted)}.checks{list-style:none;padding:28px 32px;margin:0;border:1px solid #dfebf9;background:#fff;border-radius:10px;box-shadow:0 8px 35px #05265c08}.checks li{padding:9px 0;font-size:14px}.checks li:before{content:'✓';color:var(--blue);font-weight:bold;margin-right:12px}.center{text-align:center}.process{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:36px}.process>div{position:relative;text-align:center}.process b{display:flex;align-items:center;justify-content:center;border:1px solid #c9defb;background:white;border-radius:50%;width:105px;height:105px;margin:0 auto 15px;font-size:20px;color:var(--blue)}.process p{font-size:14px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:35px}.card{border:1px solid #c9ddf7;background:white;border-radius:10px;padding:28px;display:flex;flex-direction:column;position:relative}.card .num{font-size:13px;color:var(--blue);letter-spacing:.1em;font-weight:bold}.card h3{font-size:22px;margin:10px 0 0}.card .sub{color:var(--blue);font-size:14px;font-weight:bold;margin:0 0 20px}.card p{font-size:14px;color:var(--muted)}.card ul{padding-left:20px;font-size:14px;flex:1}.card li{padding:4px 0}.price{border-top:1px solid #dbe6f5;padding-top:18px;margin-top:22px;font-size:13px}.price b{font-size:30px;color:var(--navy)}.card .btn{font-size:13px;padding:12px 14px;margin-top:18px}.highlight{border:2px solid var(--blue)}.tag{position:absolute;top:-15px;left:25px;padding:2px 17px;background:var(--blue);color:white;font-size:12px;border-radius:20px}.note{font-size:12px;color:var(--muted);margin-top:18px}.report{border:1px solid #d8e4f4;border-radius:12px;padding:30px;background:white;box-shadow:0 12px 40px #05265c0b}.report-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce5f0;padding-bottom:18px}.grade{background:#eaf4ff;border:6px solid #2e9b6b;border-radius:50%;width:85px;height:85px;display:grid;place-items:center;font-size:35px;font-weight:bold}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0;text-align:center}.stats b{font-size:27px;display:block}.stats span{font-size:12px;color:var(--muted)}.report ol{font-size:13px;padding-left:20px}.mini{font-size:11px;color:var(--muted)}.reasons .card{border:0;border-top:3px solid var(--blue);border-radius:0;padding:24px 12px}.reasons .num{font-size:35px;color:#b8d2f3}.reasons h3{font-size:19px}.options{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:32px}.options article{border-left:3px solid #c4dcf9;padding:0 18px}.options h3{font-size:17px;margin:0 0 12px}.options p{font-size:14px;color:var(--muted)}.flow{counter-reset:step;display:grid;grid-template-columns:repeat(5,1fr);gap:23px;margin-top:35px}.flow article{border-top:2px solid #c9ddf7;padding-top:16px}.flow span{color:var(--blue);font-size:13px;font-weight:bold}.flow h3{font-size:17px}.flow p{font-size:13px;color:var(--muted)}details{border-bottom:1px solid #d6e2ef;padding:20px 8px}summary{font-weight:bold;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}summary:before{content:'Q';color:var(--blue);margin-right:6px}summary:after{content:'＋';margin-left:auto;color:var(--blue)}details[open] summary:after{content:'−'}details p{font-size:14px;padding-left:29px;color:var(--muted)}.company{display:grid;grid-template-columns:1fr 1fr;gap:60px}.company dl{margin:0}.company dl>div{display:grid;grid-template-columns:100px 1fr;border-bottom:1px solid #dbe5f0;padding:15px 0;font-size:14px}.company dd{margin:0}.trust{display:flex;align-items:center;gap:28px;margin-top:25px}.trust img{max-width:215px;max-height:100px;object-fit:contain}.trust img:last-child{width:85px}.contact{background:linear-gradient(120deg,#062b66,#00142f);color:white;text-align:center}.contact p{color:#c5d5eb}.contact .phone{display:block;font-size:26px;font-weight:bold;letter-spacing:.08em;margin-top:22px}.contact .character{width:95px;height:95px;object-fit:contain;background:white;border-radius:50%;padding:8px;margin-bottom:20px}footer{padding:28px 0;font-size:12px;color:var(--muted)}footer .wrap{display:flex;justify-content:space-between}.target{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:25px}.target span{border:1px solid #cfdef0;border-radius:30px;background:white;padding:8px 20px;font-size:14px}@media(max-width:1000px){nav{gap:13px;font-size:12px}.brand img:last-child{width:115px}.hero:after{background:linear-gradient(90deg,#00243ff7,#00213dd9 55%,#00213d66)}.cards{gap:14px}.card{padding:21px}.two{gap:30px}}@media(max-width:760px){header{height:69px}.brand img:first-child{width:42px;height:42px}.brand img:last-child{width:128px}.menu{display:block}nav{display:none;position:absolute;top:69px;left:0;right:0;background:white;padding:25px;box-shadow:0 10px 20px #001a3f15}nav.open{display:flex;flex-direction:column;align-items:stretch;gap:18px}.hero .wrap{min-height:490px}.hero:before{background-position:68% -50px;background-size:1100px auto;opacity:.5}.hero:after{background:#00223dd4}.hero-copy{padding:38px 0}.hero .lead{font-size:17px}.hero p{font-size:14px}.hero br.mobile-hide{display:none}.news-box{gap:15px;padding:16px;align-items:flex-start}.news-box strong{padding-right:15px;font-size:13px}.news-box span{font-size:12px}section{padding:57px 0}.two,.company{grid-template-columns:1fr;gap:25px}.cards{grid-template-columns:1fr;gap:25px}.card{padding:28px}.process{grid-template-columns:repeat(2,1fr);gap:18px}.options{grid-template-columns:repeat(2,1fr)}.flow{grid-template-columns:1fr;gap:10px}.flow article{display:grid;grid-template-columns:70px 1fr;gap:0 12px}.flow h3{margin:0}.flow p{grid-column:2;margin-top:3px}.trust{gap:18px}.trust img{max-width:190px}.contact h2{font-size:25px}footer .wrap{display:block}.stats b{font-size:24px}}

.brand img:first-child{width:200px;height:auto;max-height:55px}.hero:before{left:52%;background-size:1536px auto;background-position:right -83px}.hero:after{background:linear-gradient(90deg,#00243f 0%,#00213d 51%,#00213deb 59%,transparent 76%)}.hero .wrap{min-height:510px}.hero{max-height:510px}@media(max-width:760px){.brand img:first-child{width:175px;max-height:48px}.hero{max-height:none}.hero:before{left:0;background-size:1536px auto;opacity:.4}.hero:after{background:#00223de8}}
.hero-partner{position:absolute;right:25%;top:43px;width:255px;max-height:100px;object-fit:contain;background:white;padding:12px;border-radius:9px;z-index:1}@media(max-width:1000px){.hero-partner{right:4%;width:210px;top:20px}.hero-copy{padding-top:90px}.hero{max-height:none}}@media(max-width:760px){.hero-partner{width:180px;top:18px;right:5%;max-height:60px}.hero-copy{padding-top:95px}} 
body.admin-bar header{top:32px} .entry-content{overflow-wrap:anywhere}.entry-content img{max-width:100%;height:auto}.entry-content a{text-decoration:underline}.news-list{list-style:none;margin:0;padding:0}.news-list time{margin-right:20px;color:var(--muted)}.news-list a:hover{text-decoration:underline}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;background:white;z-index:100;padding:10px}.post-content{padding:55px 0;min-height:50vh}.post-content h1{font-size:36px}@media(max-width:782px){body.admin-bar header{top:46px}}

/* Column cards */
.asmoch-column-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:32px}
.asmoch-column-card{min-width:0;overflow:hidden;background:#fff;border:1px solid #e0e8f2;border-radius:14px;box-shadow:0 4px 18px #071e5406;transition:transform .2s,box-shadow .2s}
.asmoch-column-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #071e5412}
.asmoch-column-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#eaf2fc}
.asmoch-column-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.asmoch-column-card:hover .asmoch-column-image img{transform:scale(1.035)}
.asmoch-column-placeholder{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;background:linear-gradient(135deg,#071e54,#0062a9);color:#fff}
.asmoch-column-placeholder span:first-child{font-size:25px;font-weight:700;letter-spacing:.16em}
.asmoch-column-placeholder span:last-child{font-size:10px;letter-spacing:.12em;color:#bbddff}
.asmoch-column-body{padding:22px}
.asmoch-column-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px}
.asmoch-column-categories{display:flex;flex-wrap:wrap;gap:6px}
.asmoch-column-categories a{display:inline-block;padding:2px 10px;border-radius:4px;color:#0062db;background:#edf5ff;text-decoration:none}
.asmoch-column-meta time{color:#64748b;white-space:nowrap}
.asmoch-column-body h3{margin:14px 0 0;font-size:18px;line-height:1.65;overflow-wrap:anywhere}
.asmoch-column-body h3 a{text-decoration:none}
.asmoch-column-body h3 a:hover{color:var(--blue)}
.asmoch-column-card a:focus-visible{outline:3px solid #0062db;outline-offset:3px}
.asmoch-column-more{text-align:center;margin-top:38px}
.asmoch-column-empty{margin:28px 0 0;padding:30px;background:#fff;border:1px solid #e0e8f2;border-radius:12px;color:var(--muted)}
@media(max-width:1000px) and (min-width:761px){.asmoch-column-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.asmoch-column-grid{grid-template-columns:minmax(0,1fr);gap:24px}.asmoch-column-body{padding:20px}.asmoch-column-body h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.asmoch-column-card,.asmoch-column-image img{transition:none}.asmoch-column-card:hover,.asmoch-column-card:hover .asmoch-column-image img{transform:none}}

/* Tables in article content: shared styling for classic and block tables. */
.post-content .entry-content table {
  width:100%; margin:1.5em 0; border-collapse:collapse;
  font-size:15px; line-height:1.7; color:#172b4d;
}
.post-content .entry-content th,
.post-content .entry-content td {
  padding:14px 18px; border:1px solid #cbd8e8;
  text-align:left; vertical-align:top; overflow-wrap:anywhere;
}
.post-content .entry-content thead th {
  background:#071e54; color:#fff; font-weight:700;
}
.post-content .entry-content tbody th {background:#eaf2fc;font-weight:700}
.post-content .entry-content tbody tr:nth-child(even) td {background:#f3f7fc}
.post-content .entry-content .wp-block-table {
  max-width:100%; margin:28px 0; overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.post-content .entry-content .wp-block-table table {margin:0}
.post-content .entry-content caption,
.post-content .entry-content .wp-block-table figcaption {
  padding:10px 0; text-align:left; color:#52627b; font-size:13px;
}
/* The tint groups character sets; it does not indicate a safety guarantee. */
.post-content .entry-content .password-time-table tbody tr:nth-child(-n+2) td {
  background:#fff4e5; color:#563a16;
}
.post-content .entry-content .password-time-table tbody tr:nth-child(n+3) td {
  background:#edf5ff; color:#153a63;
}
.post-content .entry-content .password-time-table tbody td:last-child {font-weight:700}
@media(max-width:760px) {
  .post-content .entry-content table {font-size:13px}
  .post-content .entry-content th,
  .post-content .entry-content td {padding:10px 12px}
  .post-content .entry-content .wp-block-table table {min-width:540px}
}

/* Column archive and category badges */
.asmoch-column-archive{padding:64px 0 80px;min-height:50vh}
.asmoch-column-filters{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0}
.asmoch-column-filters a{padding:9px 16px;border:1px solid #cbdcf1;border-radius:24px;background:#fff;font-size:14px}
.asmoch-column-filters a:hover,.asmoch-column-filters a[aria-current="page"]{background:#071e54;color:#fff;border-color:#071e54}
.asmoch-column-filters a:focus-visible{outline:3px solid #0062db;outline-offset:3px}
.asmoch-column-categories a:not(:first-child){background:#e8f4f0;color:#17614a}
.asmoch-column-archive .pagination{position:static;display:block;height:auto;background:none;box-shadow:none;margin-top:40px}
.asmoch-column-archive .nav-links{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.asmoch-column-archive .page-numbers{padding:8px 16px;border:1px solid #cbdcf1;border-radius:6px;background:#fff}
.asmoch-column-archive .page-numbers.current{background:#071e54;color:#fff}
@media(min-width:761px){header #navigation{gap:16px;white-space:nowrap}header #navigation .btn{padding:12px 20px}}
@media(min-width:761px) and (max-width:1100px){header .brand img:first-child{width:150px}header #navigation{gap:10px;font-size:11px}header #navigation .btn{padding:10px 12px}}
@media(max-width:760px){.asmoch-column-archive{padding:40px 0 55px}.asmoch-column-filters{gap:8px}.asmoch-column-filters a{font-size:12px;padding:8px 12px}}

/* Photo-only hero: typography and partner badge stay separate from the background. */
.hero{padding:0;max-height:none;background:#00243f}
.hero:before{inset:0;background:url('assets/hero-office.webp') center center/cover no-repeat;opacity:1}
.hero:after{background:linear-gradient(90deg,rgba(0,36,63,.25) 0%,rgba(0,36,63,.16) 48%,transparent 75%)}
.hero .wrap{min-height:510px}
.hero-copy{padding:45px 0;max-width:690px}
.hero-partner{top:auto;bottom:24px;right:max(5%,calc((100% - 1160px)/2));width:235px;height:auto;max-height:90px;object-fit:contain;padding:12px;background:#fff;border-radius:9px;z-index:1}
@media(max-width:1000px){.hero-copy{max-width:65%;padding:40px 0 115px}.hero-partner{top:auto;bottom:22px;right:5%;width:210px;max-height:85px}}
@media(max-width:760px){.hero:before{inset:0;background-position:70% center;opacity:.5}.hero:after{background:rgba(0,34,61,.72)}.hero .wrap{min-height:0}.hero-copy{max-width:100%;padding:40px 0 130px}.hero-partner{top:auto;bottom:22px;right:5%;width:190px;max-height:78px}}

/* Keep the supplied partner artwork and clear space without an added white panel. */
.hero .hero-partner{background:transparent;border:0;border-radius:0;box-shadow:none}

/* One-row related columns reuse the archive card template. */
.asmoch-related{padding:45px 0}
.asmoch-related-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.asmoch-related-heading h2{margin:0;font-size:26px}
.asmoch-related-controls{display:flex;gap:10px}
.asmoch-related-controls[hidden]{display:none}
.asmoch-related-controls button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ccd9eb;border-radius:50%;background:#fff;color:var(--navy);cursor:pointer}
.asmoch-related-controls button:disabled{opacity:.35;cursor:default}
.asmoch-related-controls button:focus-visible,.asmoch-related-track:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.asmoch-related-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/3);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:4px;padding:6px 4px 16px;overscroll-behavior-x:contain}
.asmoch-related-track>.asmoch-column-card{scroll-snap-align:start}
@media(max-width:1000px){.asmoch-related-track{grid-auto-columns:calc((100% - 24px)/2)}}
@media(max-width:760px){.asmoch-related{padding:32px 0}.asmoch-related-heading h2{font-size:22px}.asmoch-related-track{grid-auto-columns:88%;gap:18px}}

/* Article headings: 80% of the original sizes, scoped to single posts. */
.single-post .post-content h1 {
  font-size:28.8px;
  line-height:1.55;
  padding-bottom:16px;
  border-bottom:3px solid var(--blue);
  margin-bottom:22px;
  overflow-wrap:anywhere;
}
.single-post .post-content .entry-content h2 {
  position:relative;
  font-size:clamp(20px,2.4vw,28px);
  line-height:1.6;
  padding:8px 12px 8px 24px;
  margin:36px 0 18px;
  background:#f4f9ff;
  overflow-wrap:anywhere;
}
.single-post .post-content .entry-content h2::before {
  content:"";
  position:absolute;
  left:0;
  top:calc(.8em + 8px);
  width:10px;
  height:10px;
  border-radius:2px;
  background:var(--blue);
  transform:translateY(-50%);
}
