/*
Theme Name: Mirabo Safety
Version: 1.0
*/
/* Base */
* {
box-sizing: border-box;
}

body {
margin: 0;
font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
color: #0f1f33;
background: #fff;
line-height: 1.8;
}

a {
color: inherit;
text-decoration: none;
}

img {
max-width: 100%;
height: auto;
vertical-align: bottom;
}

/* =========================
Header
========================= */
.site-header {
width: 100%;
background: #fff;
border-bottom: 1px solid #e6ebf0;
position: relative;
z-index: 10;
}

.header-container {
max-width: 1280px;
height: 88px;
margin: 0 auto;
padding: 0 40px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 32px;
}

.site-logo {
display: flex;
align-items: center;
gap: 12px;
flex-shrink: 0;
}

.site-logo img {
width: 54px;
height: auto;
}

.site-logo-text {
display: flex;
flex-direction: column;
line-height: 1.4;
}

.site-logo-sub {
font-size: 12px;
letter-spacing: 0.08em;
color: #47627d;
}

.site-logo-main {
font-size: 22px;
font-weight: 700;
letter-spacing: 0.08em;
color: #082f55;
}

.global-nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
gap: 34px;
}

.global-nav a {
font-size: 15px;
font-weight: 600;
color: #10253d;
}

.header-contact-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 190px;
height: 48px;
padding: 0 22px;
background: #082f55;
color: #fff;
font-size: 14px;
font-weight: 700;
letter-spacing: 0.04em;
}

/* =========================
FV
========================= */
.fv {
background: #fff;
overflow: hidden;
}

.fv-inner {
min-height: calc(100vh - 88px);
display: grid;
grid-template-columns: 48% 52%;
}

.fv-content {
padding: 92px 40px 80px max(40px, calc((100vw - 1280px) / 2 + 40px));
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
z-index: 2;
}

.fv-sub-copy {
margin: 0 0 22px;
font-size: 18px;
font-weight: 700;
letter-spacing: 0.08em;
color: #103b66;
}

.fv-title {
margin: 0;
font-size: clamp(48px, 5vw, 76px);
line-height: 1.35;
font-weight: 700;
letter-spacing: 0.08em;
color: #081a2d;
}

.fv-title::after {
content: "";
display: block;
width: 72px;
height: 3px;
margin-top: 32px;
background: #b99a52;
}

.fv-text {
margin: 40px 0 0;
max-width: 520px;
font-size: 16px;
font-weight: 500;
line-height: 2.1;
letter-spacing: 0.04em;
white-space: pre-line;
color: #20364d;
}

.fv-buttons {
margin-top: 42px;
display: flex;
gap: 20px;
}

.fv-btn {
min-width: 210px;
height: 60px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 28px;
font-size: 15px;
font-weight: 700;
letter-spacing: 0.06em;
}

.fv-btn-primary {
background: #082f55;
color: #fff;
}

.fv-btn-secondary {
background: #fff;
color: #082f55;
border: 1px solid #c9d3dd;
}

.fv-image {
position: relative;
min-height: calc(100vh - 88px);
background-image:
linear-gradient(90deg, rgba(255,255,255,0.15), rgba(8,47,85,0.32)),
url("assets/images/main-image.webp");
background-size: cover;
background-position: center center;
clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.fv-image::before {
content: "";
position: absolute;
inset: 0;
background: rgba(8, 47, 85, 0.18);
}

.fv-image::after {
content: "警察OBの実務力 × 専門家の知見";
position: absolute;
right: 8%;
bottom: 9%;
padding: 24px 34px;
background: rgba(8, 47, 85, 0.88);
color: #fff;
font-size: 18px;
font-weight: 700;
letter-spacing: 0.08em;
border-left: 4px solid #b99a52;
}

/* =========================
Common Section
========================= */
.section-container {
max-width: 1180px;
margin: 0 auto;
padding: 96px 40px;
}

.section-heading {
margin-bottom: 48px;
}

.section-label {
margin: 0 0 10px;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.16em;
color: #b99a52;
}

.section-heading h2 {
margin: 0;
font-size: 36px;
line-height: 1.5;
letter-spacing: 0.06em;
color: #082f55;
}

.section-heading p {
margin: 16px 0 0;
font-size: 16px;
line-height: 2;
color: #40566d;
}

.section-heading-light h2,
.section-heading-light p {
color: #fff;
}

/* =========================
Problem
========================= */
.problem-section {
background: #f5f7fa;
}

.problem-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.problem-card {
background: #fff;
padding: 28px 26px;
border-left: 4px solid #103b66;
font-size: 16px;
font-weight: 700;
line-height: 1.8;
color: #10253d;
box-shadow: 0 10px 24px rgba(8,47,85,0.06);
}

/* =========================
Strength
========================= */
.strength-section {
background: #082f55;
}

.strength-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.strength-card {
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.18);
padding: 34px 30px;
color: #fff;
}

.strength-card h3 {
margin: 0 0 18px;
font-size: 24px;
letter-spacing: 0.08em;
}

.strength-card p {
margin: 0;
font-size: 15px;
line-height: 2;
}

/* =========================
Field
========================= */
.field-section {
background: #fff;
}

.field-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 18px;
}

.field-item {
min-height: 86px;
display: flex;
align-items: center;
padding: 20px 22px;
background: #f5f7fa;
border: 1px solid #e4eaf0;
font-size: 15px;
font-weight: 700;
color: #10253d;
}

/* =========================
Case
========================= */
.case-section {
background: #f5f7fa;
}

.case-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.case-card {
background: #fff;
padding: 32px 28px;
box-shadow: 0 10px 24px rgba(8,47,85,0.06);
}

.case-category {
display: inline-block;
margin: 0 0 16px;
padding: 4px 12px;
background: #e8eef4;
color: #103b66;
font-size: 13px;
font-weight: 700;
}

.case-card h3 {
margin: 0 0 20px;
font-size: 22px;
color: #082f55;
}

.case-card p {
margin: 0 0 12px;
font-size: 14px;
line-height: 1.9;
color: #40566d;
}

/* =========================
Flow
========================= */
.flow-section {
background: #fff;
}

.flow-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 18px;
}

.flow-card {
position: relative;
padding: 30px 24px;
background: #fff;
border: 1px solid #dfe7ee;
}

.flow-card span {
display: block;
margin-bottom: 18px;
font-size: 28px;
font-weight: 700;
color: #b99a52;
}

.flow-card h3 {
margin: 0 0 12px;
font-size: 20px;
color: #082f55;
}

.flow-card p {
margin: 0;
font-size: 14px;
line-height: 1.9;
color: #40566d;
}

/* =========================
Company Page
========================= */
.company-page {
padding: 100px 20px;
background: #f5f7fa;
}

.company-header {
max-width: 960px;
margin: 0 auto 60px;
text-align: center;
}

.company-header .section-label {
margin-bottom: 14px;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.18em;
color: #b99a52;
}

.company-header h1 {
margin: 0;
font-size: 42px;
line-height: 1.5;
letter-spacing: 0.08em;
color: #082f55;
}

.company-header p {
margin: 18px 0 0;
font-size: 16px;
line-height: 2;
color: #506274;
}

.company-profile {
max-width: 960px;
margin: 0 auto;
}

.company-table {
background: #fff;
border: 1px solid #dbe4ec;
box-shadow: 0 14px 32px rgba(8,47,85,0.06);
}

.company-row {
display: grid;
grid-template-columns: 240px 1fr;
border-bottom: 1px solid #e4ebf2;
}

.company-row:last-child {
border-bottom: none;
}

.company-head {
padding: 28px 32px;
background: #082f55;
color: #fff;
font-size: 15px;
font-weight: 700;
letter-spacing: 0.06em;
display: flex;
align-items: center;
}

.company-data {
padding: 28px 32px;
font-size: 15px;
line-height: 2;
color: #2e4052;
background: #fff;
}

.company-data a {
color: #0b4ea2;
text-decoration: none;
}

.company-data ul {
margin: 0;
padding-left: 20px;
}

.company-data li {
margin-bottom: 8px;
}

.company-data li:last-child {
margin-bottom: 0;
}


/* =========================
Footer CTA
========================= */
.footer-cta {
background: #082f55;
color: #fff;
}

.footer-cta-inner {
max-width: 960px;
margin: 0 auto;
padding: 88px 40px;
text-align: center;
}

.footer-cta-label {
margin: 0 0 12px;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.16em;
color: #b99a52;
}

.footer-cta h2 {
margin: 0;
font-size: 38px;
letter-spacing: 0.08em;
}

.footer-cta p {
margin: 20px 0 34px;
font-size: 16px;
line-height: 2;
}

.footer-cta-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 220px;
height: 58px;
background: #fff;
color: #082f55;
font-size: 15px;
font-weight: 700;
letter-spacing: 0.06em;
}

/* =========================
Footer
========================= */
.footer-main {
background: #061f39;
color: #fff;
padding: 42px 40px 24px;
}

.footer-container {
max-width: 1180px;
margin: 0 auto;
display: flex;
justify-content: space-between;
gap: 40px;
}

.footer-logo {
margin: 0;
font-size: 22px;
font-weight: 700;
letter-spacing: 0.08em;
}

.footer-text {
margin: 10px 0 0;
font-size: 13px;
opacity: 0.75;
}

.footer-nav {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 20px 28px;
}

.footer-nav a {
font-size: 14px;
opacity: 0.85;
}

.footer-copy {
max-width: 1180px;
margin: 30px auto 0;
padding-top: 20px;
border-top: 1px solid rgba(255,255,255,0.15);
font-size: 12px;
opacity: 0.65;
}



/* =========================
Footer
========================= */
.site-footer {
background: #082f55;
color: #fff;
padding: 32px 40px;
}

.footer-container {
max-width: 1280px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}

.footer-logo {
margin: 0;
font-size: 18px;
font-weight: 700;
letter-spacing: 0.08em;
}

.footer-copy {
margin: 0;
font-size: 13px;
opacity: 0.8;
}

/* =========================
Responsive
========================= */
@media (max-width: 767px) {
.global-nav {
display: none;
}

.header-container {
height: 72px;
padding: 0 20px;
}

.site-logo img {
width: 44px;
}

.site-logo-main {
font-size: 18px;
}

.site-logo-sub {
font-size: 10px;
}

.header-contact-btn {
min-width: 150px;
height: 42px;
font-size: 12px;
}

.fv-inner {
display: block;
min-height: auto;
}

.fv-content {
padding: 64px 24px 48px;
}

.fv-title {
font-size: 42px;
}

.fv-buttons {
flex-direction: column;
}

.fv-btn {
width: 100%;
}

.fv-image {
min-height: 360px;
clip-path: none;
background-position: center center;
}

.fv-image::after {
right: 24px;
left: 24px;
bottom: 24px;
font-size: 14px;
}

{
padding: 64px 22px;
}

.section-heading {
margin-bottom: 32px;
}

.section-heading h2 {
font-size: 26px;
}

.section-heading p {
font-size: 14px;
}

.problem-grid,
.strength-grid,
.field-grid,
.case-grid,
.flow-grid {
grid-template-columns: 1fr;
}

.problem-card,
.strength-card,
.case-card,
.flow-card {
padding: 24px 22px;
}

.field-item {
min-height: 72px;
}


/* =========================
Company Page
========================= */
.company-page {
padding: 70px 16px;
}
.company-header {
margin-bottom: 40px;
}
.company-header h1 {
font-size: 30px;
}
.company-header p {
font-size: 14px;
}
.company-row {
grid-template-columns: 1fr;
}
.company-head {
padding: 18px 20px;
font-size: 14px;
}
.company-data {
padding: 22px 20px;
font-size: 14px;
}


	
.footer-cta-inner {
padding: 64px 22px;
}

.footer-cta h2 {
font-size: 28px;
}

.footer-main {
padding: 36px 22px 22px;
}

.footer-container {
display: block;
}

.footer-nav {
margin-top: 28px;
display: block;
}

.footer-nav li {
margin-top: 12px;
}

}